Skip to content

Commit

Permalink
Update URI
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-fox committed Aug 14, 2023
1 parent 0654dbb commit 21a8c28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ curl -X GET 'http://localhost:1026/ngsi-ld/v1/entities/?type=TemperatureSensor,F
既存の **TemperatureSensor** エンティティと **FillingLevelSensor** エンティティを修正し、デバイスによって制御される
各建物との1対1のリレーションシップを保持する `controlledAsset` 属性を追加できます。Smart Data Model によると、
[Device](https://swagger.lab.fiware.org/?url=https://smart-data-models.github.io/dataModel.Device/Device/swagger.yaml)
定義 `https://uri.fiware.org/ns/data-models#controlledAsset` はこのリレーションシップに使用される URI の長い名前であり、
定義 `https://uri.fiware.org/ns/dataModels#controlledAsset` はこのリレーションシップに使用される URI の長い名前であり、
`controlledAsset` 属性の値は **Building** エンティティ自体に関連付けられた URN に対応します。

URN は、標準形式に従います: `urn:ngsi-ld:<entity-type>:<entity-id>`
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ relationship similar to a foreign key. Batch processing can again be used to ame
**TemperatureSensor** and **FillingLevelSensor** entities to add a `controlledAsset` attribute holding the one-to-one
relationship to each building controlled by the device. According to the Smart Data Model
[Device](https://swagger.lab.fiware.org/?url=https://smart-data-models.github.io/dataModel.Device/Device/swagger.yaml)
definition `https://uri.fiware.org/ns/data-models#controlledAsset` is the URI long name to be used for this
definition `https://uri.fiware.org/ns/dataModels#controlledAsset` is the URI long name to be used for this
relationship, and the value of the `controlledAsset` attribute corresponds to a URN associated to a **Building** entity
itself.

Expand Down

0 comments on commit 21a8c28

Please sign in to comment.