Structured
Nested objects and arrays built from child fields. See all field types and the options every field takes.
json
Nested object, or array of objects, built from child fields. JSON and YAML nest it; other formats write compact JSON.
| Parameter | Values | Default | Description |
|---|---|---|---|
fields |
list of fields | — | Required. Child fields, with the same syntax and rules as top-level fields. Catalog types are not allowed here. |
mode |
object, array |
object |
object, or array for a list of objects. |
minItems |
integer | 1 |
Minimum array length when mode is array. |
maxItems |
integer | 1 |
Maximum array length when mode is array. |
Also takes the common options.
- name: address
type: json
fields:
- { name: street, type: text, category: street }
- { name: number, type: integer, min: 1, max: 9999 }