yaml
schema: http://schema.org/
classes:
- class: schema:Person
id: person/{id}
properties:
givenName: schema:givenName
familyName: schema:familyName
birthDate: schema:birthDate
address: schema:address
- class: schema:PostalAddress
id: postalAddress/{id}
properties:
streetAddress: schema:streetAddress
postalCode: schema:postalCode
addressLocality: schema:addressLocality
addressRegion: schema:addressRegion
addressCountry: schema:addressCountry
- class: schema:Organization
id: organization/{id}
properties:
name: schema:name
contactPoint: schema:contactPoint
<build>
<plugins>
<plugin>
<groupId>io.konig</groupId>
<artifactId>konig-yaml</artifactId>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
mvn generate-sources