Skip to content

Commit 3aa36de

Browse files
author
Alexis Lefebvre
committed
Explain that “Person” inherits from “Thing” and that “PostalAddress” inherits
from 4 parents
1 parent 7e296b4 commit 3aa36de

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

schema-generator/getting-started.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,12 @@ The Schema Generator can also [be downloaded independently as a PHAR](https://gi
1515
Start by browsing [Schema.org](https://schema.org) and pick types applicable to your application. The website provides
1616
tons of schemas including (but not limited to) representations of people, organization, event, postal address, creative
1717
work and e-commerce structures.
18-
Then, write a simple YAML config file like the following (here we will generate a data model for an address book):
18+
Then, write a simple YAML config file like the following.
19+
20+
Here we will generate a data model for an address book with these data:
21+
22+
- a [`Person`](http://schema.org/Person) which inherits from [`Thing`](http://schema.org/Thing)
23+
- a [`PostalAddress`](http://schema.org/PostalAddress) which inherits from [`ContactPoint`](http://schema.org/ContactPoint), which inherits from [`StructuredValue`](http://schema.org/StructuredValue), etc.
1924

2025
```yaml
2126
# api/config/schema.yaml

0 commit comments

Comments
 (0)