Commit a8df4cc2 authored by canterafonsj's avatar canterafonsj
Browse files

Entity Temporal Schema Fixed

parent 836c42ba
Loading
Loading
Loading
Loading
+13 −15
Original line number Original line Diff line number Diff line
@@ -30,6 +30,19 @@
            "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/Entity.json#/definitions/GeoProperty"
            "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/Entity.json#/definitions/GeoProperty"
          },
          },
          "minItems": 1
          "minItems": 1
        },
        "id": {
          "type": "string",
          "format": "uri"
        },
        "type": {
          "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/Name"
        },
        "createdAt": {
          "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/createdAt"
        },
        "modifiedAt": {
          "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/modifiedAt"
        }
        }
      },
      },
      "additionalProperties": {
      "additionalProperties": {
@@ -66,21 +79,6 @@
      "allOf": [
      "allOf": [
        {
        {
          "type": "object",
          "type": "object",
          "properties": {
            "id": {
              "type": "string",
              "format": "uri"
            },
            "type": {
              "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/Name"
            },
            "createdAt": {
              "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/createdAt"
            },
            "modifiedAt": {
              "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/modifiedAt"
            }
          },
          "required": [
          "required": [
            "id",
            "id",
            "type"
            "type"