Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
NGSI Linked Data
NGSI-LD API
Commits
59377350
Commit
59377350
authored
Nov 02, 2018
by
canterafonsj
Browse files
Next Refinement. Relationships
parent
9ae5b6c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
schema/Entity.json
View file @
59377350
...
...
@@ -50,7 +50,48 @@
"value"
],
"additionalProperties"
:
{
"$ref"
:
"#/definitions/Property"
"anyOf"
:
[
{
"$ref"
:
"#/definitions/Property"
},
{
"$ref"
:
"#/definitions/Relationship"
}
]
}
}
]
},
"Relationship"
:
{
"allOf"
:
[
{
"$ref"
:
"#/definitions/Commons"
},
{
"type"
:
"object"
,
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"const"
:
"Relationship"
},
"object"
:
{
"type"
:
"string"
,
"format"
:
"uri"
}
},
"required"
:
[
"type"
,
"object"
],
"additionalProperties"
:
{
"anyOf"
:
[
{
"$ref"
:
"#/definitions/Property"
},
{
"$ref"
:
"#/definitions/Relationship"
}
]
}
}
]
...
...
@@ -72,6 +113,13 @@
"type"
],
"additionalProperties"
:
{
"$ref"
:
"#/definitions/Property"
"anyOf"
:
[
{
"$ref"
:
"#/definitions/Property"
},
{
"$ref"
:
"#/definitions/Relationship"
}
]
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment