SupplyPointFieldDefinitionType
One enrollment field collected for a supply point in a given market.
Fields
The selectable options for a choice field. Empty for other field types.
The field code. May be a dotted path into the stored payload, e.g. 'contracted_powers.period_1'.
The value to pre-fill when the field has no stored value.
The data type of the field.
The human-readable label for the field.
Whether the field must always be provided.
Rules describing when the field becomes required, on top of required. Empty means the field is never conditionally required.
The section grouping this field, if any.
Whether the field is populated by industry validation (AUTO) or entered by the agent (AGENT).
Rules describing when the field is shown, on top of any section rules. Empty means always shown.
Example
{
"choices": [SupplyPointFieldChoiceType],
"code": "six-establish-indicate-work-later",
"defaultValue": "partner-until-community-allow-building",
"fieldType": "STR",
"name": "no-rich-south-grow-this",
"required": true,
"requiredRules": [SupplyPointFieldRuleType],
"section": SupplyPointFieldSectionType,
"source": "AUTO",
"visibilityRules": [SupplyPointFieldRuleType]
}