Commit ee0efb98 authored by Benedetta Arena's avatar Benedetta Arena
Browse files

add: data for the tests

parent dc4f9e50
Loading
Loading
Loading
Loading
+22 −0
Original line number Diff line number Diff line
{
  "id": "urn:ngsi-ld:ContextSourceRegistration:Exclusive:2",
  "type": "ContextSourceRegistration",
  "information": [
    {
      "entities": [
        {
          "id": "urn:ngsi-ld:OffStreetParking:2",
          "type": "OffStreetParking"
        }
      ],
      "propertyNames": [
        "location"		
      ]
    }
  ],
  "mode": "exclusive",
  "endpoint": "xxx",
  "@context":[
    "https://forge.etsi.org/rep/cim/ngsi-ld-test-suite/-/raw/develop/resources/jsonld-contexts/ngsi-ld-test-suite-compound.jsonld"
 ]
}
 No newline at end of file
+22 −0
Original line number Diff line number Diff line
{
  "id": "urn:ngsi-ld:ContextSourceRegistration:Inclusive:2",
  "type": "ContextSourceRegistration",
  "information": [
    {
      "entities": [
        {
          "type": "OffStreetParking"
        }
      ],
      "propertyNames": [
        "availableSpotsNumber",
        "totalSpotsNumber"			
      ]
    }
  ],
  "mode": "inclusive",
  "endpoint": "xxx",
  "@context":[
    "https://forge.etsi.org/rep/cim/ngsi-ld-test-suite/-/raw/develop/resources/jsonld-contexts/ngsi-ld-test-suite-compound.jsonld"
 ]
}
 No newline at end of file
+45 −0
Original line number Diff line number Diff line
{
  "id": "urn:ngsi-ld:OffStreetParking:1",
  "type": "OffStreetParking",
  "name": {
    "type": "Property",
    "value": "Downtown One"
  },
  "availableSpotsNumber": {
    "type": "Property",
    "value": 121,
    "observedAt": "2017-07-29T12:05:02Z",
    "reliability": {
      "type": "Property",
      "value": 0.7
    }
  },
  "totalSpotsNumber": {
    "type": "Property",
    "value": 200
  },
  "location": {
    "type": "GeoProperty",
    "value": {
      "type": "Point",
      "coordinates": [
        -8.5,
        41.2
      ]
    }
  }, 
  "@context": [
    {
      "OffStreetParking": "https://ngsi-ld-test-suite/context#OffStreetParking",
      "Vehicle": "https://ngsi-ld-test-suite/context#Vehicle",
      "availableSpotsNumber": "https://ngsi-ld-test-suite/context#availableSpotsNumber",
      "brandName": "https://ngsi-ld-test-suite/context#brandName",
      "isParked": "https://ngsi-ld-test-suite/context#isParked",
      "name": "https://ngsi-ld-test-suite/context#name",
      "source": "https://ngsi-ld-test-suite/context#source",
      "speed": "https://ngsi-ld-test-suite/context#speed",
      "totalSpotsNumber": "https://ngsi-ld-test-suite/context#totalSpotsNumber"
    },
    "https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.6.jsonld"
  ]
}
 No newline at end of file
+45 −0
Original line number Diff line number Diff line
{
  "id": "urn:ngsi-ld:OffStreetParking:2",
  "type": "OffStreetParking",
  "name": {
    "type": "Property",
    "value": "Downtown Two"
  },
  "availableSpotsNumber": {
    "type": "Property",
    "value": 112,
    "observedAt": "2017-07-29T12:05:02Z",
    "reliability": {
      "type": "Property",
      "value": 0.4
    }
  },
  "totalSpotsNumber": {
    "type": "Property",
    "value": 150
  },
  "location": {
    "type": "GeoProperty",
    "value": {
      "type": "Point",
      "coordinates": [
        -8.45,
        41.2
      ]
    }
  },
    "@context": [
      {
        "OffStreetParking": "https://ngsi-ld-test-suite/context#OffStreetParking",
        "Vehicle": "https://ngsi-ld-test-suite/context#Vehicle",
        "availableSpotsNumber": "https://ngsi-ld-test-suite/context#availableSpotsNumber",
        "brandName": "https://ngsi-ld-test-suite/context#brandName",
        "isParked": "https://ngsi-ld-test-suite/context#isParked",
        "name": "https://ngsi-ld-test-suite/context#name",
        "source": "https://ngsi-ld-test-suite/context#source",
        "speed": "https://ngsi-ld-test-suite/context#speed",
        "totalSpotsNumber": "https://ngsi-ld-test-suite/context#totalSpotsNumber"
      },
    "https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.6.jsonld"
  ]
}
 No newline at end of file
+31 −0
Original line number Diff line number Diff line
{
  "id": "urn:ngsi-ld:OffStreetParking:2",
  "type": "OffStreetParking",
  "name": {
    "type": "Property",
    "value": "Downtown Two"
  },
  "availableSpotsNumber": {
    "type": "Property",
    "value": 92,
    "observedAt": "2017-07-30T12:10:02Z",
    "reliability": {
      "type": "Property",
      "value": 0.56
    }
  }, 
  "@context": [
    {
      "OffStreetParking": "https://ngsi-ld-test-suite/context#OffStreetParking",
      "Vehicle": "https://ngsi-ld-test-suite/context#Vehicle",
      "availableSpotsNumber": "https://ngsi-ld-test-suite/context#availableSpotsNumber",
      "brandName": "https://ngsi-ld-test-suite/context#brandName",
      "isParked": "https://ngsi-ld-test-suite/context#isParked",
      "name": "https://ngsi-ld-test-suite/context#name",
      "source": "https://ngsi-ld-test-suite/context#source",
      "speed": "https://ngsi-ld-test-suite/context#speed",
      "totalSpotsNumber": "https://ngsi-ld-test-suite/context#totalSpotsNumber"
    },
    "https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.6.jsonld"
  ]
}
 No newline at end of file