Loading schema/Subscription.json +27 −6 Original line number Diff line number Diff line Loading @@ -11,8 +11,10 @@ "type": "array", "minItems": 1, "items": { "type": "string" } "type": "string", "minLength": 1 }, "uniqueItems": true }, "format": { "type": "string" Loading Loading @@ -140,7 +142,8 @@ "type": "array", "minItems": 1, "items": { "type": "string" "type": "string", "minLength": 1 }, "uniqueItems": true }, Loading Loading @@ -180,8 +183,26 @@ "modifiedAt": { "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/modifiedAt" }, "allOf": [ { "required": [ "id", "type" ] }, { "anyOf": [ { "required": [ "entities" ] }, { "required": [ "watchedAttributes" ] } ] } ] } schema/common.json +2 −1 Original line number Diff line number Diff line Loading @@ -76,7 +76,8 @@ "type": "string", "format": "regex" } } }, "required": ["type"] } } } Loading
schema/Subscription.json +27 −6 Original line number Diff line number Diff line Loading @@ -11,8 +11,10 @@ "type": "array", "minItems": 1, "items": { "type": "string" } "type": "string", "minLength": 1 }, "uniqueItems": true }, "format": { "type": "string" Loading Loading @@ -140,7 +142,8 @@ "type": "array", "minItems": 1, "items": { "type": "string" "type": "string", "minLength": 1 }, "uniqueItems": true }, Loading Loading @@ -180,8 +183,26 @@ "modifiedAt": { "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/modifiedAt" }, "allOf": [ { "required": [ "id", "type" ] }, { "anyOf": [ { "required": [ "entities" ] }, { "required": [ "watchedAttributes" ] } ] } ] }
schema/common.json +2 −1 Original line number Diff line number Diff line Loading @@ -76,7 +76,8 @@ "type": "string", "format": "regex" } } }, "required": ["type"] } } }