Example: Address
A postal address: street and city (required) plus an optional postal code.

Extends · closed

street
Street address line, including the house number.
city
City or town name.
postalCode
Postal or ZIP code, if any.
optional

A postal address. It is a struct of three strings: street and city are required, and postalCode is optional. person includes it as home.

This page describes the example/address 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

    person: includes an address.

    geo: another small struct.

    Struct: named fields, required or optional.

    Examples: every example, grouped by feature.

Do you like what you are reading? Subscribe to receive updates.

Unsubscribe anytime