The jurisdiction resource does not support any URL parameter or filter besides format selection and language negotiation.
Example of the XML and JSON representations of the jurisdiction resource
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<open511
xml:lang="en"
xml:base="http://my.city.gov/open511"
version="v1"
>
<jurisdictions>
<jurisdiction>
<link rel="self" href="/api/jurisdictions/my.city.gov/" />
<id>my.city.gov</id>
<name>My City</name>
<email>mayor@my.city.gov</email>
<phone>+1 555-555-0000</phone>
<description>Official traffic data (construction) from My City</description>
<link rel="description" href="http://my.city.gov/open511/presentation.html" />
<timezone>America/New_York</timezone>
<link rel="geography" href="/jurisdictions/my.city.gov/geography/"/>
<link rel="license" href="http://my.city.gov/opendatalicense/"/>
<languages>
<language>fr</language>
<language>en</language>
</languages>
</jurisdiction>
</jurisdictions>
</open511>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
"jurisdictions": [
{
"id": "my.city.gov",
"name": "My City",
"url": "/api/jurisdictions/my.city.gov/",
"description": "Official traffic data (construction) from My City",
"description_url": "http://my.city.gov/open511/presentation.html",
"geography_url": "/jurisdictions/my.city.gov/geography/",
"languages": [
"fr",
"en"
],
"phone": "+1 555-555-0000",
"license_url": "http://my.city.gov/opendatalicense/",
"timezone": "America/New_York",
"email": "mayor@my.city.gov"
}
],
"meta": {
"version": "v1"
}
}
The jurisdiction follows the formatting guidelines of an individual item.
Field | Type | Description |
---|