diff --git a/schema/Entity.json b/schema/Entity.json index 44550743f68947ca4dbb8d4914405af579f32166..5567693413296f95b4d0db3efab7a70c6e42c4f5 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": {