From 3a50d8c33329cf5b35d5c63e72f70f0cec59bdfc Mon Sep 17 00:00:00 2001 From: Alberto Abella Date: Wed, 18 Sep 2024 15:22:03 +0200 Subject: [PATCH] updated $schema last version --- Tunnel/schema.json | 214 ++++++++++++++++++++++----------------------- 1 file changed, 107 insertions(+), 107 deletions(-) diff --git a/Tunnel/schema.json b/Tunnel/schema.json index 8e40d74..a105752 100644 --- a/Tunnel/schema.json +++ b/Tunnel/schema.json @@ -1,110 +1,110 @@ { - "$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/Tunnel", - "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": [ - "Tunnel" - ], - "description": "Property. NGSI data type. It has to be Tunnel" - }, - "complianceInfTsi": { - "type": "boolean", - "description": "Property. Compliance of the tunnel with INF TSI" - }, - "crossSectionArea": { - "type": "integer", - "description": "Property. Cross section area" - }, - "demonstrationSRT": { - "type": "string", - "description": "Property. EI declaration of demonstration for tunnel (SRT)" - }, - "dieselThermalAllowed": { - "type": "boolean", - "description": "Property. Diesel or other thermal traction allowed" - }, - "hasEmergencyPlan": { - "type": "boolean", - "description": "Property. Existence of emergency plan" - }, - "hasEvacuationAndRescuePoints": { - "type": "boolean", - "description": "Property. Existence of evacuation and rescue points" - }, - "hasWalkway": { - "type": "boolean", - "description": "Property. Existence of walkways" - }, - "nationalRollingStockFireCategory": { - "type": "string", - "description": "Property. National fire category of rolling stock required" - }, - "tunnelDocRef": { - "type": "string", - "description": "Property. Reference to a document available from the IM with precise description of the tunnel" - }, - "tunnelIdentification": { - "type": "string", - "description": "Property. Tunnel identification" - }, - "tunnelKilometerEnd": { - "type": "number", - "description": "Property. Tunnel kilometer end" - }, - "tunnelKilometerStart": { - "type": "number", - "description": "Property. Tunnel kilometer start" - }, - "verificationSRT": { - "type": "string", - "description": "Property. EC declaration of verification for tunnel (SRT)" - }, - "endLocation": { - "type": [ - "geosparql#Geometry", - "wgs84_pos#Point" - ], - "description": "Relationship. End of tunnel" - }, - "rollingStockFireCategory": { - "type": "string", - "format": "uri", - "description": "Relationship. Fire category of rolling stock required" - }, - "specialTunnelArea": { - "type": "string", - "format": "uri", - "description": "Relationship. Special tunnel area" - }, - "startLocation": { - "type": [ - "geosparql#Geometry", - "wgs84_pos#Point" - ], - "description": "Relationship. Start of tunnel" - } - } + "$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/Tunnel", + "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": [ + "Tunnel" + ], + "description": "Property. NGSI data type. It has to be Tunnel" + }, + "complianceInfTsi": { + "type": "boolean", + "description": "Property. Compliance of the tunnel with INF TSI" + }, + "crossSectionArea": { + "type": "integer", + "description": "Property. Cross section area" + }, + "demonstrationSRT": { + "type": "string", + "description": "Property. EI declaration of demonstration for tunnel (SRT)" + }, + "dieselThermalAllowed": { + "type": "boolean", + "description": "Property. Diesel or other thermal traction allowed" + }, + "hasEmergencyPlan": { + "type": "boolean", + "description": "Property. Existence of emergency plan" + }, + "hasEvacuationAndRescuePoints": { + "type": "boolean", + "description": "Property. Existence of evacuation and rescue points" + }, + "hasWalkway": { + "type": "boolean", + "description": "Property. Existence of walkways" + }, + "nationalRollingStockFireCategory": { + "type": "string", + "description": "Property. National fire category of rolling stock required" + }, + "tunnelDocRef": { + "type": "string", + "description": "Property. Reference to a document available from the IM with precise description of the tunnel" + }, + "tunnelIdentification": { + "type": "string", + "description": "Property. Tunnel identification" + }, + "tunnelKilometerEnd": { + "type": "number", + "description": "Property. Tunnel kilometer end" + }, + "tunnelKilometerStart": { + "type": "number", + "description": "Property. Tunnel kilometer start" + }, + "verificationSRT": { + "type": "string", + "description": "Property. EC declaration of verification for tunnel (SRT)" + }, + "endLocation": { + "type": [ + "geosparql#Geometry", + "wgs84_pos#Point" + ], + "description": "Relationship. End of tunnel" + }, + "rollingStockFireCategory": { + "type": "string", + "format": "uri", + "description": "Relationship. Fire category of rolling stock required" + }, + "specialTunnelArea": { + "type": "string", + "format": "uri", + "description": "Relationship. Special tunnel area" + }, + "startLocation": { + "type": [ + "geosparql#Geometry", + "wgs84_pos#Point" + ], + "description": "Relationship. Start of tunnel" } - ], - "required": [ - "id", - "type" - ], - "title": "Tunnel + mapped from ERA ontology by Smart Data Models", - "description": "A railway tunnel is an excavation or a construction around the track provided to allow the railway to pass for example higher land, buildings or water." + } + } + ], + "required": [ + "id", + "type" + ], + "title": "Tunnel + mapped from ERA ontology by Smart Data Models", + "description": "A railway tunnel is an excavation or a construction around the track provided to allow the railway to pass for example higher land, buildings or water." } \ No newline at end of file