Skip to content

Jurisdiction

A geographic and administrative jurisdiction (federal, state, county, etc.) that scopes a program.

A geographic or administrative unit within which a program operates. Multiple standards (ISO 3166-2, U.S. Census FIPS, U.S. Census GEOID) may be valid identifiers for the same jurisdiction; `identifiers.otherIds` carries those cross-system codes.

PropertyTypeRequiredDescription
iduuidYesThe jurisdiction's unique identifier.
namestringYesHuman-readable display name.
levelJurisdictionLevelYesThe level of this jurisdiction (country, state, etc.).
identifiersIdentifiersYesSystem and cross-system identifiers for this jurisdiction.
parentJurisdictionRefNoThe parent jurisdiction, if any. Null for country-level jurisdictions.
{
"id": "30a12e5e-5940-4c08-921c-17a8960fcf4b",
"name": "Colorado",
"level": {
"value": "state",
"description": ""
},
"identifiers": {
"systemId": "30a12e5e-5940-4c08-921c-17a8960fcf4b",
"otherIds": {
"iso_3166_2": {
"registry": "iso_3166_2",
"value": "US-CO",
"description": "ISO 3166-2 subdivision code"
},
"us_census_fips": {
"registry": "us_census_fips",
"value": "08",
"description": "U.S. Census 2-digit state FIPS code"
}
}
},
"parent": {
"id": "40a12e5e-5940-4c08-921c-17a8960fcf4b",
"name": "United States"
}
}

The level of a jurisdiction, modeled as an extensible enum so implementations can supply custom levels via the `description` field.

PropertyTypeRequiredDescription
valueJurisdictionLevelOptionsYesThe selected value, typed to `T`.
customValuestringNoCaller-defined value when `value` is the `custom` option (or otherwise does not fit a predefined option in `T`).
descriptionstringNoHuman-readable description or annotation for the value.
{
"value": "country",
"customValue": "string",
"description": "string"
}

Predefined set of jurisdiction levels.

ValueDescription
countryA nation-state.
stateA first-level subdivision of a country (e.g., U.S. state, Canadian province).
countyA second-level subdivision (e.g., U.S. county).
municipalA city, town, or other municipality.
tribalA tribal nation or tribal area.
customA caller-defined jurisdiction level.
"country"

A denormalized reference to a jurisdiction. Carries enough information to display without a separate lookup. Used for parent references and embedded jurisdiction references on other models.

PropertyTypeRequiredDescription
iduuidYesThe jurisdiction's unique identifier.
namestringYesHuman-readable display name.
{
"id": "30a12e5e-5940-4c08-921c-17a8960fcf4b",
"name": "string"
}