Skip to content

Commit 200dba2

Browse files
committed
Switch core from 1.3
1 parent 83a35f6 commit 200dba2

2 files changed

Lines changed: 14 additions & 14 deletions

File tree

docs/linked-data.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -295,14 +295,14 @@ be required:
295295
... other data attributes
296296
"@context": [
297297
"https://smartdatamodels.org/context.jsonld",
298-
"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.3.jsonld"
298+
"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld"
299299
]
300300
}
301301
```
302302

303303
### Core Context
304304

305-
[https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.3.jsonld](https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.3.jsonld)
305+
[https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld](https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld)
306306
refers to the Core `@context` of NGSI-LD, this defines element such as `id` and `type` which are common to all NGSI
307307
entities, as well as defining terms such as `Property` and `Relationship`. The core context is so fundamental to
308308
NGSI-LD, that it is added by default to any `@context` sent to a request.
@@ -405,7 +405,7 @@ curl -iX POST \
405405
},
406406
"@context": [
407407
"https://smartdatamodels.org/context.jsonld",
408-
"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.3.jsonld"
408+
"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld"
409409
]
410410
}'
411411
```
@@ -460,7 +460,7 @@ curl -iX POST \
460460
},
461461
"@context": [
462462
"https://smartdatamodels.org/context.jsonld",
463-
"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.3.jsonld"
463+
"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld"
464464
]
465465
}'
466466
```
@@ -524,7 +524,7 @@ curl -G -X GET \
524524

525525
#### Response:
526526

527-
The response returns the Core `@context` by default (`https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.3.jsonld`)
527+
The response returns the Core `@context` by default (`https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld`)
528528
and all attributes are expanded whenever possible.
529529

530530
- `id`, `type`, `location` and `name` are defined in the core context and are not expanded.
@@ -619,7 +619,7 @@ curl -G -X GET \
619619

620620
#### Response:
621621

622-
The response returns the Core `@context` by default (`https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.3.jsonld`)
622+
The response returns the Core `@context` by default (`https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld`)
623623
and all attributes are expanded whenever possible.
624624

625625
```json
@@ -654,7 +654,7 @@ and all attributes are expanded whenever possible.
654654
"coordinates": [13.3986, 52.5547]
655655
}
656656
},
657-
"@context": "https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.3.jsonld"
657+
"@context": "https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld"
658658
}
659659
```
660660

@@ -758,7 +758,7 @@ The `Link` header `https://smartdatamodels.org/context.jsonld` holds an array of
758758
{
759759
"@context": [
760760
"https://smartdatamodels.org/context.jsonld",
761-
"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.3.jsonld"
761+
"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld"
762762
]
763763
}
764764
```

docs/relationships-linked-data.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ The response returns all the existing **Building** entities, with the attributes
410410
```json
411411
[
412412
{
413-
"@context": "https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.3.jsonld",
413+
"@context": "https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld",
414414
"id": "urn:ngsi-ld:Building:store001",
415415
"type": "https://uri.fiware.org/ns/datamodels#Building",
416416
"name": "Bösebrücke Einkauf",
@@ -426,7 +426,7 @@ The response returns all the existing **Building** entities, with the attributes
426426
}
427427
},
428428
{
429-
"@context": "https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.3.jsonld",
429+
"@context": "https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld",
430430
"id": "urn:ngsi-ld:Building:store002",
431431
"type": "https://uri.fiware.org/ns/datamodels#Building",
432432
"name": "Checkpoint Markt",
@@ -454,7 +454,7 @@ According to the [defined data model](https://fiware.github.io/tutorials.Step-by
454454
- The `category` attribute has the FQN `https://uri.fiware.org/ns/datamodels#category`.
455455

456456
`type`, `name` and `location` are defined in the NGSI-LD Core Context:
457-
[`https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.3.jsonld`](https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.3.jsonld).
457+
[`https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld`](https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld).
458458
The other attributes are defined using the Tutorial's own Context:
459459
[`https://fiware.github.io/tutorials.Step-by-Step/tutorials-context.jsonld`](https://fiware.github.io/tutorials.Step-by-Step/tutorials-context.jsonld).
460460
Both `category` and `address` are _common_ attributes the definitions of which are brought in from the FIWARE data
@@ -668,7 +668,7 @@ curl -X POST \
668668
},
669669
"@context": [
670670
"https://fiware.github.io/tutorials.Step-by-Step/tutorials-context.jsonld",
671-
"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.3.jsonld"
671+
"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld"
672672
]
673673
}'
674674
```
@@ -695,7 +695,7 @@ passed in the previous request.
695695

696696
```json
697697
{
698-
"@context": "https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.3.jsonld",
698+
"@context": "https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld",
699699
"id": "urn:ngsi-ld:Shelf:unit001",
700700
"type": "https://fiware.github.io/tutorials.Step-by-Step/schema/Shelf",
701701
"name": {
@@ -1055,7 +1055,7 @@ The response returns the fully expanded entity.
10551055

10561056
```json
10571057
{
1058-
"@context": "https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.3.jsonld",
1058+
"@context": "https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld",
10591059
"id": "urn:ngsi-ld:StockOrder:001",
10601060
"type": "https://fiware.github.io/tutorials.Step-by-Step/schema/StockOrder",
10611061
"https://fiware.github.io/tutorials.Step-by-Step/schema/orderDate": {

0 commit comments

Comments
 (0)