From ff187933184f0d62fef486132cfecb93f4b46444 Mon Sep 17 00:00:00 2001 From: canterafonsj Date: Thu, 5 Sep 2019 09:45:23 +0200 Subject: [PATCH] Update Entity.json --- schema/Entity.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/schema/Entity.json b/schema/Entity.json index 4455074..5567693 100644 --- a/schema/Entity.json +++ b/schema/Entity.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/schema#", - "id": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/Entity.json", + "$id": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/Entity.json", "title": "NGSI-LD Entity", "description": "NGSI-LD Entity", "definitions": { @@ -186,7 +186,7 @@ }, "propertyNames": { "type": "string", - "pattern": "^((\\d|[a-zA-Z]|_)+(#\\d+)?)$|^(@context)$" + "pattern": "^(((\\d|[a-zA-Z]|_)+(:((\\d|[a-zA-Z]|_))+)?(#\\d+)?)$|^(@context)$" } }, "Entity": { -- 2.18.1