The following is an example of a District Field:
{
"districtFieldId": 999,
"name": "State House",
"parentFieldId": 888,
"isCustomDistrict": false,
"districtFieldValues": [
{
"id": "10",
"name": "Jackson County District 10",
"parentId": "1234"
},
{
"id": "11",
"name": "Jackson County District 11",
"parentId": "1234"
},
{
"id": "12",
"name": "Jackson County District 12",
"parentId": "1234"
},
{
"id": "20",
"name": "Jefferson County District 20",
"parentId": "2345"
}
]
}
District Field
Each District Field has the following properties:
Property | Type | Description |
---|---|---|
| int | Read-only; Unique identifier for a District Field |
| string | A name for this District Field |
| int | Unique identifier for the District Field’s parent, or null if no such parent exists |
| bool | Indicates whether the field is a custom district ( |
| array | List of valid District Field Values for this district |
District Field Value
Each District Field Value has the following properties:
Property | Type | Description |
---|---|---|
| string | Read-only; Unique identifier for the District Field Value |
| string | A name for this District Field Value |
| string | Unique identifier for the District Field Value’s parent, or null if no such parent exists (because the District Field Value lacks a parent) |