diff --git a/OperationalPoint/schema.json b/OperationalPoint/schema.json index a668156..994c766 100644 --- a/OperationalPoint/schema.json +++ b/OperationalPoint/schema.json @@ -1,95 +1,95 @@ { - "$schema": "http://json-schema.org/schema#", - "$schemaVersion": "0.0.1", - "$id": "https://smart-data-models.github.io/dataModel.ERA/Certificate/schema.json", - "modelTags": "ERA vocabulary, railway, train", - "license": "https://smart-data-models.github.io/dataModel.ERA/Certificate/LICENSE.md", - "derivedFrom": "http://data.europa.eu/949/OperationalPoint", - "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.1", + "$id": "https://smart-data-models.github.io/dataModel.ERA/Certificate/schema.json", + "modelTags": "ERA vocabulary, railway, train", + "license": "https://smart-data-models.github.io/dataModel.ERA/Certificate/LICENSE.md", + "derivedFrom": "http://data.europa.eu/949/OperationalPoint", + "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": { + "type": { + "type": "string", + "enum": [ + "OperationalPoint" + ], + "description": "Property. NGSI data type. It has to be OperationalPoint" }, - { - "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons" + "digitalSchematicOverview": { + "type": "string", + "description": "Property. Digital schematic overview" }, - { - "properties": { - "type": { - "type": "string", - "enum": [ - "OperationalPoint" - ], - "description": "Property. NGSI data type. It has to be OperationalPoint" - }, - "digitalSchematicOverview": { - "type": "string", - "description": "Property. Digital schematic overview" - }, - "hasSchematicOverviewOPDigitalForm": { - "type": "boolean", - "description": "Property. Has schematic overview in digital form" - }, - "localRulesOrRestrictions": { - "type": "boolean", - "description": "Property. Existence of rules and restrictions of a strictly local nature." - }, - "localRulesOrRestrictionsDoc": { - "type": "string", - "description": "Property. Documents regarding the rules or restrictions of a strictly local nature available by the IM" - }, - "opName": { - "type": "string", - "description": "Property. Name of Operational point" - }, - "opTypeGaugeChangeover": { - "type": "string", - "description": "Property. Type of track gauge changeover facility" - }, - "schematicOverviewOP": { - "type": "string", - "description": "Property. Schematic overview of the operational point" - }, - "tafTAPCode": { - "type": "string", - "description": "Property. Primary location code developed for information exchange in accordance with the TSIs relating to telematics applications." - }, - "uopid": { - "type": "string", - "description": "Property. Unique OP ID" - }, - "borderPointOf": { - "type": "string", - "format": "uri", - "description": "Relationship. Border point of" - }, - "opInfoPerCountry": { - "type": "string", - "format": "uri", - "description": "Relationship. Border point information per country" - }, - "opType": { - "type": "string", - "format": "uri", - "description": "Relationship. Type of operational point" - }, - "siding": { - "type": "string", - "format": "uri", - "description": "Relationship. Siding" - }, - "track": { - "type": "string", - "format": "uri", - "description": "Relationship. Track" - } - } + "hasSchematicOverviewOPDigitalForm": { + "type": "boolean", + "description": "Property. Has schematic overview in digital form" + }, + "localRulesOrRestrictions": { + "type": "boolean", + "description": "Property. Existence of rules and restrictions of a strictly local nature." + }, + "localRulesOrRestrictionsDoc": { + "type": "string", + "description": "Property. Documents regarding the rules or restrictions of a strictly local nature available by the IM" + }, + "opName": { + "type": "string", + "description": "Property. Name of Operational point" + }, + "opTypeGaugeChangeover": { + "type": "string", + "description": "Property. Type of track gauge changeover facility" + }, + "schematicOverviewOP": { + "type": "string", + "description": "Property. Schematic overview of the operational point" + }, + "tafTAPCode": { + "type": "string", + "description": "Property. Primary location code developed for information exchange in accordance with the TSIs relating to telematics applications." + }, + "uopid": { + "type": "string", + "description": "Property. Unique OP ID" + }, + "borderPointOf": { + "type": "string", + "format": "uri", + "description": "Relationship. Border point of" + }, + "opInfoPerCountry": { + "type": "string", + "format": "uri", + "description": "Relationship. Border point information per country" + }, + "opType": { + "type": "string", + "format": "uri", + "description": "Relationship. Type of operational point" + }, + "siding": { + "type": "string", + "format": "uri", + "description": "Relationship. Siding" + }, + "track": { + "type": "string", + "format": "uri", + "description": "Relationship. Track" } - ], - "required": [ - "id", - "type" - ], - "title": "OperationalPoint + mapped from ERA ontology by Smart Data Models", - "description": "An operational point (OP) means any location for train service operations, where train services may begin and end or change route, and where passenger or freight services may be provided; operational point also means any location at boundaries between Member States or infrastructure managers.\nIn https://eur-lex.europa.eu/eli/reg_impl/2019/773/oj 2.1.2 Principal locations (stations, yards, junctions, freight terminals)." + } + } + ], + "required": [ + "id", + "type" + ], + "title": "OperationalPoint + mapped from ERA ontology by Smart Data Models", + "description": "An operational point (OP) means any location for train service operations, where train services may begin and end or change route, and where passenger or freight services may be provided; operational point also means any location at boundaries between Member States or infrastructure managers.\nIn https://eur-lex.europa.eu/eli/reg_impl/2019/773/oj 2.1.2 Principal locations (stations, yards, junctions, freight terminals)." } \ No newline at end of file