ManagementProjectsMetadataSchemaDefinition
Custom definition name. This is also shown in Project Settings > Metadata Schema in the Voucherify Dashboard.
Name
Type
Description
type
TypeEnum
Indicates the type of metadata. Note that `"geopoint"` type is a paid feature.
optional
Boolean
Indicates if this definition is optional or not for the resource.
array
Boolean
Indicates if the definition is an array.
deleted
Boolean
Indicates if the definition has been deleted from the schema.
objectType
String
The name of the custom resource (i.e. a nested object) if the resource has been previously defined. Otherwise, it is `null` for other types.
minLength
Integer
Value indicating the minimum length. Available only for the `string` type.
maxLength
Integer
Value indicating the maximum length. Available only for the `string` type.
exactLength
Integer
Value indicating the exact length. Available only for the `string` type.
eq
List<Object>
ne
List<BigDecimal>
Array of values that are not allowed. Available only for the `number` type.
lt
BigDecimal
A property of the `number` type must have `less than` this value. The value should be up to two decimal places.
lte
BigDecimal
A property of the `number` type must be `less than or equal` to this value. The value should be up to two decimal places.
gt
BigDecimal
A property of `number` type must be `greater than` this value. The value should be up to two decimal places.
gte
BigDecimal
A property of `number` type must be `greater than or equal` to this value. The value should be up to two decimal places.
Name
Value
STRING
"string"
NUMBER
"number"
OBJECT
"object"
DATE
"date"
DATETIME
"datetime"
GEOPOINT
"geopoint"
BOOLEAN
"boolean"
IMAGE_URL
"image_url"