@huukhanhnguyen/model / schema/utils
schema/utils
ArraySchema
ArraySchema = {
elements: (Dim|ArraySchema)[];type:"array"; }
Type declarations moved into schema/ (SPEC-type-declaration-law Unit D).
elements
elements: (
Dim|ArraySchema)[]
type
type:
"array"
Dim
Dim =
"length"|"area"|"volume"|"mass"|"number"|"unknown"
ObjectSchema
ObjectSchema = {
props:Record<string,Dim|ArraySchema|ObjectSchema>;type:"object"; }
props
props:
Record<string,Dim|ArraySchema|ObjectSchema>
type
type:
"object"