From b5d755b074b79c4564e8d2f956fa98c257834df8 Mon Sep 17 00:00:00 2001 From: Alberto Abella Date: Wed, 18 Sep 2024 15:21:33 +0200 Subject: [PATCH] updated $schema last version --- NetElement/schema.json | 94 +++++++++++++++++++++--------------------- 1 file changed, 47 insertions(+), 47 deletions(-) diff --git a/NetElement/schema.json b/NetElement/schema.json index 13dec45..f0a6e10 100644 --- a/NetElement/schema.json +++ b/NetElement/schema.json @@ -1,52 +1,52 @@ { - "$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/NetElement", - "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/NetElement", + "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": [ + "NetElement" + ], + "description": "Property. NGSI data type. It has to be NetElement" }, - { - "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons" + "endIntrinsicCoordinate": { + "type": "number", + "description": "Property. End intrinsic coordinate" }, - { - "properties": { - "type": { - "type": "string", - "enum": [ - "NetElement" - ], - "description": "Property. NGSI data type. It has to be NetElement" - }, - "endIntrinsicCoordinate": { - "type": "number", - "description": "Property. End intrinsic coordinate" - }, - "startIntrinsicCoordinate": { - "type": "number", - "description": "Property. Start intrinsic coordinate" - }, - "elementPart": { - "type": "string", - "format": "uri", - "description": "Relationship. Element part" - }, - "hasImplementation": { - "type": "string", - "format": "uri", - "description": "Relationship. Has implementation" - } - } + "startIntrinsicCoordinate": { + "type": "number", + "description": "Property. Start intrinsic coordinate" + }, + "elementPart": { + "type": "string", + "format": "uri", + "description": "Relationship. Element part" + }, + "hasImplementation": { + "type": "string", + "format": "uri", + "description": "Relationship. Has implementation" } - ], - "required": [ - "id", - "type" - ], - "title": "NetElement + mapped from ERA ontology by Smart Data Models", - "description": "Base class for defining nodes in the connectivity graph representing the topological network." + } + } + ], + "required": [ + "id", + "type" + ], + "title": "NetElement + mapped from ERA ontology by Smart Data Models", + "description": "Base class for defining nodes in the connectivity graph representing the topological network." } \ No newline at end of file