A FieldDef describing the type of each array element. All field types are supported as array items, including discriminated unions. Arrays always use full replacement on update, so discriminated union items are serialized per-element using variant-aware logic.
OptionalnullableWhen true, the field becomes optional.
Must be "array" to indicate a list/array field.
A schema field definition for an array/list type.
The
itemsproperty describes the element type — primitives, enums, objects, or nested arrays. Inferred asArray<InferFieldDef<items>>.Example