Loading schema/Entity.json +60 −47 Original line number Original line Diff line number Diff line Loading @@ -20,7 +20,13 @@ "const": "Property" "const": "Property" }, }, "value": { "value": { "type": ["string","number","boolean","array","object"] "type": [ "string", "number", "boolean", "array", "object" ] }, }, "observedAt": { "observedAt": { "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/observedAt" "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/observedAt" Loading Loading @@ -135,8 +141,8 @@ } } ] ] } } } }, }, "Entity": { "type": "object", "type": "object", "properties": { "properties": { "id": { "id": { Loading Loading @@ -187,3 +193,10 @@ "pattern": "^((\\d|[a-zA-Z]|_)+(#\\d+)?)$|^(@context)$" "pattern": "^((\\d|[a-zA-Z]|_)+(#\\d+)?)$|^(@context)$" } } } } }, "allOf": [ { "$ref": "#/definitions/Entity" } ] } No newline at end of file Loading
schema/Entity.json +60 −47 Original line number Original line Diff line number Diff line Loading @@ -20,7 +20,13 @@ "const": "Property" "const": "Property" }, }, "value": { "value": { "type": ["string","number","boolean","array","object"] "type": [ "string", "number", "boolean", "array", "object" ] }, }, "observedAt": { "observedAt": { "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/observedAt" "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/observedAt" Loading Loading @@ -135,8 +141,8 @@ } } ] ] } } } }, }, "Entity": { "type": "object", "type": "object", "properties": { "properties": { "id": { "id": { Loading Loading @@ -187,3 +193,10 @@ "pattern": "^((\\d|[a-zA-Z]|_)+(#\\d+)?)$|^(@context)$" "pattern": "^((\\d|[a-zA-Z]|_)+(#\\d+)?)$|^(@context)$" } } } } }, "allOf": [ { "$ref": "#/definitions/Entity" } ] } No newline at end of file