Skip to content

Commit

Permalink
Update responses.
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-fox committed Jul 5, 2024
1 parent ccb8fad commit 588d64d
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 17 deletions.
40 changes: 32 additions & 8 deletions README.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -820,7 +820,10 @@ _properties-of-properties_ 要素は含まれていません。リクエスト
```json
[
{
"@context": "https://fiware.github.io/data-models/context.jsonld",
"@context": [
"https://smart-data-models.github.io/dataModel.Building/context.jsonld",
"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.6.jsonld"
],
"id": "urn:ngsi-ld:Building:store001",
"type": "Building",
"address": {
Expand All @@ -842,7 +845,10 @@ _properties-of-properties_ 要素は含まれていません。リクエスト
}
},
{
"@context": "https://fiware.github.io/data-models/context.jsonld",
"@context": [
"https://smart-data-models.github.io/dataModel.Building/context.jsonld",
"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.6.jsonld"
],
"id": "urn:ngsi-ld:Building:store002",
"type": "Building",
"address": {
Expand Down Expand Up @@ -907,7 +913,10 @@ curl -G -X GET \
```json
[
{
"@context": "https://fiware.github.io/data-models/context.jsonld",
"@context": [
"https://smart-data-models.github.io/dataModel.Building/context.jsonld",
"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.6.jsonld"
],
"id": "urn:ngsi-ld:Building:store002",
"type": "Building",
"address": {
Expand Down Expand Up @@ -958,7 +967,10 @@ curl -G -X GET \
```json
[
{
"@context": "https://fiware.github.io/data-models/context.jsonld",
"@context": [
"https://smart-data-models.github.io/dataModel.Building/context.jsonld",
"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.6.jsonld"
],
"id": "urn:ngsi-ld:Building:store001",
"type": "Building",
"address": {
Expand All @@ -980,7 +992,10 @@ curl -G -X GET \
}
},
{
"@context": "https://fiware.github.io/data-models/context.jsonld",
"@context": [
"https://smart-data-models.github.io/dataModel.Building/context.jsonld",
"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.6.jsonld"
],
"id": "urn:ngsi-ld:Building:store002",
"type": "Building",
"address": {
Expand Down Expand Up @@ -1032,7 +1047,10 @@ curl -G -X GET \
```json
[
{
"@context": "https://fiware.github.io/data-models/context.jsonld",
"@context": [
"https://smart-data-models.github.io/dataModel.Building/context.jsonld",
"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.6.jsonld"
],
"id": "urn:ngsi-ld:Building:store002",
"type": "Building",
"address": {
Expand Down Expand Up @@ -1086,7 +1104,10 @@ Accept HTTP ヘッダと一緒に `options=keyValues` を使用しているた
```json
[
{
"@context": "https://fiware.github.io/data-models/context.jsonld",
"@context": [
"https://smart-data-models.github.io/dataModel.Building/context.jsonld",
"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.6.jsonld"
],
"id": "urn:ngsi-ld:Building:store001",
"type": "Building",
"address": {
Expand Down Expand Up @@ -1167,7 +1188,10 @@ Accept HTTP ヘッダと一緒に `options=keyValues` を使用しているた
```json
[
{
"@context": "https://fiware.github.io/data-models/context.jsonld",
"@context": [
"https://smart-data-models.github.io/dataModel.Building/context.jsonld",
"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.6.jsonld"
],
"id": "urn:ngsi-ld:Building:store002",
"type": "Building",
"address": {
Expand Down
33 changes: 24 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,10 @@ used as the `@context` returned in the response.
```json
[
{
"@context": "https://smart-data-models.github.io/dataModel.Building/context.jsonld",
"@context": [
"https://smart-data-models.github.io/dataModel.Building/context.jsonld",
"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.6.jsonld"
],
"id": "urn:ngsi-ld:Building:store001",
"type": "Building",
"address": {
Expand All @@ -803,7 +806,10 @@ used as the `@context` returned in the response.
}
},
{
"@context": "https://smart-data-models.github.io/dataModel.Building/context.jsonld",
"@context": [
"https://smart-data-models.github.io/dataModel.Building/context.jsonld",
"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.6.jsonld"
],
"id": "urn:ngsi-ld:Building:store002",
"type": "Building",
"address": {
Expand Down Expand Up @@ -853,7 +859,10 @@ JSON-LD as shown:
```json
[
{
"@context": "https://smart-data-models.github.io/dataModel.Building/context.jsonld",
"@context": [
"https://smart-data-models.github.io/dataModel.Building/context.jsonld",
"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.6.jsonld"
],
"id": "urn:ngsi-ld:Building:store002",
"type": "Building",
"address": {
Expand Down Expand Up @@ -906,7 +915,10 @@ The response is returned in JSON-LD format with short form attribute names:
```json
[
{
"@context": "https://smart-data-models.github.io/dataModel.Building/context.jsonld",
"@context": [
"https://smart-data-models.github.io/dataModel.Building/context.jsonld",
"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.6.jsonld"
],
"id": "urn:ngsi-ld:Building:store001",
"type": "Building",
"address": {
Expand All @@ -925,7 +937,10 @@ The response is returned in JSON-LD format with short form attribute names:
}
},
{
"@context": "https://smart-data-models.github.io/dataModel.Building/context.jsonld",
"@context": [
"https://smart-data-models.github.io/dataModel.Building/context.jsonld",
"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.6.jsonld"
],
"id": "urn:ngsi-ld:Building:store002",
"type": "Building",
"address": {
Expand Down Expand Up @@ -972,7 +987,10 @@ Use of the `Link` header and the `options=keyValues` parameter reduces the respo
```json
[
{
"@context": "https://smart-data-models.github.io/dataModel.Building/context.jsonld",
"@context": [
"https://smart-data-models.github.io/dataModel.Building/context.jsonld",
"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.6.jsonld"
],
"id": "urn:ngsi-ld:Building:store002",
"type": "Building",
"address": {
Expand Down Expand Up @@ -1021,7 +1039,6 @@ consists of JSON only without the attribute `type` and `metadata` elements.
```json
[
{
"@context": "https://smart-data-models.github.io/dataModel.Building/context.jsonld",
"id": "urn:ngsi-ld:Building:store001",
"type": "Building",
"address": {
Expand All @@ -1040,7 +1057,6 @@ consists of JSON only without the attribute `type` and `metadata` elements.
}
},
{
"@context": "https://smart-data-models.github.io/dataModel.Building/context.jsonld",
"id": "urn:ngsi-ld:Building:store002",
"type": "Building",
"address": {
Expand Down Expand Up @@ -1095,7 +1111,6 @@ consists of JSON only without the attribute `type` and `metadata` elements.
```json
[
{
"@context": "https://smart-data-models.github.io/dataModel.Building/context.jsonld",
"id": "urn:ngsi-ld:Building:store002",
"type": "Building",
"address": {
Expand Down

0 comments on commit 588d64d

Please sign in to comment.