Skip to content

Commit

Permalink
updated $schema last version
Browse files Browse the repository at this point in the history
  • Loading branch information
albertoabellagarcia committed Sep 17, 2024
1 parent d3b60a3 commit 3c62450
Showing 1 changed file with 53 additions and 53 deletions.
106 changes: 53 additions & 53 deletions GtfsAgency/schema.json
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"
]
}

0 comments on commit 3c62450

Please sign in to comment.