diff --git a/schema-examples/Entity-example.json b/schema-examples/Entity-example.json new file mode 100644 index 0000000000000000000000000000000000000000..a791d1a09f536d85cb437a4b0f7c2b11cd795e4f --- /dev/null +++ b/schema-examples/Entity-example.json @@ -0,0 +1,20 @@ +{ + "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" + } +} diff --git a/schema-examples/README.md b/schema-examples/README.md new file mode 100644 index 0000000000000000000000000000000000000000..a7d8392076550a70d611e4ad816e0a3748e7dd10 --- /dev/null +++ b/schema-examples/README.md @@ -0,0 +1,3 @@ +# NGSI-LD Examples for Schemas + +These examples are intended to validate the JSON Schemas