Loading schema/Entity.json +15 −23 Original line number Diff line number Diff line Loading @@ -4,18 +4,6 @@ "title": "NGSI-LD Entity", "description": "NGSI-LD Entity", "definitions": { "observedAt": { "type": "string", "format": "date-time" }, "createdAt": { "type": "string", "format": "date-time" }, "modifiedAt": { "type": "string", "format": "date-time" }, "datasetId": { "type": "string", "format": "uri" Loading @@ -35,13 +23,13 @@ "type": "any" }, "observedAt": { "$ref": "#/definitions/observedAt" "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/observedAt" }, "createdAt": { "$ref": "#/definitions/createdAt" "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/createdAt" }, "modifiedAt": { "$ref": "#/definitions/modifiedAt" "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/modifiedAt" }, "datasetId": { "$ref": "#/definitions/datasetId" Loading Loading @@ -77,13 +65,13 @@ "format": "uri" }, "observedAt": { "$ref": "#/definitions/observedAt" "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/observedAt" }, "createdAt": { "$ref": "#/definitions/createdAt" "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/createdAt" }, "modifiedAt": { "$ref": "#/definitions/modifiedAt" "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/modifiedAt" }, "datasetId": { "$ref": "#/definitions/datasetId" Loading Loading @@ -117,11 +105,14 @@ "value": { "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/geometry-schema.json#" }, "observedAt": { "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/observedAt" }, "createdAt": { "$ref": "#/definitions/createdAt" "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/createdAt" }, "modifiedAt": { "$ref": "#/definitions/modifiedAt" "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/modifiedAt" }, "datasetId": { "$ref": "#/definitions/datasetId" Loading Loading @@ -154,7 +145,8 @@ }, "type": { "type": "string", "description": "NGSI Entity type" "description": "NGSI Entity type", "minLength": 1 }, "@context": { "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/LdContext" Loading @@ -169,10 +161,10 @@ "$ref": "#/definitions/GeoProperty" }, "createdAt": { "$ref": "#/definitions/createdAt" "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/createdAt" }, "modifiedAt": { "$ref": "#/definitions/modifiedAt" "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/modifiedAt" } }, "required": [ Loading schema/Subscription.json +6 −0 Original line number Diff line number Diff line Loading @@ -174,6 +174,12 @@ "type": "string" } }, "createdAt": { "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/createdAt" }, "modifiedAt": { "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/modifiedAt" }, "required": [ "id", "type" Loading schema/common.json +13 −13 Original line number Diff line number Diff line Loading @@ -4,6 +4,18 @@ "title": "NGSI-LD Common Definitions", "description": "NGSI-LD Common", "definitions": { "observedAt": { "type": "string", "format": "date-time" }, "createdAt": { "type": "string", "format": "date-time" }, "modifiedAt": { "type": "string", "format": "date-time" }, "LdContext": { "anyOf": [ { Loading @@ -30,19 +42,6 @@ } ] }, "Dates": { "type": "object", "properties": { "createdAt": { "type": "string", "format": "date-time" }, "modifiedAt": { "type": "string", "format": "date-time" } } }, "Endpoint": { "type": "object", "required": [ Loading Loading @@ -80,3 +79,4 @@ } } } } Loading
schema/Entity.json +15 −23 Original line number Diff line number Diff line Loading @@ -4,18 +4,6 @@ "title": "NGSI-LD Entity", "description": "NGSI-LD Entity", "definitions": { "observedAt": { "type": "string", "format": "date-time" }, "createdAt": { "type": "string", "format": "date-time" }, "modifiedAt": { "type": "string", "format": "date-time" }, "datasetId": { "type": "string", "format": "uri" Loading @@ -35,13 +23,13 @@ "type": "any" }, "observedAt": { "$ref": "#/definitions/observedAt" "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/observedAt" }, "createdAt": { "$ref": "#/definitions/createdAt" "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/createdAt" }, "modifiedAt": { "$ref": "#/definitions/modifiedAt" "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/modifiedAt" }, "datasetId": { "$ref": "#/definitions/datasetId" Loading Loading @@ -77,13 +65,13 @@ "format": "uri" }, "observedAt": { "$ref": "#/definitions/observedAt" "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/observedAt" }, "createdAt": { "$ref": "#/definitions/createdAt" "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/createdAt" }, "modifiedAt": { "$ref": "#/definitions/modifiedAt" "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/modifiedAt" }, "datasetId": { "$ref": "#/definitions/datasetId" Loading Loading @@ -117,11 +105,14 @@ "value": { "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/geometry-schema.json#" }, "observedAt": { "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/observedAt" }, "createdAt": { "$ref": "#/definitions/createdAt" "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/createdAt" }, "modifiedAt": { "$ref": "#/definitions/modifiedAt" "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/modifiedAt" }, "datasetId": { "$ref": "#/definitions/datasetId" Loading Loading @@ -154,7 +145,8 @@ }, "type": { "type": "string", "description": "NGSI Entity type" "description": "NGSI Entity type", "minLength": 1 }, "@context": { "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/LdContext" Loading @@ -169,10 +161,10 @@ "$ref": "#/definitions/GeoProperty" }, "createdAt": { "$ref": "#/definitions/createdAt" "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/createdAt" }, "modifiedAt": { "$ref": "#/definitions/modifiedAt" "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/modifiedAt" } }, "required": [ Loading
schema/Subscription.json +6 −0 Original line number Diff line number Diff line Loading @@ -174,6 +174,12 @@ "type": "string" } }, "createdAt": { "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/createdAt" }, "modifiedAt": { "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/modifiedAt" }, "required": [ "id", "type" Loading
schema/common.json +13 −13 Original line number Diff line number Diff line Loading @@ -4,6 +4,18 @@ "title": "NGSI-LD Common Definitions", "description": "NGSI-LD Common", "definitions": { "observedAt": { "type": "string", "format": "date-time" }, "createdAt": { "type": "string", "format": "date-time" }, "modifiedAt": { "type": "string", "format": "date-time" }, "LdContext": { "anyOf": [ { Loading @@ -30,19 +42,6 @@ } ] }, "Dates": { "type": "object", "properties": { "createdAt": { "type": "string", "format": "date-time" }, "modifiedAt": { "type": "string", "format": "date-time" } } }, "Endpoint": { "type": "object", "required": [ Loading Loading @@ -80,3 +79,4 @@ } } } }