TAB_CONDITIONALFIELD Class
Conditional Field.
Defines validation rules for entity attributes based on state, type, and agency.
Properties
CF_ATTRIBUTE
Varchar(100)Target attribute.
The attribute name that this rule applies to (e.g., reference, startDate, weighting).
CF_CONDITION
JsonCondition settings in JSON format.
Contains the conditions and criteria for this rule:
states: Array of state IDs (empty = all states)typesOf: Array of type IDs (empty = all types)agencies: Array of agency IDs (empty = all agencies)criteria.level:requiredorrecommendedcriteria.min: Minimum value (optional, for numeric fields)
Example:
{"states":[1,2],"typesOf":[],"agencies":[123],"criteria":{"level":"required","min":0}}