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
Commits
bd422d3d
Commit
bd422d3d
authored
Nov 21, 2018
by
canterafonsj
Browse files
Context Source Registrations
parent
739463e4
Changes
2
Hide whitespace changes
Inline
Side-by-side
examples/ContextSourceRegistrationList-example.json
0 → 100644
View file @
bd422d3d
[{
"id"
:
"urn:ngsi-ld:ContextSourceRegistration:csr1a3456"
,
"type"
:
"ContextSourceRegistration"
,
"information"
:
[
{
"entities"
:
[
{
"id"
:
"urn:ngsi-ld:Vehicle:A456"
,
"type"
:
"Vehicle"
}
],
"properties"
:
[
"brandName"
,
"speed"
],
"relationships"
:
[
"isParked"
]
},
{
"entities"
:
[
{
"idPattern"
:
".*downtown$"
,
"type"
:
"OffStreetParking"
},
{
"idPattern"
:
".*47$"
,
"type"
:
"OffStreetParking"
}
],
"properties"
:
[
"availableSpotNumber"
,
"totalSpotNumber"
],
"relationships"
:
[
"isNextToBuilding"
]
}
],
"endpoint"
:
"http://my.csource.org:1026"
,
"location"
:
{
"type"
:
"Polygon"
,
"coordinates"
:
[
[
[
100.0
,
0.0
],
[
101.0
,
0.0
],
[
101.0
,
1.0
],
[
100.0
,
1.0
],
[
100.0
,
0.0
]
]
]
},
"timestamp"
:
[{
"start"
:
"2017-11-29T14:53:15Z"
}],
"@context"
:
[
"https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/coreContext/ngsi-ld-core-context.json"
,
"http://example.org/cim/commonTerms.jsonld"
,
"http://example.org/cim/vehicle.jsonld"
,
"http://example.org/cim/parking.jsonld"
]
}]
spec/updated/csource-registrations-spec.json
View file @
bd422d3d
...
...
@@ -15,7 +15,34 @@
"operationId"
:
"queryCsources"
,
"parameters"
:
[
{
"$ref"
:
"#/components/parameters/limit"
"$ref"
:
"https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities-spec.json#/components/parameters/id"
},
{
"$ref"
:
"https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities-spec.json#/components/parameters/idPattern"
},
{
"$ref"
:
"https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities-spec.json#/components/parameters/type"
},
{
"$ref"
:
"https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities-spec.json#/components/parameters/attrs"
},
{
"$ref"
:
"https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities-spec.json#/components/parameters/q"
},
{
"$ref"
:
"https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities-spec.json#/components/parameters/georel"
},
{
"$ref"
:
"https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities-spec.json#/components/parameters/geometry"
},
{
"$ref"
:
"https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities-spec.json#/components/parameters/coordinates"
},
{
"$ref"
:
"https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities-spec.json#/components/parameters/geoproperty"
},
{
"$ref"
:
"https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities-spec.json#/components/parameters/limit"
}
],
"responses"
:
{
...
...
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