-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b5d755b
commit 47dda36
Showing
1 changed file
with
54 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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." | ||
} |