Skip to content

Commit

Permalink
updated $schema last version
Browse files Browse the repository at this point in the history
  • Loading branch information
albertoabellagarcia committed Sep 18, 2024
1 parent b5d755b commit 47dda36
Showing 1 changed file with 54 additions and 54 deletions.
108 changes: 54 additions & 54 deletions NetRelation/schema.json
Original file line number Diff line number Diff line change
@@ -1,59 +1,59 @@
{
"$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/NetRelation",
"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/NetRelation",
"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": [
"NetRelation"
],
"description": "Property. NGSI data type. It has to be NetRelation"
},
{
"$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons"
"elementA": {
"type": "string",
"format": "uri",
"description": "Relationship. Element A"
},
{
"properties": {
"type": {
"type": "string",
"enum": [
"NetRelation"
],
"description": "Property. NGSI data type. It has to be NetRelation"
},
"elementA": {
"type": "string",
"format": "uri",
"description": "Relationship. Element A"
},
"elementB": {
"type": "string",
"format": "uri",
"description": "Relationship. Element B"
},
"navigability": {
"type": "string",
"format": "uri",
"description": "Relationship. Navigability"
},
"positionOnA": {
"type": "string",
"format": "uri",
"description": "Relationship. Position on A"
},
"positionOnB": {
"type": "string",
"format": "uri",
"description": "Relationship. Position on B"
}
}
"elementB": {
"type": "string",
"format": "uri",
"description": "Relationship. Element B"
},
"navigability": {
"type": "string",
"format": "uri",
"description": "Relationship. Navigability"
},
"positionOnA": {
"type": "string",
"format": "uri",
"description": "Relationship. Position on A"
},
"positionOnB": {
"type": "string",
"format": "uri",
"description": "Relationship. Position on B"
}
],
"required": [
"id",
"type"
],
"title": "NetRelation + mapped from ERA ontology by Smart Data Models",
"description": "Base class for defining edges in the connectivity graph representing the topological network."
}
}
],
"required": [
"id",
"type"
],
"title": "NetRelation + mapped from ERA ontology by Smart Data Models",
"description": "Base class for defining edges in the connectivity graph representing the topological network."
}

0 comments on commit 47dda36

Please sign in to comment.