@@ -29,23 +29,14 @@ curl -s -o /dev/null -X POST \
2929 "location": {"type": "GeoProperty", "value": {"type": "Point", "coordinates": [13.3986, 52.5547]}
3030 },
3131 "name": {"type": "Property", "value": "Bösebrücke Einkauf"},
32- "furniture":[
33- {
34- "type": "Relationship",
35- "datasetId": "urn:ngsi-ld:Relationship:1",
36- "object": "urn:ngsi-ld:Shelf:unit001"
37- },
38- {
39- "type": "Relationship",
40- "datasetId": "urn:ngsi-ld:Relationship:2",
41- "object": "urn:ngsi-ld:Shelf:unit002"
42- },
43- {
44- "type": "Relationship",
45- "datasetId": "urn:ngsi-ld:Relationship:3",
46- "object": "urn:ngsi-ld:Shelf:unit003"
47- }
48- ],
32+ "furniture": {
33+ "type": "Relationship",
34+ "object": [
35+ "urn:ngsi-ld:Shelf:unit001",
36+ "urn:ngsi-ld:Shelf:unit002",
37+ "urn:ngsi-ld:Shelf:unit003"
38+ ]
39+ },
4940 "@context": "' " ${TUTORIAL_DATA_MODELS_CONTEXT} " ' "
5041}'
5142
@@ -67,18 +58,14 @@ curl -s -o /dev/null -X POST \
6758 "location": {"type": "GeoProperty", "value": {"type": "Point", "coordinates": [13.3903,52.5075]}
6859 },
6960 "name": {"type": "Property", "value": "Checkpoint Markt"},
70- "furniture":[
71- {
72- "type": "Relationship",
73- "datasetId": "urn:ngsi-ld:Relationship:1",
74- "object": "urn:ngsi-ld:Shelf:unit004"
75- },
76- {
77- "type": "Relationship",
78- "datasetId": "urn:ngsi-ld:Relationship:2",
79- "object": "urn:ngsi-ld:Shelf:unit005"
80- }
81- ],
61+ "furniture": {
62+ "type": "Relationship",
63+ "object": [
64+ "urn:ngsi-ld:Shelf:unit001",
65+ "urn:ngsi-ld:Shelf:unit002",
66+ "urn:ngsi-ld:Shelf:unit003"
67+ ]
68+ },
8269 "@context": "' " ${TUTORIAL_DATA_MODELS_CONTEXT} " ' "
8370}'
8471
@@ -97,23 +84,14 @@ curl -s -o /dev/null -X POST \
9784 "location": {"type": "GeoProperty", "value": {"type": "Point", "coordinates": [13.4447,52.5031]}
9885 },
9986 "name": {"type": "Property", "value": "East Side Galleria"},
100- "furniture":[
101- {
102- "type": "Relationship",
103- "datasetId": "urn:ngsi-ld:Relationship:1",
104- "object": "urn:ngsi-ld:Shelf:unit006"
105- },
106- {
107- "type": "Relationship",
108- "datasetId": "urn:ngsi-ld:Relationship:2",
109- "object": "urn:ngsi-ld:Shelf:unit007"
110- },
111- {
112- "type": "Relationship",
113- "datasetId": "urn:ngsi-ld:Relationship:3",
114- "object": "urn:ngsi-ld:Shelf:unit008"
115- }
116- ],
87+ "furniture": {
88+ "type": "Relationship",
89+ "object": [
90+ "urn:ngsi-ld:Shelf:unit006",
91+ "urn:ngsi-ld:Shelf:unit007",
92+ "urn:ngsi-ld:Shelf:unit008"
93+ ]
94+ }
11795 "@context": "' " ${TUTORIAL_DATA_MODELS_CONTEXT} " ' "
11896}'
11997
0 commit comments