Skip to content

Commit fdb199d

Browse files
committed
Switching to user-context
1 parent 6cd38d1 commit fdb199d

8 files changed

Lines changed: 323 additions & 231 deletions

File tree

NGSI-LD Concise Format.postman_collection.json

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"header": [
1818
{
1919
"key": "Link",
20-
"value": "<{{ngsi-context.jsonld}}>; rel=\"http://www.w3.org/ns/json-ld#context\"; type=\"application/ld+json\"",
20+
"value": "<{{user-context.jsonld}}>; rel=\"http://www.w3.org/ns/json-ld#context\"; type=\"application/ld+json\"",
2121
"type": "text"
2222
}
2323
],
@@ -58,7 +58,7 @@
5858
},
5959
{
6060
"key": "Link",
61-
"value": "<{{ngsi-context.jsonld}}>; rel=\"http://www.w3.org/ns/json-ld#context\"; type=\"application/ld+json\"",
61+
"value": "<{{user-context.jsonld}}>; rel=\"http://www.w3.org/ns/json-ld#context\"; type=\"application/ld+json\"",
6262
"type": "text"
6363
}
6464
],
@@ -95,7 +95,7 @@
9595
},
9696
{
9797
"key": "Link",
98-
"value": "<{{ngsi-context.jsonld}}>; rel=\"http://www.w3.org/ns/json-ld#context\"; type=\"application/ld+json\"",
98+
"value": "<{{user-context.jsonld}}>; rel=\"http://www.w3.org/ns/json-ld#context\"; type=\"application/ld+json\"",
9999
"type": "text"
100100
},
101101
{
@@ -137,7 +137,7 @@
137137
},
138138
{
139139
"key": "Link",
140-
"value": "<{{ngsi-context.jsonld}}>; rel=\"http://www.w3.org/ns/json-ld#context\"; type=\"application/ld+json\"",
140+
"value": "<{{user-context.jsonld}}>; rel=\"http://www.w3.org/ns/json-ld#context\"; type=\"application/ld+json\"",
141141
"type": "text"
142142
},
143143
{
@@ -201,7 +201,7 @@
201201
"header": [
202202
{
203203
"key": "Link",
204-
"value": "<{{ngsi-context.jsonld}}>; rel=\"http://www.w3.org/ns/json-ld#context\"; type=\"application/ld+json\"",
204+
"value": "<{{user-context.jsonld}}>; rel=\"http://www.w3.org/ns/json-ld#context\"; type=\"application/ld+json\"",
205205
"type": "text"
206206
},
207207
{
@@ -241,7 +241,7 @@
241241
"header": [
242242
{
243243
"key": "Link",
244-
"value": "<{{ngsi-context.jsonld}}>; rel=\"http://www.w3.org/ns/json-ld#context\"; type=\"application/ld+json\"",
244+
"value": "<{{user-context.jsonld}}>; rel=\"http://www.w3.org/ns/json-ld#context\"; type=\"application/ld+json\"",
245245
"type": "text"
246246
}
247247
],
@@ -279,7 +279,7 @@
279279
"header": [
280280
{
281281
"key": "Link",
282-
"value": "<{{ngsi-context.jsonld}}>; rel=\"http://www.w3.org/ns/json-ld#context\"; type=\"application/ld+json\"",
282+
"value": "<{{user-context.jsonld}}>; rel=\"http://www.w3.org/ns/json-ld#context\"; type=\"application/ld+json\"",
283283
"type": "text"
284284
},
285285
{
@@ -321,7 +321,7 @@
321321
"header": [
322322
{
323323
"key": "Link",
324-
"value": "<{{ngsi-context.jsonld}}>; rel=\"http://www.w3.org/ns/json-ld#context\"; type=\"application/ld+json\"",
324+
"value": "<{{user-context.jsonld}}>; rel=\"http://www.w3.org/ns/json-ld#context\"; type=\"application/ld+json\"",
325325
"type": "text"
326326
},
327327
{
@@ -367,7 +367,7 @@
367367
"header": [
368368
{
369369
"key": "Link",
370-
"value": "<{{ngsi-context.jsonld}}>; rel=\"http://www.w3.org/ns/json-ld#context\"; type=\"application/ld+json\"",
370+
"value": "<{{user-context.jsonld}}>; rel=\"http://www.w3.org/ns/json-ld#context\"; type=\"application/ld+json\"",
371371
"type": "text"
372372
}
373373
],
@@ -405,7 +405,7 @@
405405
"header": [
406406
{
407407
"key": "Link",
408-
"value": "<{{ngsi-context.jsonld}}>; rel=\"http://www.w3.org/ns/json-ld#context\"; type=\"application/ld+json\"",
408+
"value": "<{{user-context.jsonld}}>; rel=\"http://www.w3.org/ns/json-ld#context\"; type=\"application/ld+json\"",
409409
"type": "text"
410410
},
411411
{
@@ -454,7 +454,7 @@
454454
"header": [
455455
{
456456
"key": "Link",
457-
"value": "<{{ngsi-context.jsonld}}>; rel=\"http://www.w3.org/ns/json-ld#context\"; type=\"application/ld+json\"",
457+
"value": "<{{user-context.jsonld}}>; rel=\"http://www.w3.org/ns/json-ld#context\"; type=\"application/ld+json\"",
458458
"type": "text"
459459
},
460460
{
@@ -504,7 +504,7 @@
504504
"header": [
505505
{
506506
"key": "Link",
507-
"value": "<{{ngsi-context.jsonld}}>; rel=\"http://www.w3.org/ns/json-ld#context\"; type=\"application/ld+json\"",
507+
"value": "<{{user-context.jsonld}}>; rel=\"http://www.w3.org/ns/json-ld#context\"; type=\"application/ld+json\"",
508508
"type": "text"
509509
},
510510
{
@@ -553,7 +553,7 @@
553553
"header": [
554554
{
555555
"key": "Link",
556-
"value": "<{{ngsi-context.jsonld}}>; rel=\"http://www.w3.org/ns/json-ld#context\"; type=\"application/ld+json\"",
556+
"value": "<{{user-context.jsonld}}>; rel=\"http://www.w3.org/ns/json-ld#context\"; type=\"application/ld+json\"",
557557
"type": "text"
558558
},
559559
{
@@ -632,7 +632,7 @@
632632
},
633633
{
634634
"key": "Link",
635-
"value": "<{{ngsi-context.jsonld}}>; rel=\"http://www.w3.org/ns/json-ld#context\"; type=\"application/ld+json\"",
635+
"value": "<{{user-context.jsonld}}>; rel=\"http://www.w3.org/ns/json-ld#context\"; type=\"application/ld+json\"",
636636
"type": "text"
637637
}
638638
],
@@ -670,7 +670,7 @@
670670
},
671671
{
672672
"key": "Link",
673-
"value": "<{{ngsi-context.jsonld}}>; rel=\"http://www.w3.org/ns/json-ld#context\"; type=\"application/ld+json\"",
673+
"value": "<{{user-context.jsonld}}>; rel=\"http://www.w3.org/ns/json-ld#context\"; type=\"application/ld+json\"",
674674
"type": "text"
675675
}
676676
],
@@ -708,7 +708,7 @@
708708
{
709709
"key": "Link",
710710
"type": "text",
711-
"value": "<{{ngsi-context.jsonld}}>; rel=\"http://www.w3.org/ns/json-ld#context\"; type=\"application/ld+json\""
711+
"value": "<{{user-context.jsonld}}>; rel=\"http://www.w3.org/ns/json-ld#context\"; type=\"application/ld+json\""
712712
}
713713
],
714714
"body": {
@@ -749,7 +749,7 @@
749749
},
750750
{
751751
"key": "Link",
752-
"value": "<{{ngsi-context.jsonld}}>; rel=\"http://www.w3.org/ns/json-ld#context\"; type=\"application/ld+json\"",
752+
"value": "<{{user-context.jsonld}}>; rel=\"http://www.w3.org/ns/json-ld#context\"; type=\"application/ld+json\"",
753753
"type": "text"
754754
}
755755
],
@@ -823,13 +823,13 @@
823823
},
824824
{
825825
"key": "Link",
826-
"value": "<{{ngsi-context.jsonld}}>; rel=\"http://www.w3.org/ns/json-ld#context\"; type=\"application/ld+json\"",
826+
"value": "<{{user-context.jsonld}}>; rel=\"http://www.w3.org/ns/json-ld#context\"; type=\"application/ld+json\"",
827827
"type": "text"
828828
}
829829
],
830830
"body": {
831831
"mode": "raw",
832-
"raw": "{\n \"description\": \"Notify me of movement of an Animal\",\n \"type\": \"Subscription\",\n \"entities\": [{\"id\": \"urn:ngsi-ld:Animal:pig003\", \"type\": \"Animal\"}],\n \"notification\": {\n \"format\": \"concise\",\n \"endpoint\": {\n \"uri\": \"http://tutorial:3000/subscription/low-stock-farm001-ngsild\",\n \"accept\": \"application/geo+json\"\n }\n },\n \"@context\": \"http://context/ngsi-context.jsonld\"\n}"
832+
"raw": "{\n \"description\": \"Notify me of movement of an Animal\",\n \"type\": \"Subscription\",\n \"entities\": [{\"id\": \"urn:ngsi-ld:Animal:pig003\", \"type\": \"Animal\"}],\n \"notification\": {\n \"format\": \"concise\",\n \"endpoint\": {\n \"uri\": \"http://tutorial:3000/subscription/low-stock-farm001-ngsild\",\n \"accept\": \"application/geo+json\"\n }\n },\n \"@context\": \"http://context/user-context.jsonld\"\n}"
833833
},
834834
"url": {
835835
"raw": "http://{{orion}}/ngsi-ld/v1/subscriptions/",
@@ -881,6 +881,10 @@
881881
"key": "ngsi-context.jsonld",
882882
"value": "http://context/ngsi-context.jsonld"
883883
},
884+
{
885+
"key": "user-context.jsonld",
886+
"value": "http://context/user-context.jsonld"
887+
},
884888
{
885889
"key": "json-context.jsonld",
886890
"value": "http://context/json-context.jsonld"

0 commit comments

Comments
 (0)