From c991d4e2a14531a9150eab8783fa0036098967a9 Mon Sep 17 00:00:00 2001 From: Fan5Shi <48126491+Fan5Shi@users.noreply.github.com> Date: Mon, 6 Nov 2023 12:01:49 +0100 Subject: [PATCH] Update example.jsonld --- ParkingSpot/examples/example.jsonld | 44 ++++++++--------------------- 1 file changed, 12 insertions(+), 32 deletions(-) diff --git a/ParkingSpot/examples/example.jsonld b/ParkingSpot/examples/example.jsonld index 4517ebf4..c6ecf140 100644 --- a/ParkingSpot/examples/example.jsonld +++ b/ParkingSpot/examples/example.jsonld @@ -1,41 +1,21 @@ { "id": "urn:ngsi-ld:ParkingSpot:santander:daoiz_velarde_1_5:3", "type": "ParkingSpot", - "category": { - "type": "Property", - "value": [ - "onStreet" - ] - }, + "category": [ + "onStreet" + ], "location": { - "type": "GeoProperty", - "value": { - "type": "Point", - "coordinates": [ - -3.80356167695194, - 43.46296641666926 - ] - } - }, - "name": { - "type": "Property", - "value": "A-13" - }, - "refParkingSite": { - "type": "Relationship", - "object": "urn:ngsi-ld:ParkingSite:santander:daoiz_velarde_1_5" - }, - "status": { - "type": "Property", - "value": "free", - "observedAt": "2018-09-21T12:00:00Z", - "parkingPermit": { - "type": "Property", - "value": "yes" - } + "coordinates": [ + -3.80356167695194, + 43.46296641666926 + ], + "type": "Point" }, + "name": "A-13", + "refParkingSite": "urn:ngsi-ld:ParkingSite:santander:daoiz_velarde_1_5", + "status": "free", "@context": [ "https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld", "https://raw.githubusercontent.com/smart-data-models/dataModel.Parking/master/context.jsonld" ] -} \ No newline at end of file +}