Skip to content

Commit e090681

Browse files
authored
Merge pull request #874 from bGrass/main
Fixing broken links in data-types markdown document
2 parents 3a71f44 + bf23269 commit e090681

2 files changed

Lines changed: 11 additions & 13 deletions

File tree

data-types.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This MDS data types page catalogs the objects (fields, types, requirements, desc
99
- [Propulsion Types](#propulsion-types)
1010
- [Vehicle Status](#vehicle-status)
1111
- [Events](#events)
12-
- [Event Types](#event-times)
12+
- [Event Times](#event-times)
1313
- [Telemetry](#telemetry)
1414
- [GPS Data][gps]
1515
- [Stops](#stops)
@@ -108,7 +108,7 @@ Events represent changes in vehicle status.
108108
| `event_types` | Enum[] | Required | Vehicle [event types][vehicle-events] for state change, with allowable values determined by `vehicle_state` |
109109
| `timestamp` | [Timestamp][ts] | Required | Date/time that event occurred at. See [Event Times][event-times] |
110110
| `publication_time` | [Timestamp][ts] | Optional | Date/time that event became available through the status changes endpoint |
111-
| `location` | [GPS][gps] | Required | See also [Stop-based Geographic Data][stop-based-geo]. |
111+
| `location` | [GPS][gps] | Required | See also [Telemetry][telemetry]. |
112112
| `event_geographies` | UUID[] | Optional | **[Beta feature](/general-information.md#beta-features):** *Yes (as of 2.0.0)*. Array of Geography UUIDs consisting of every Geography that contains the location of the status change. See [Geography Driven Events][geography-driven-events]. Required if `location` is not present. |
113113
| `battery_percent` | Integer | Required if Applicable | Percent battery charge of vehicle, expressed between 0 and 100 |
114114
| `fuel_percent` | Integer | Required if Applicable | Percent fuel in vehicle, expressed between 0 and 100 |
@@ -251,7 +251,7 @@ A Report is defined by the following structure:
251251
| `duration` | string | Value is always `P1M` for monthly. Based on [ISO 8601 duration](https://en.wikipedia.org/wiki/ISO_8601#Durations) |
252252
| `special_group_type` | [Special Group Type](#special-group-type) | Type that applies to this row |
253253
| `geography_id` | [Geography](/geography) | ID that applies to this row. Includes all IDs in /geography. When there is no /geography then return `null` for this value and return counts based on the entire operating area. |
254-
| `vehicle_type` | [Vehicle Type](/general-information.md#vehicle-types) | Type that applies to this row |
254+
| `vehicle_type` | [Vehicle Type][vehicle-types] | Type that applies to this row |
255255
| `trip_count` | integer | Count of trips taken for this row |
256256
| `rider_count` | integer | Count of unique riders for this row |
257257

@@ -294,18 +294,18 @@ Other special group types may be added in future MDS releases as relevant agency
294294
[Top][toc]
295295

296296
[costs-and-currencies]: /general-information.md#costs-and-currencies
297-
[event-times]: /general-information.md#event-times
297+
[event-times]: #event-times
298298
[gbfs-station-info]: https://github.com/NABSA/gbfs/blob/master/gbfs.md#station_informationjson
299299
[gbfs-station-status]: https://github.com/NABSA/gbfs/blob/master/gbfs.md#station_statusjson
300300
[geography-driven-events]: /general-information.md#geography-driven-events
301301
[gps]: #gps-data
302302
[iso4217]: https://en.wikipedia.org/wiki/ISO_4217#Active_codes
303303
[modes]: /modes/README.md
304-
[propulsion-types]: /general-information.md#propulsion-types
305-
[stop-based-geo]: #stop-based-geographic-data
304+
[propulsion-types]: #propulsion-types
306305
[stops]: #stops
306+
[telemetry]: #telemetry
307307
[toc]: #table-of-contents
308308
[ts]: /general-information.md#timestamps
309-
[vehicle-states]: /modes#vehicle-states
310-
[vehicle-events]: /modes#event-types
311-
[vehicle-types]: /general-information.md#vehicle-types
309+
[vehicle-states]: /general-information.md#vehicle-states
310+
[vehicle-events]: /general-information.md#event-types
311+
[vehicle-types]: #vehicle-types

provider/README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ See [Responses][responses], [Bulk Responses][bulk-responses], and [schema][schem
287287

288288
## Trips
289289

290-
A [trip][trips-general-info] represents a journey taken by a *mobility as a service* customer with a geo-tagged start and stop point.
290+
A [trip][trips] represents a journey taken by a *mobility as a service* customer with a geo-tagged start and stop point.
291291

292292
The trips endpoint allows a user to query historical trip data.
293293

@@ -455,7 +455,7 @@ See [Responses][responses], [Bulk Responses][bulk-responses], and [schema][schem
455455

456456
The `/events/recent` endpoint is a near-realtime feed of events less than two weeks old.
457457

458-
See also [Stop-based Geographic Data][stop-based-geo].
458+
See also [Telemetry][telemetry].
459459

460460
**Endpoint:** `/events/recent`
461461
**Method:** `GET`
@@ -588,12 +588,10 @@ See [Provider examples](examples.md#reports).
588588
[responses]: /general-information.md#responses
589589
[schema]: /schema/
590590
[stops]: /data-types.md#stops
591-
[stop-based-geo]: /general-information.md#stop-based-geographic-data
592591
[telemetry]: /data-types.md#telemetry
593592
[telemetry---query-parameters]: #telemetry-query-parameters
594593
[toc]: #table-of-contents
595594
[trips]: /data-types.md#trips
596-
[trips-general-info]: /general-information.md#stop-based-geographic-data
597595
[ts]: /general-information.md#timestamps
598596
[vehicles]: /data-types.md#vehicles
599597
[vehicle-types]: /data-types.md#vehicle-types

0 commit comments

Comments
 (0)