Loading schema/Entity.json +32 −20 Original line number Original line Diff line number Diff line Loading @@ -142,16 +142,9 @@ ] ] } } }, }, "Entity": { "EntityFragment": { "type": "object", "type": "object", "properties": { "properties": { "id": { "type": "string", "format": "uri" }, "type": { "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/Name" }, "@context": { "@context": { "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/LdContext" "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/LdContext" }, }, Loading @@ -163,12 +156,6 @@ }, }, "operationSpace": { "operationSpace": { "$ref": "#/definitions/GeoProperty" "$ref": "#/definitions/GeoProperty" }, "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": [ "required": [ Loading @@ -192,6 +179,31 @@ "type": "string", "type": "string", "pattern": "^((\\d|[a-zA-Z]|_)+(#\\d+)?)$|^(@context)$" "pattern": "^((\\d|[a-zA-Z]|_)+(#\\d+)?)$|^(@context)$" } } }, "Entity": { "allOf": [ { "type": "object", "properties": { "id": { "type": "string", "format": "uri" }, "type": { "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/Name" }, "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" } } }, { "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/Entity.json#/definitions/EntityFragment" } ] } } }, }, "allOf": [ "allOf": [ Loading Loading
schema/Entity.json +32 −20 Original line number Original line Diff line number Diff line Loading @@ -142,16 +142,9 @@ ] ] } } }, }, "Entity": { "EntityFragment": { "type": "object", "type": "object", "properties": { "properties": { "id": { "type": "string", "format": "uri" }, "type": { "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/Name" }, "@context": { "@context": { "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/LdContext" "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/LdContext" }, }, Loading @@ -163,12 +156,6 @@ }, }, "operationSpace": { "operationSpace": { "$ref": "#/definitions/GeoProperty" "$ref": "#/definitions/GeoProperty" }, "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": [ "required": [ Loading @@ -192,6 +179,31 @@ "type": "string", "type": "string", "pattern": "^((\\d|[a-zA-Z]|_)+(#\\d+)?)$|^(@context)$" "pattern": "^((\\d|[a-zA-Z]|_)+(#\\d+)?)$|^(@context)$" } } }, "Entity": { "allOf": [ { "type": "object", "properties": { "id": { "type": "string", "format": "uri" }, "type": { "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/Name" }, "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" } } }, { "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/Entity.json#/definitions/EntityFragment" } ] } } }, }, "allOf": [ "allOf": [ Loading