Struct schema
The variant for a struct, with known fields under properties and optionally extra keys of one type under values.- name
- Struct schema
- summary
- The variant for a struct, with known fields under properties and optionally extra keys of one type under values.
Schema definitionThe schema this document defines, for other documents to use.
Extends
| type Always the struct core type. | struct | |
| properties The fields by name: each a property with its value schema, whether it is required, and a description. | ⟨ * : ⟩ | optional |
| values Opens the struct: keys other than the named fields are allowed and their values must match this schema. | optional | |
| description What the struct is for, when it is written inline; a published schema is described by its page. | optional | |
| params Type parameters of a generic struct, each with its default schema. | ⟨ * : ⟩ | optional |
| name Legacy: a name some published schemas still carry. New schemas are named by their page. | optional |
Powered by Seed HypermediaOpen App