NodeSchema
NodeSchema =
ObjectFieldRequiredValidationSchema&object
JSON-schema-like description of a node type’s editable properties.
Drives three things at runtime:
- Validation — values are checked against this shape; failures bubble
into
NodeData.properties.errorsfor UI display. - Rendering — JsonForms uses the schema (combined with an optional UISchema) to render the property panel.
- Type inference —
NodeDataProperties<MySchema>extracts a precise TypeScript type for a node’sproperties.
Type Declaration
Section titled “Type Declaration”allOf?
Section titled “allOf?”
optionalallOf?:IfThenElseSchema[]
properties
Section titled “properties”properties:
NodePropertiesSchema