JsonataFunctionReturnType
Type the function returns. For primitives (string, number, boolean), the bare type is enough. For object, pair with schemaKey + schemaVersion to pin the produced shape to a schema. For array, pair with itemType to declare the element type (and add schemaKey + schemaVersion when itemType is object).
- typeType: stringenumrequired
The return type.
values- string
- number
- boolean
- object
- array
- itemType: stringenum
Type Element type when
typeisarray.values- string
- number
- boolean
- object
- schemaType: string
Key Schema key pinning the returned shape (when
typeisobject, or whentypeisarrayanditemTypeisobject). - schemaType: string
Version Version of the pinned schema (
draftor a published semver).
