From 1ccde6a8025ea72307afdcf2ee581103f732df1d Mon Sep 17 00:00:00 2001 From: canterafonsj Date: Tue, 18 Dec 2018 12:15:44 +0100 Subject: [PATCH] Required moved to the right place --- schema/Entity.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/schema/Entity.json b/schema/Entity.json index 022e2e4..7b7fb4f 100644 --- a/schema/Entity.json +++ b/schema/Entity.json @@ -158,10 +158,6 @@ "$ref": "#/definitions/GeoProperty" } }, - "required": [ - "id", - "type" - ], "additionalProperties": { "anyOf": [ { @@ -198,7 +194,11 @@ "modifiedAt": { "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/modifiedAt" } - } + }, + "required": [ + "id", + "type" + ] }, { "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/Entity.json#/definitions/EntityFragment" -- GitLab