Entity-example.json 515 Bytes
Newer Older
canterafonsj's avatar
canterafonsj committed
1
2
3
4
5
6
7
8
{
  "id": "urn:ngsi-ld:Vehicle:V123",
  "type": "Vehicle",
  "speed": {
    "type": "Property",
    "value": 23,
    "accuracy": {
      "type": "Property",
canterafonsj's avatar
canterafonsj committed
9
      "value": 0.7
canterafonsj's avatar
canterafonsj committed
10
11
12
13
14
15
16
17
18
    },
    "providedBy": {
      "type": "Relationship",
      "object": "urn:ngsi-ld:Person:Bob"  
    }
  },
  "closeTo": {
    "type": "Relationship",
    "object": "urn:ngsi-ld:Building:B1234"  
canterafonsj's avatar
canterafonsj committed
19
20
21
22
23
24
25
26
  },
  "location": {
      "type": "GeoProperty",
      "value": {
        "type":"Point",
        "coordinates": [-8,44]  
      }
  }  
canterafonsj's avatar
canterafonsj committed
27
}