Commit 26a96226 authored by canterafonsj's avatar canterafonsj

JSON Schemas now have

parent 459cb34f
{ {
"$schema": "http://json-schema.org/schema#", "$schema": "http://json-schema.org/schema#",
"id": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/BatchOperationResult.json", "$id": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/BatchOperationResult.json",
"title": "NGSI-LD Batch Operation Result", "title": "NGSI-LD Batch Operation Result",
"description": "NGSI-LD Batch Operation Result", "description": "NGSI-LD Batch Operation Result",
"definitions": { "definitions": {
......
...@@ -157,7 +157,7 @@ ...@@ -157,7 +157,7 @@
"operationSpace": { "operationSpace": {
"$ref": "#/definitions/GeoProperty" "$ref": "#/definitions/GeoProperty"
}, },
"id": { "$id": {
"type": "string", "type": "string",
"format": "uri" "format": "uri"
}, },
......
{ {
"$schema": "http://json-schema.org/schema#", "$schema": "http://json-schema.org/schema#",
"id": "https://uri.etsi.org/ngsi-ld/schema/EntityList.json", "$id": "https://uri.etsi.org/ngsi-ld/schema/EntityList.json",
"title": "NGSI-LD EntityList", "title": "NGSI-LD EntityList",
"description": "NGSI-LD EntityList", "description": "NGSI-LD EntityList",
"definitions": { "definitions": {
......
{ {
"$schema": "http://json-schema.org/schema#", "$schema": "http://json-schema.org/schema#",
"id": "https://uri.etsi.org/ngsi-ld/schema/Entity_keyValues.json", "$id": "https://uri.etsi.org/ngsi-ld/schema/Entity_keyValues.json",
"title": "NGSI-LD Entity Key Values", "title": "NGSI-LD Entity Key Values",
"description": "NGSI-LD Entity Simplified Representation", "description": "NGSI-LD Entity Simplified Representation",
"type": "object", "type": "object",
"properties": { "properties": {
"id": { "$id": {
"type": "string", "type": "string",
"format": "uri" "format": "uri"
}, },
......
{ {
"$schema": "http://json-schema.org/schema#", "$schema": "http://json-schema.org/schema#",
"id": "https://uri.etsi.org/ngsi-ld/schema/UpdateResult.json", "$id": "https://uri.etsi.org/ngsi-ld/schema/UpdateResult.json",
"title": "NGSI-LD Update Result", "title": "NGSI-LD Update Result",
"description": "NGSI-LD Update Result", "description": "NGSI-LD Update Result",
"definitions": { "definitions": {
......
{ {
"$schema": "http://json-schema.org/schema#", "$schema": "http://json-schema.org/schema#",
"id": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json", "$id": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json",
"title": "NGSI-LD Common Definitions", "title": "NGSI-LD Common Definitions",
"description": "NGSI-LD Common", "description": "NGSI-LD Common",
"definitions": { "definitions": {
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
"EntityInfo": { "EntityInfo": {
"type": "object", "type": "object",
"properties": { "properties": {
"id": { "$id": {
"type": "string", "type": "string",
"format": "uri" "format": "uri"
}, },
......
{ {
"$schema": "http://json-schema.org/draft-04/schema#", "$schema": "http://json-schema.org/draft-04/schema#",
"id": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/geometry-schema.json", "$id": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/geometry-schema.json",
"title": "geometry", "title": "geometry",
"description": "One geometry as defined by GeoJSON. Licensed as per original source is https://github.com/fge/sample-json-schemas/blob/master/geojson/geometry.json", "description": "One geometry as defined by GeoJSON. Licensed as per original source is https://github.com/fge/sample-json-schemas/blob/master/geojson/geometry.json",
"type": "object", "type": "object",
......
{ {
"$schema": "http://json-schema.org/schema#", "$schema": "http://json-schema.org/schema#",
"id": "https://uri.etsi.org/ngsi-ld/schema/ContextSourceNotification.json", "$id": "https://uri.etsi.org/ngsi-ld/schema/ContextSourceNotification.json",
"title": "NGSI-LD Context Source Notification", "title": "NGSI-LD Context Source Notification",
"description": "NGSI-LD Context Source Notification", "description": "NGSI-LD Context Source Notification",
"type": "object", "type": "object",
"properties": { "properties": {
"id": { "$id": {
"type": "string", "type": "string",
"format": "uri" "format": "uri"
}, },
......
{ {
"$schema": "http://json-schema.org/schema#", "$schema": "http://json-schema.org/schema#",
"id": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/registrations/ContextSourceRegistration.json", "$id": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/registrations/ContextSourceRegistration.json",
"title": "NGSI-LD Context Source Registration", "title": "NGSI-LD Context Source Registration",
"description": "NGSI-LD Context Source Registration", "description": "NGSI-LD Context Source Registration",
"definitions": { "definitions": {
...@@ -116,7 +116,7 @@ ...@@ -116,7 +116,7 @@
{ {
"type": "object", "type": "object",
"properties": { "properties": {
"id": { "$id": {
"type": "string", "type": "string",
"format": "uri" "format": "uri"
}, },
......
{ {
"$schema": "http://json-schema.org/schema#", "$schema": "http://json-schema.org/schema#",
"id": "https://uri.etsi.org/ngsi-ld/schema/ContextSourceRegistrationList.json", "$id": "https://uri.etsi.org/ngsi-ld/schema/ContextSourceRegistrationList.json",
"title": "NGSI-LD Registration List", "title": "NGSI-LD Registration List",
"description": "NGSI-LD Registration List", "description": "NGSI-LD Registration List",
"definitions": { "definitions": {
......
{ {
"$schema": "http://json-schema.org/schema#", "$schema": "http://json-schema.org/schema#",
"id": "https://uri.etsi.org/ngsi-ld/schema/Notification.json", "$id": "https://uri.etsi.org/ngsi-ld/schema/Notification.json",
"title": "NGSI-LD Notification", "title": "NGSI-LD Notification",
"description": "NGSI-LD Notification", "description": "NGSI-LD Notification",
"type": "object", "type": "object",
"properties": { "properties": {
"id": { "$id": {
"type": "string", "type": "string",
"format": "uri" "format": "uri"
}, },
......
{ {
"$schema": "http://json-schema.org/schema#", "$schema": "http://json-schema.org/schema#",
"id": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/subscriptions/Subscription.json", "$id": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/subscriptions/Subscription.json",
"title": "NGSI-LD Subscription", "title": "NGSI-LD Subscription",
"description": "NGSI-LD Subscription", "description": "NGSI-LD Subscription",
"definitions": { "definitions": {
...@@ -132,7 +132,7 @@ ...@@ -132,7 +132,7 @@
{ {
"type": "object", "type": "object",
"properties": { "properties": {
"id": { "$id": {
"type": "string", "type": "string",
"format": "uri" "format": "uri"
}, },
......
{ {
"$schema": "http://json-schema.org/schema#", "$schema": "http://json-schema.org/schema#",
"id": "https://uri.etsi.org/ngsi-ld/schema/SubscriptionList.json", "$id": "https://uri.etsi.org/ngsi-ld/schema/SubscriptionList.json",
"title": "NGSI-LD Subscription List", "title": "NGSI-LD Subscription List",
"description": "NGSI-LD Subscription List", "description": "NGSI-LD Subscription List",
"definitions": { "definitions": {
......
{ {
"$schema": "http://json-schema.org/schema#", "$schema": "http://json-schema.org/schema#",
"id": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/temporal/EntityTemporal.json", "$id": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/temporal/EntityTemporal.json",
"title": "NGSI-LD Entity", "title": "NGSI-LD Entity",
"description": "NGSI-LD Temporal Representation of an Entity", "description": "NGSI-LD Temporal Representation of an Entity",
"definitions": { "definitions": {
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
}, },
"minItems": 1 "minItems": 1
}, },
"id": { "$id": {
"type": "string", "type": "string",
"format": "uri" "format": "uri"
}, },
......
{ {
"$schema": "http://json-schema.org/schema#", "$schema": "http://json-schema.org/schema#",
"id": "https://uri.etsi.org/ngsi-ld/schema/temporal/EntityTemporalList.json", "$id": "https://uri.etsi.org/ngsi-ld/schema/temporal/EntityTemporalList.json",
"title": "NGSI-LD Entity", "title": "NGSI-LD Entity",
"description": "NGSI-LD Temporal Representation List", "description": "NGSI-LD Temporal Representation List",
"definitions": { "definitions": {
......
{ {
"$schema": "http://json-schema.org/schema#", "$schema": "http://json-schema.org/schema#",
"id": "https://uri.etsi.org/ngsi-ld/schema/Entity_temporalValues.json", "$id": "https://uri.etsi.org/ngsi-ld/schema/Entity_temporalValues.json",
"title": "NGSI-LD Entity Temporal Values", "title": "NGSI-LD Entity Temporal Values",
"description": "NGSI-LD Simplified Temporal Representation of Entities", "description": "NGSI-LD Simplified Temporal Representation of Entities",
"definitions": { "definitions": {
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
}, },
"type": "object", "type": "object",
"properties": { "properties": {
"id": { "$id": {
"type": "string", "type": "string",
"format": "uri" "format": "uri"
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment