-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d3b60a3
commit 3c62450
Showing
1 changed file
with
53 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,58 +1,58 @@ | ||
{ | ||
"$schema": "http://json-schema.org/schema#", | ||
"$schemaVersion": "0.0.2", | ||
"modelTags": "", | ||
"$id": "https://smart-data-models.github.io/dataModels.UrbanMobility/GtfsAgency/schema.json", | ||
"title": "Smart Data Models. GTFS Schema - Agency", | ||
"description": "GTFS Agency", | ||
"type": "object", | ||
"allOf": [ | ||
{ | ||
"$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons" | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"$schemaVersion": "0.0.2", | ||
"modelTags": "", | ||
"$id": "https://smart-data-models.github.io/dataModels.UrbanMobility/GtfsAgency/schema.json", | ||
"title": "Smart Data Models. GTFS Schema - Agency", | ||
"description": "GTFS Agency", | ||
"type": "object", | ||
"allOf": [ | ||
{ | ||
"$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons" | ||
}, | ||
{ | ||
"$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons/properties/address" | ||
}, | ||
{ | ||
"properties": { | ||
"type": { | ||
"type": "string", | ||
"enum": [ | ||
"GtfsAgency" | ||
], | ||
"description": "Property. NGSI Entity Type: It has to be GtfsAgency. Enum:'GtfsAgency'" | ||
}, | ||
{ | ||
"$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons/properties/address" | ||
"entitySource": { | ||
"type": "string", | ||
"format": "uri", | ||
"description": "Property. A sequence of characters giving the original source of the Entity data as a URL. It shall point to the URL of the original GTFS feed used to generate this Entity. Model:'https://schema.org/URL'" | ||
}, | ||
{ | ||
"properties": { | ||
"type": { | ||
"type": "string", | ||
"enum": [ | ||
"GtfsAgency" | ||
], | ||
"description": "Property. NGSI Entity Type: It has to be GtfsAgency. Enum:'GtfsAgency'" | ||
}, | ||
"entitySource": { | ||
"type": "string", | ||
"format": "uri", | ||
"description": "Property. A sequence of characters giving the original source of the Entity data as a URL. It shall point to the URL of the original GTFS feed used to generate this Entity. Model:'https://schema.org/URL'" | ||
}, | ||
"agencyName": { | ||
"type": "string", | ||
"description": "Property. Same as GTFS `agency_name`. Model:'https://schema.org/Text'" | ||
}, | ||
"page": { | ||
"$ref": "https://smart-data-models.github.io/dataModel.UrbanMobility/gtfs-schema.json#/definitions/GTFS-Stop-Commons/properties/page" | ||
}, | ||
"phone": { | ||
"type": "string", | ||
"description": "Property. Same as GFTS `agency_phone`. Model:'https://schema.org/Text'" | ||
}, | ||
"timezone": { | ||
"type": "string", | ||
"description": "Property. Same as GTFS `agency_timezone`. Model:'https://schema.org/Text'. See [GTFS](https://developers.google.com/transit/gtfs/reference/#agencytxt)" | ||
}, | ||
"language": { | ||
"type": "string", | ||
"description": "Property. Same as GTFS `agency_language`. Model:'https://schema.org/Text'. See [GTFS](https://developers.google.com/transit/gtfs/reference/#agencytxt)" | ||
} | ||
} | ||
"agencyName": { | ||
"type": "string", | ||
"description": "Property. Same as GTFS `agency_name`. Model:'https://schema.org/Text'" | ||
}, | ||
"page": { | ||
"$ref": "https://smart-data-models.github.io/dataModel.UrbanMobility/gtfs-schema.json#/definitions/GTFS-Stop-Commons/properties/page" | ||
}, | ||
"phone": { | ||
"type": "string", | ||
"description": "Property. Same as GFTS `agency_phone`. Model:'https://schema.org/Text'" | ||
}, | ||
"timezone": { | ||
"type": "string", | ||
"description": "Property. Same as GTFS `agency_timezone`. Model:'https://schema.org/Text'. See [GTFS](https://developers.google.com/transit/gtfs/reference/#agencytxt)" | ||
}, | ||
"language": { | ||
"type": "string", | ||
"description": "Property. Same as GTFS `agency_language`. Model:'https://schema.org/Text'. See [GTFS](https://developers.google.com/transit/gtfs/reference/#agencytxt)" | ||
} | ||
], | ||
"required": [ | ||
"id", | ||
"type", | ||
"agencyName", | ||
"source" | ||
] | ||
} | ||
} | ||
], | ||
"required": [ | ||
"id", | ||
"type", | ||
"agencyName", | ||
"source" | ||
] | ||
} |