Commit 74d9ca17 authored by Ignacio Dominguez Martinez-Casanueva's avatar Ignacio Dominguez Martinez-Casanueva
Browse files

Update JSON-LD examples

parent 72af052e
Loading
Loading
Loading
Loading
+42
Changes for examples/@context_C.2.4.json: 42 added lines, 0 removed lines.
Original line number Diff line number Diff line
{
  "id": "@id",
  "type": "@type",
  "Property": "https://uri.etsi.org/ngsi-ld/Property",
  "Relationship": "https://uri.etsi.org/ngsi-ld/Relationship",
  "value": "https://uri.etsi.org/ngsi-ld/hasValue",
  "object": {
    "@type": "@id",
    "@id": "https://uri.etsi.org/ngsi-ld/hasObject"
  },
  "observedAt": {
    "@type": "https://uri.etsi.org/ngsi-ld/DateTime",
    "@id": "https://uri.etsi.org/ngsi-ld/observedAt"
  },
  "datasetId": {
    "@id": "https://uri.etsi.org/ngsi-ld/datasetId",
    "@type": "@id"
  },
  "location": "https://uri.etsi.org/ngsi-ld/location",
  "GeoProperty": "https://uri.etsi.org/ngsi-ld/GeoProperty",
  "Vehicle": "http://example.org/vehicle/Vehicle",
  "street": "http://example.org/vehicle/street",
  "brandName": "http://example.org/vehicle/brandName",
  "speed": "http://example.org/vehicle/speed",
  "isParked": {
    "@type": "@id",
    "@id": "http://example.org/common/isParked"
  },
  "OffStreetParking": "http://example.org/parking/OffStreetParking",
  "availableSpotNumber": "http://example.org/parking/availableSpotNumber",
  "totalSpotNumber": "http://example.org/parking/totalSpotNumber",
  "isNextToBuilding": {
    "@type": "@id",
    "@id": "http://example.org/common/isNextToBuilding"
  },
  "reliability": "http://example.org/common/reliability",
  "providedBy": {
    "@type": "@id",
    "@id": "http://example.org/common/providedBy"
  },
  "name": "http://example.org/common/name"
}
+11
Changes for examples/AttributeList_C.5.10.3.json: 11 added lines, 0 removed lines.
Original line number Diff line number Diff line
{
  "id": "urn:ngsi-ld:AttributeList:56534657",
  "type": "AttributeList",
  "attributeList": [
    "brandName",
    "isParked",
    "location",
    "speed",
    "http://example.org/parking/status"
  ]
}
+8
Changes for examples/Attribute_C.5.12.3.json: 8 added lines, 0 removed lines.
Original line number Diff line number Diff line
{
  "id": "http://example.org/vehicle/brandName",
  "type": "Attribute",
  "attributeName": "brandName",
  "attributeTypes": ["Property"],
  "typeNames": ["Vehicle"],
  "attributeCount": 2
}
+36
Changes for examples/Attributes_details_C.5.11.3.json: 36 added lines, 0 removed lines.
Original line number Diff line number Diff line
[
  {
    "id": "http://example.org/vehicle/brandName",
    "type": "Attribute",
    "attributeName": "brandName",
    "typeNames": ["Vehicle"]
  },
  {
    "id": "http://example.org/vehicle/isParked",
    "type": "Attribute",
    "attributeName": "isParked",
    "typeNames": ["Vehicle"]
  },
  {
    "id": "https://uri.etsi.org/ngsi-ld/location",
    "type": "Attribute",
    "attributeName": "location",
    "typeNames": [
      "Vehicle",
      "OffStreetParking",
      "http://example.org/parking/ParkingSpot"
    ]
  },
  {
    "id": "http://example.org/vehicle/speed",
    "type": "Attribute",
    "attributeName": "speed",
    "typeNames": ["Vehicle"]
  },
  {
    "id": "http://example.org/parking/status",
    "type": "Attribute",
    "attributeName": "http://example.org/parking/status",
    "typeNames": ["http://example.org/parking/ParkingSpot"]
  }
]
−77

File deleted.

Loading