Skip to content

Commit

Permalink
Use vocab
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-fox committed Jan 16, 2025
1 parent d1aea21 commit 6cfcc5c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
8 changes: 5 additions & 3 deletions README.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -580,8 +580,8 @@ NGSI-LD の `@context` はすべての NGSI-LD CRUD 操作に使用され、デ
"id": "urn:ngsi-ld:Building:001",
"type": "Building",
"category": {
"type": "Property",
"value": "barn"
"type": "VocabProperty",
"vocab": "barn"
},
"address": {
"type": "Property",
Expand Down Expand Up @@ -742,7 +742,9 @@ datamodels.context.jsonld created
{
"id": "urn:ngsi-ld:Building:001",
"type": "Building",
"category": "barn",
"category": {
"vocab": "barn"
},
"address": {
"streetAddress": "Großer Stern",
"addressRegion": "Berlin",
Expand Down
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -572,8 +572,8 @@ For example this is a `Building` in _normalized_ NGSI-LD format:
"id": "urn:ngsi-ld:Building:001",
"type": "Building",
"category": {
"type": "Property",
"value": "barn"
"type": "VocabProperty",
"vocab": "barn"
},
"address": {
"type": "Property",
Expand Down Expand Up @@ -747,7 +747,9 @@ below) rather than a full NGSI-LD object:
{
"id": "urn:ngsi-ld:Building:001",
"type": "Building",
"category": "barn",
"category": {
"vocab": "barn"
},
"address": {
"streetAddress": "Großer Stern",
"addressRegion": "Berlin",
Expand Down

0 comments on commit 6cfcc5c

Please sign in to comment.