Loading schema/Entity.json +15 −6 Original line number Diff line number Diff line Loading @@ -109,7 +109,7 @@ "const": "GeoProperty" }, "value": { "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/geometry-schema.json" "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/geometry-schema.json#" }, "observedAt": { "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/observedAt" Loading Loading @@ -142,7 +142,7 @@ ] } }, "Entity": { "EntityFragment": { "type": "object", "properties": { "@context": { Loading Loading @@ -171,10 +171,6 @@ "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/modifiedAt" } }, "required": [ "id", "type" ], "additionalProperties": { "anyOf": [ { Loading @@ -191,6 +187,19 @@ "propertyNames": { "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/PropertyNames" } }, "Entity": { "allOf": [ { "required": [ "id", "type" ] }, { "$ref": "#/definitions/EntityFragment" } ] } }, "allOf": [ Loading Loading
schema/Entity.json +15 −6 Original line number Diff line number Diff line Loading @@ -109,7 +109,7 @@ "const": "GeoProperty" }, "value": { "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/geometry-schema.json" "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/geometry-schema.json#" }, "observedAt": { "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/observedAt" Loading Loading @@ -142,7 +142,7 @@ ] } }, "Entity": { "EntityFragment": { "type": "object", "properties": { "@context": { Loading Loading @@ -171,10 +171,6 @@ "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/modifiedAt" } }, "required": [ "id", "type" ], "additionalProperties": { "anyOf": [ { Loading @@ -191,6 +187,19 @@ "propertyNames": { "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/PropertyNames" } }, "Entity": { "allOf": [ { "required": [ "id", "type" ] }, { "$ref": "#/definitions/EntityFragment" } ] } }, "allOf": [ Loading