[Index]

Model: relation/ValidationRules

Validation Rule relation

Model Details: relation/ValidationRules

Title Description Details
Model Name
  • Field Name: modelName
  • Type: String
Operation
  • Field Name: operation
  • Type: String
  • Choices: ["Create", "Update"]
Description
  • Field Name: description
  • Type: String
Refresh Data Refresh data instances prior to applying validation rules. This ensures current data is evaluated.
  • Field Name: refreshModels.[n]
  • Type: Array
Model Name
  • Field Name: refreshModels.[n].modelName
  • Type: String
Find Attribute The attribute in the target model to match.
  • Field Name: refreshModels.[n].attribute
  • Type: String
Find Value The value of the attribute in the target model to match.
  • Field Name: refreshModels.[n].value
  • Type: String
Rules
  • Field Name: rules.[n]
  • Type: Array
Attribute
  • Field Name: rules.[n].attribute
  • Type: String
Rule Macro that evaluates to true when required condition is met
  • Field Name: rules.[n].rule
  • Type: String
  • Choices: ["Required", "Lower Case Only", "Upper Case Only", "Less Than 32 Characters", "Less Than 50 Characters", "Custom - enter macro"]
Message
  • Field Name: rules.[n].message
  • Type: String
Macro Evaluation Hierarchy Optional macro to provide a hierarchy at which to evaluate the rule. If unset, the execution hierarchy will be used.
  • Field Name: rules.[n].hierarchy
  • Type: String
No Instance
  • Field Name: noInstance
  • Type: Object
Name *
  • Field Name: noInstance.name
  • Type: String
  • MaxLength: 1024