Commit bdd192b7 authored by canterafonsj's avatar canterafonsj
Browse files

Update Entity.json

parent bed52483
...@@ -4,6 +4,31 @@ ...@@ -4,6 +4,31 @@
"title": "NGSI-LD Entity", "title": "NGSI-LD Entity",
"description": "NGSI-LD Entity", "description": "NGSI-LD Entity",
"definitions": { "definitions": {
"LdContext": {
"anyOf": [
{
"type": "object"
},
{
"type": "string",
"format": "uri"
},
{
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"format": "uri"
},
{
"type": "object"
}
]
}
}
]
},
"Commons": { "Commons": {
"type": "object", "type": "object",
"properties": { "properties": {
...@@ -139,6 +164,9 @@ ...@@ -139,6 +164,9 @@
"type": { "type": {
"type": "string", "type": "string",
"description": "NGSI Entity type" "description": "NGSI Entity type"
},
"@context": {
"$ref": "#/definitions/LdContext"
} }
}, },
"required": [ "required": [
...@@ -158,4 +186,4 @@ ...@@ -158,4 +186,4 @@
} }
] ]
} }
} }
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment