Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 2.27 KB

MetadataSchemaDefinitionDeprecated.md

File metadata and controls

42 lines (30 loc) · 2.27 KB

MetadataSchemaDefinitionDeprecated

Custom definition name. This is also shown in Project Settings > Metadata Schema in the Voucherify Dashboard.

Properties

Name Type Description
type TypeEnum
array Boolean Indicates whether the definition is an array.
optional Boolean Indicates whether this definition is optional or not optional for the resource.
objectType String Returns the name of the custom resource if the resource was previously defined in the Dashboard as a custom (non-standard) Nested object.
eq List<Object> Array of possible values when the setting for `is equal to any of` in the Dashboard is defined explicitly.
ne List<Object> Array of values that are not allowed when the setting for `is not equal to any of` in the Dashboard is defined explicitly.
lt Integer A property of `number` type must have `less than` this value.
lte Integer A property of `number` type must be `less than or equal` to this value.
gt Integer A property of `number` type must be `greater than` this value.
gte Integer A property of `number` type must be `greater than or equal` to this value.
deleted Boolean Indicates whether the definition was deleted from the schema.
maxLength Integer Value for maximum length when the setting for `has maximum length of` in the Dashboard is defined explicitly.
minLength Integer Value indicating minimum length when the setting for `has minimum length of` in the Dashboard is defined explicitly.
exactLength Integer Value indicating exact length when the setting for `has exact length of` in the Dashboard is defined explicitly.

Enum: TypeEnum

Name Value
STRING "string"
NUMBER "number"
OBJECT "object"
DATE "date"
DATETIME "datetime"
GEOPOINT "geopoint"
BOOLEAN "boolean"
IMAGE_URL "image_url"