Closed Map
A struct schema with `properties` and no `values`, so keys outside `properties` are rejected.Closed map: a struct schema with properties and no values. Keys outside properties are rejected. Structs are closed by default, and that is what lets the meta-schema reject malformed schemas. Add values to open the map.
See also
Struct schema: properties and the optional values.
Map schema: arbitrary keys with one value type.
Property: one named field.
Variant: every variant is a closed map.
Do you like what you are reading? Subscribe to receive updates.
Unsubscribe anytime
Powered by Seed HypermediaOpen App