Example: Person Document
A document type for a person: an attributes schema requiring a surname with an optional given name, bound per page or to every child of a folder.Extends · closed
| surname The person's family name. | ||
| givenName The person's given (first) name. | optional |
A document type for a person: an attributes schema that requires a surname and allows an optional givenName. A page whose attributesSchema names this document must carry a surname. A folder whose childAttributesSchema names it types every page beneath it.
This page describes the example/person-doc 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
Typed documents: attributesSchema and childAttributesSchema.
person: the struct version of a person.
World Builder: more document types.
Examples: every example, grouped by feature.
Do you like what you are reading? Subscribe to receive updates.
Unsubscribe anytime
Powered by Seed HypermediaOpen App