Skip to content
Draft
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ Contains the JSON schemas used to validate the feeds in the integration tests.
| features | Array of Enums | Optional | An array of features which can be any of: <ul><li>`occupancy`</li></ul> |
| status | Enum | Optional | Describes status of the feed. Should be one of: <ul><li>`active`: The feed service is current.</li><li>`deprecated`: Feed is explicitly deprecated and should not be used in public trip planners.</li><li>`inactive`: Feed hasn't been recently updated and should be used at risk of providing outdated information.</li><li>`development`: Feed is being used for development purposes and should not be used in public trip planners.</li></ul>Feed is assumed to be `active` if status is not explicitly provided.| |
| is_official | Enum | Optional | Flag indicating if the source comes from the agency itself or not. <ul><li>`True`: Feed comes from the agency as an authorized source.</li><li>`False`: Feed is created by researchers or partners unaffiliated with the agency or municipality.</li></ul>Feed's is_official flag is assumed to be `False` if it is not explicitly provided.|
| is_producer_url_unstable | Enum | Optional | Indicates whether the feed's producer URL is stable and unchanging over time. <ul><li>`False`: Producer URL is stable and unchanging over time.</li><li>`True`: Producer URL is unstable and changes over time. This may be indicated from a timestamp in the URL, website documentation, or other information that indicates this URL changes more than twice a year.</li><li>`null`: There is not enough information to describe the stability of the producer URL.</li></ul> |
|redirect| Object | Optional | When a feed is deprecated by a provider and replaced with a new URL, redirect information is provided to point to the new feed.|
| - id | String | Optional | New feed ID that replaces the current feed that is out of date or no longer maintained by the provider. |
| - comment | String | Optional | comment to explain redirect if needed (e.g new aggregate feed) |
Expand Down
5 changes: 5 additions & 0 deletions schemas/gtfs_realtime_source_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,11 @@
"type": "string",
"description": "True if a feed comes directly from the agency, False if a feed is created by researchers or partners unaffiliated with the agency or municipality.",
"enum": ["True", "False"]
},
"is_producer_url_unstable": {
"type": ["string", "null"],
"description": "True if the producer URL is known to be unstable (e.g. changes frequently), False otherwise.",
"enum": [null, "True", "False"]
}
},
"required": ["mdb_source_id", "data_type", "entity_type", "provider", "urls"]
Expand Down
Loading
Loading