Commit 97b290f4 authored by canterafonsj's avatar canterafonsj
Browse files

Schema examples

parent 59377350
Loading
Loading
Loading
Loading
+20 −0
Original line number Original line Diff line number Diff line
{
  "id": "urn:ngsi-ld:Vehicle:V123",
  "type": "Vehicle",
  "speed": {
    "type": "Property",
    "value": 23,
    "accuracy": {
      "type": "Property",
      "value": 22
    },
    "providedBy": {
      "type": "Relationship",
      "object": "urn:ngsi-ld:Person:Bob"  
    }
  },
  "closeTo": {
    "type": "Relationship",
    "object": "urn:ngsi-ld:Building:B1234"  
  }
}
+3 −0
Original line number Original line Diff line number Diff line
# NGSI-LD Examples for Schemas

These examples are intended to validate the JSON Schemas