Skip to content

Commit 5fedd72

Browse files
authored
Links to general policy schema
1 parent d278eac commit 5fedd72

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

policy/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ Authorization is not required. An agency may decide to make this endpoint unauth
120120

121121
**Endpoint**: `/policies/{id}`
122122
**Method**: `GET`
123-
**Schema:** [`policy` schema](#policy)
123+
**Schema:** [`policy` schema][json-schema]
124124
**`data` Payload**: `{ "policies": [] }`, an array of objects with the structure [outlined below](#policy).
125125

126126
#### Query Parameters
@@ -143,7 +143,7 @@ Policies will be returned in order of effective date (see schema below), with pa
143143

144144
**Endpoint**: `/geographies/{id}`
145145
**Method**: `GET`
146-
**Schema:** [`geography` schema](#geography)
146+
**Schema:** [`policy` schema][json-schema]
147147
**`data` Payload**: `{ geographies: [] }`, an array of GeoJSON `Feature` objects that follow the schema [outlined here](#geography) or in [Geography](/geography#general-information).
148148

149149
#### Query Parameters
@@ -159,7 +159,7 @@ Policies will be returned in order of effective date (see schema below), with pa
159159
**Endpoint**: `/requirements/`
160160
**Method**: `GET`
161161
**[Beta feature](/general-information.md#beta-features)**: *Yes (as of 1.2.0)*. [Leave feedback](https://github.com/openmobilityfoundation/mobility-data-specification/issues/682)
162-
**Schema:** [`requirement` schema](#requirement)
162+
**Schema:** TBD when out of beta
163163
**`data` Payload**: `{ requirements: [] }`, JSON objects that follow the schema [outlined here](#requirement).
164164

165165
See [Policy Requirements Examples](/policy/examples/requirements.md) for how this can be implemented.
@@ -704,6 +704,7 @@ You may also show which APIs, endpoints, and fields your agency is serving to pr
704704
[beta]: /general-information.md#beta
705705
[error-messages]: /general-information.md#error-messages
706706
[iana]: https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml
707+
[json-schema]: #json-schema
707708
[muni-boundary]: ../provider/README.md#municipality-boundary
708709
[propulsion-types]: /general-information.md#propulsion-types
709710
[responses]: /general-information.md#responses

0 commit comments

Comments
 (0)