Entity-example.json 649 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
  },
  "location": {
      "type": "GeoProperty",
      "value": {
        "type":"Point",
        "coordinates": [-8,44]  
      }
canterafonsj's avatar
canterafonsj committed
26
27
28
29
30
  },
  "@context": [
      "https://example.org/ld/vehicle.jsonld",
      "https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld"
  ]
canterafonsj's avatar
canterafonsj committed
31
}