Skip to content

Commit

Permalink
Update NGSI-LD 1.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-fox committed Mar 22, 2024
1 parent df39b5f commit b409534
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions README.ja.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Linked Data Entity Relationships[<img src="https://img.shields.io/badge/NGSI-LD-d6604d.svg" width="90" align="left" />](https://www.etsi.org/deliver/etsi_gs/CIM/001_099/009/01.07.01_60/gs_cim009v010701p.pdf)[<img src="https://fiware.github.io/tutorials.Entity-Relationships/img/fiware.png" align="left" width="162">](https://www.fiware.org/)<br/>
# Linked Data Entity Relationships[<img src="https://img.shields.io/badge/NGSI-LD-d6604d.svg" width="90" align="left" />](https://www.etsi.org/deliver/etsi_gs/CIM/001_099/009/01.08.01_60/gs_cim009v010801p.pdf)[<img src="https://fiware.github.io/tutorials.Entity-Relationships/img/fiware.png" align="left" width="162">](https://www.fiware.org/)<br/>

[![FIWARE Core Context Management](https://nexus.lab.fiware.org/repository/raw/public/badges/chapters/core.svg)](https://github.com/FIWARE/catalogue/blob/master/core/README.md)
[![License: MIT](https://img.shields.io/github/license/fiware/tutorials.CRUD-Operations.svg)](https://opensource.org/licenses/MIT)
Expand Down Expand Up @@ -291,7 +291,7 @@ curl -iX POST 'http://localhost:1026/ngsi-ld/v1/entityOperations/upsert' \
]'
```

どちらの場合も、NGSI-LD [仕様](https://www.etsi.org/deliver/etsi_gs/CIM/001_099/009/01.07.01_60/gs_cim009v010701p.pdf)
どちらの場合も、NGSI-LD [仕様](https://www.etsi.org/deliver/etsi_gs/CIM/001_099/009/01.08.01_60/gs_cim009v010801p.pdf)
に従って各エンティティ `id` をエンコードしました - プロポーザルは、各 `id` が標準形式に従う URN であるというものです:
`urn:ngsi-ld:<entity-type>:<entity-id>`。 これは、システム内のすべての `id` が一意になることを意味します。

Expand All @@ -307,7 +307,7 @@ curl -X GET 'http://localhost:1026/ngsi-ld/v1/entities/?type=TemperatureSensor,F

#### レスポンス:

```jsonld
```json
[
{
"@context": "http://context/ngsi-context.jsonld",
Expand Down Expand Up @@ -407,7 +407,7 @@ curl -G -iX GET 'http://localhost:1026/ngsi-ld/v1/entities/urn:ngsi-ld:Temperatu

`controlledAsset` 属性を含む更新されたレスポンスを以下に示します:

```jsonld
```json
{
"@context": "http://context/ngsi-context.jsonld",
"id": "urn:ngsi-ld:TemperatureSensor:001",
Expand Down Expand Up @@ -475,7 +475,7 @@ curl -G -iX GET 'http://localhost:1026/ngsi-ld/v1/entities' \

#### レスポンス:

```jsonld
```json
[
{
"@context": "http://context/ngsi-context.jsonld",
Expand Down Expand Up @@ -571,7 +571,7 @@ curl -G -iX GET 'http://localhost:1026/ngsi-ld/v1/entities' \

#### レスポンス:

```jsonld
```json
[
{
"id": "urn:ngsi-ld:Task:001",
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Linked Data Entity Relationships[<img src="https://img.shields.io/badge/NGSI-LD-d6604d.svg" width="90" align="left" />](https://www.etsi.org/deliver/etsi_gs/CIM/001_099/009/01.07.01_60/gs_cim009v010701p.pdf)[<img src="https://fiware.github.io/tutorials.Entity-Relationships/img/fiware.png" align="left" width="162">](https://www.fiware.org/)<br/>
# Linked Data Entity Relationships[<img src="https://img.shields.io/badge/NGSI-LD-d6604d.svg" width="90" align="left" />](https://www.etsi.org/deliver/etsi_gs/CIM/001_099/009/01.08.01_60/gs_cim009v010801p.pdf)[<img src="https://fiware.github.io/tutorials.Entity-Relationships/img/fiware.png" align="left" width="162">](https://www.fiware.org/)<br/>

[![FIWARE Core Context Management](https://nexus.lab.fiware.org/repository/raw/public/badges/chapters/core.svg)](https://github.com/FIWARE/catalogue/blob/master/core/README.md)
[![License: MIT](https://img.shields.io/github/license/fiware/tutorials.CRUD-Operations.svg)](https://opensource.org/licenses/MIT)
Expand Down Expand Up @@ -275,7 +275,7 @@ curl -iX POST 'http://localhost:1026/ngsi-ld/v1/entityOperations/upsert' \
```

In both cases we have encoded each entity `id` according to the NGSI-LD
[specification](https://www.etsi.org/deliver/etsi_gs/CIM/001_099/009/01.07.01_60/gs_cim009v010701p.pdf) - the proposal
[specification](https://www.etsi.org/deliver/etsi_gs/CIM/001_099/009/01.08.01_60/gs_cim009v010801p.pdf) - the proposal
is that each `id` is a URN follows a standard format: `urn:ngsi-ld:<entity-type>:<entity-id>`. This will mean that every
`id` in the system will be unique.

Expand All @@ -291,7 +291,7 @@ curl -X GET 'http://localhost:1026/ngsi-ld/v1/entities/?type=TemperatureSensor,F

#### Response:

```jsonld
```json
[
{
"@context": "http://context/ngsi-context.jsonld",
Expand Down Expand Up @@ -407,7 +407,7 @@ curl -G -iX GET 'http://localhost:1026/ngsi-ld/v1/entities/urn:ngsi-ld:Temperatu

The updated response including the `controlledAsset` attribute is shown below:

```jsonld
```json
{
"@context": "http://context/ngsi-context.jsonld",
"id": "urn:ngsi-ld:TemperatureSensor:001",
Expand Down Expand Up @@ -469,7 +469,7 @@ response is a JSON array as shown.

#### Response:

```jsonld
```json
[
{
"@context": "http://context/ngsi-context.jsonld",
Expand Down Expand Up @@ -560,7 +560,7 @@ curl -G -iX GET 'http://localhost:1026/ngsi-ld/v1/entities' \

#### Response:

```jsonld
```json
[
{
"id": "urn:ngsi-ld:Task:001",
Expand Down

0 comments on commit b409534

Please sign in to comment.