diff --git a/PhaseInfo/schema.json b/PhaseInfo/schema.json index bd84101..2d8b2e2 100644 --- a/PhaseInfo/schema.json +++ b/PhaseInfo/schema.json @@ -1,54 +1,54 @@ { - "$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/PhaseInfo", - "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/PhaseInfo", + "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": [ + "PhaseInfo" + ], + "description": "Property. NGSI data type. It has to be PhaseInfo" }, - { - "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons" + "phaseInfoKm": { + "type": "number", + "description": "Property. Phase info Km" }, - { - "properties": { - "type": { - "type": "string", - "enum": [ - "PhaseInfo" - ], - "description": "Property. NGSI data type. It has to be PhaseInfo" - }, - "phaseInfoKm": { - "type": "number", - "description": "Property. Phase info Km" - }, - "phaseInfoLength": { - "type": "integer", - "description": "Property. Phase info length" - }, - "phaseInfoPantographLowered": { - "type": "boolean", - "description": "Property. Phase info pantograph lowered" - }, - "phaseInfoSwitchOffBreaker": { - "type": "boolean", - "description": "Property. Phase info switch off breaker" - }, - "systemSeparationInfoKm": { - "type": "number", - "description": "Property. System separation info Km" - } - } + "phaseInfoLength": { + "type": "integer", + "description": "Property. Phase info length" + }, + "phaseInfoPantographLowered": { + "type": "boolean", + "description": "Property. Phase info pantograph lowered" + }, + "phaseInfoSwitchOffBreaker": { + "type": "boolean", + "description": "Property. Phase info switch off breaker" + }, + "systemSeparationInfoKm": { + "type": "number", + "description": "Property. System separation info Km" } - ], - "required": [ - "id", - "type" - ], - "title": "PhaseInfo + mapped from ERA ontology by Smart Data Models", - "description": "Indication of required several information on phase separation." + } + } + ], + "required": [ + "id", + "type" + ], + "title": "PhaseInfo + mapped from ERA ontology by Smart Data Models", + "description": "Indication of required several information on phase separation." } \ No newline at end of file