{ "$schema": "http://json-schema.org/schema#", "$schemaVersion": "0.0.1", "$id": "https://smart-data-models.github.io/dataModel.UrbanMobility/GtfsStop/schema.json", "title": "Smart Data Models. GTFS Schema", "description": "GTFS Stop", "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" }, { "$ref": "https://smart-data-models.github.io/dataModel.UrbanMobility/gtfs-schema.json#/definitions/GTFS-Stop-Commons" }, { "properties": { "type": { "type": "string", "enum": [ "GtfsStop" ], "description": "Property. NGSI Entity type. It has to be GtfsStop" }, "operatedBy": { "type": "array", "description": "Relationship. Model:'https://schema.org/URL'. Agency that operates this stop. List of Relationships. They shall point to an Entity of Type GtfsAgency", "items": { "anyOf": [ { "type": "string", "minLength": 1, "maxLength": 256, "pattern": "^[\\w\\-\\.\\{\\}\\$\\+\\*\\[\\]`|~^@!,:\\\\]+$", "description": "Property. Identifier format of any NGSI entity" }, { "type": "string", "format": "uri", "description": "Property. Identifier format of any NGSI entity" } ] }, "minItems": 0, "uniqueItems": true } } } ], "required": [ "id", "type", "name", "location" ] }