From 798dea64bc11d90865d5f07b3a97d9128f6b9284 Mon Sep 17 00:00:00 2001 From: Jason Fox Date: Tue, 12 Dec 2023 10:12:51 +0100 Subject: [PATCH] Fix #29 - correct attribute name. --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 0a2cb0c..27cd051 100644 --- a/README.md +++ b/README.md @@ -342,7 +342,7 @@ curl -L 'http://localhost:1026/ngsi-ld/v1/entityOperations/update?options=update { "id": "urn:ngsi-ld:TemperatureSensor:001", "type": "TemperatureSensor", - "controllingAsset": { + "controlledAsset": { "type": "Relationship", "object": "urn:ngsi-ld:Building:farm001" } @@ -350,7 +350,7 @@ curl -L 'http://localhost:1026/ngsi-ld/v1/entityOperations/update?options=update { "id": "urn:ngsi-ld:TemperatureSensor:002", "type": "TemperatureSensor", - "controllingAsset": { + "controlledAsset": { "type": "Relationship", "object": "urn:ngsi-ld:Building:barn002" } @@ -358,7 +358,7 @@ curl -L 'http://localhost:1026/ngsi-ld/v1/entityOperations/update?options=update { "id": "urn:ngsi-ld:FillingLevelSensor:003", "type": "FillingLevelSensor", - "controllingAsset": { + "controlledAsset": { "type": "Relationship", "object": "urn:ngsi-ld:Building:farm002" } @@ -366,7 +366,7 @@ curl -L 'http://localhost:1026/ngsi-ld/v1/entityOperations/update?options=update { "id": "urn:ngsi-ld:FillingLevelSensor:001", "type": "FillingLevelSensor", - "controllingAsset": { + "controlledAsset": { "type": "Relationship", "object": "urn:ngsi-ld:Building:farm001" } @@ -374,7 +374,7 @@ curl -L 'http://localhost:1026/ngsi-ld/v1/entityOperations/update?options=update { "id": "urn:ngsi-ld:FillingLevelSensor:002", "type": "FillingLevelSensor", - "controllingAsset": { + "controlledAsset": { "type": "Relationship", "object": "urn:ngsi-ld:Building:barn002" } @@ -382,7 +382,7 @@ curl -L 'http://localhost:1026/ngsi-ld/v1/entityOperations/update?options=update { "id": "urn:ngsi-ld:TemperatureSensor:003", "type": "TemperatureSensor", - "controllingAsset": { + "controlledAsset": { "type": "Relationship", "object": "urn:ngsi-ld:Building:farm002" }