Example: Person
A person with a name, age, active flag, home address, and nicknames.Extends · closed
| name The person's name. | ||
| age Age in years. | optional | |
| active Whether the person is currently active. | optional | |
| home Home postal address. | optional | |
| nicknames Other names the person goes by. | of | optional |
A person: a required name, an integer age, a boolean active flag, a home that includes address, and a list of nicknames. employee extends it, and alice and carol are instances.
This page describes the example/person type, one of the example schemas. The formal schema is attached as the schemaDefinition in this page's metadata, so the app can show it and create values of this type.
See also
address: the included home type.
employee: extends person.
alice: an instance.
person-doc: a person as a document type.
Examples: every example, grouped by feature.
Do you like what you are reading? Subscribe to receive updates.
Unsubscribe anytime
Powered by Seed HypermediaOpen App