From 8b3166a7885d3b112b2b9e22585932e005ab576e Mon Sep 17 00:00:00 2001 From: Alberto Abella Date: Wed, 18 Sep 2024 15:21:12 +0200 Subject: [PATCH] updated $schema last version --- Feature/schema.json | 74 ++++++++++++++++++++++----------------------- 1 file changed, 37 insertions(+), 37 deletions(-) diff --git a/Feature/schema.json b/Feature/schema.json index 1a75d57..75a7269 100644 --- a/Feature/schema.json +++ b/Feature/schema.json @@ -1,42 +1,42 @@ { - "$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/Feature", - "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/Feature", + "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": [ + "Feature" + ], + "description": "Property. NGSI data type. It has to be Feature" }, - { - "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons" + "currentlyValid": { + "type": "boolean", + "description": "Property. Currently valid" }, - { - "properties": { - "type": { - "type": "string", - "enum": [ - "Feature" - ], - "description": "Property. NGSI data type. It has to be Feature" - }, - "currentlyValid": { - "type": "boolean", - "description": "Property. Currently valid" - }, - "length": { - "type": "number", - "description": "Property. Length" - } - } + "length": { + "type": "number", + "description": "Property. Length" } - ], - "required": [ - "id", - "type" - ], - "title": "Feature + mapped from ERA ontology by Smart Data Models", - "description": "Class that encompasses the features that are part of the physical infrastructure (class InfrastructureObject) and the topological objects (class TopologicalObject). It is a subclass of the geographical Feature class that has a spatial representation." + } + } + ], + "required": [ + "id", + "type" + ], + "title": "Feature + mapped from ERA ontology by Smart Data Models", + "description": "Class that encompasses the features that are part of the physical infrastructure (class InfrastructureObject) and the topological objects (class TopologicalObject). It is a subclass of the geographical Feature class that has a spatial representation." } \ No newline at end of file