FieldNode
One field of a definition, with the fields inside it, as the builder's getFieldTree() and getLayout() give it.
Definition
FieldNodefieldJsonField: the field as the definition has ittypestring: its field type, like'text'roleFieldRole: how a renderer shows itkindValueKind: the kind of its value, or'none'for a display elementitemKindValueKind | undefined: the kind of the items, for kindarraydataPathreadonly (string | number)[]: where the value is, with'*'for each list indexdefinitionPathDefinitionPath: where the field is in the definition. Uniquechildrenreadonly FieldNode[]: the fields of a group, or of one item of a list
FieldRole
ts
type FieldRole = 'value' | 'group' | 'array' | 'display'A value field has an input, a group or an array holds fields, and a display element, like a heading, has no value.