Skip to content

FieldDefinitionParentField

Properties

Name Type Description
propertyId string Name of parent field property
value string Value of parent field property
operator string Operator which is used to check the value defined in ParentFieldPropertyId. If operator is not defined or wrong operator provided then 'equal' operator is used by default. Supported operators: 'equal' - (default) current value must be equal to ParentFieldValue property; 'notnullorempty' - can be applied on string and arrays and check that array/string contains value(s)
type string Type of parent field property. Explicit definition is useful only when type is multiselect or checksum.
model string Parent model which should be used for validation. Supported types: OrderItem, Customer, Stay. Example: when validating travelers -> OrderItem or Customer properties can be used in parent fields.