Commit 86150548 authored by canterafonsj's avatar canterafonsj
Browse files

Closer

parent fdb77329
Loading
Loading
Loading
Loading
+32 −0
Original line number Diff line number Diff line
[{
  "id": "urn:ngsi-ld:Vehicle:B9211",
  "type": "Vehicle",
  "brandName": [
    {
      "type": "Property",
      "value": "Volvo"
    }
  ],
  "speed": [
    {
      "type": "Property",
      "value": 120,
      "observedAt": "2018-08-01T12:03:00Z"
    },
    {
      "type": "Property",
      "value": 80,
      "observedAt": "2018-08-01T12:05:00Z"
    },
    {
      "type": "Property",
      "value": 100,
      "observedAt": "2018-08-01T12:07:00Z"
    }
  ],
  "@context": [
    "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/coreContext/ngsi-ld-core-context.json",
    "http://example.org/ngsi-ld/vehicle.jsonld"
  ]
}
]
+12 −4
Original line number Diff line number Diff line
@@ -51,7 +51,7 @@
        "required": false,
        "schema": {
          "type": "integer",
          "minValue": 1
          "minimum": 1
        }
      },
      "options": {
@@ -61,7 +61,10 @@
        "required": false,
        "schema": {
          "type": "string",
          "enum": ["temporalValues", "sysAttrs"]
          "enum": [
            "temporalValues",
            "sysAttrs"
          ]
        }
      }
    }
@@ -130,7 +133,7 @@
            "content": {
              "application/json;application/ld+json": {
                "schema": {
                  "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/EntityTemporalList.json#/definitions/EntityTemporalList"
                  "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/temporal/EntityTemporalList.json#/definitions/EntityTemporalList"
                },
                "examples": {
                  "simple": {
@@ -160,7 +163,12 @@
          "content": {
            "application/json;application/ld+json": {
              "schema": {
                "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/EntityTemporal.json#/definitions/EntityTemporal"
                "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/temporal/EntityTemporal.json#/definitions/EntityTemporal"
              },
              "examples": {
                "simple": {
                  "externalValue": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/examples/EntityTemporal-example_C5.5.3.json"
                }
              }
            }
          }
+1 −1
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@
                },
                "examples": {
                  "simple": {
                    "externalValue": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/examples/EntityTemporal-example.json"
                    "externalValue": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/examples/EntityTemporal-example_C5.5.3.json"
                  }
                }
              }