Commit 1ae83e12 authored by canterafonsj's avatar canterafonsj
Browse files

Subscriptions finished

parent 3d223c5e
Loading
Loading
Loading
Loading
+27 −6
Original line number Original line Diff line number Diff line
@@ -11,8 +11,10 @@
          "type": "array",
          "type": "array",
          "minItems": 1,
          "minItems": 1,
          "items": {
          "items": {
            "type": "string"
            "type": "string",
          }
            "minLength": 1
          },
          "uniqueItems": true
        },
        },
        "format": {
        "format": {
          "type": "string"
          "type": "string"
@@ -140,7 +142,8 @@
      "type": "array",
      "type": "array",
      "minItems": 1,
      "minItems": 1,
      "items": {
      "items": {
        "type": "string"
        "type": "string",
        "minLength": 1
      },
      },
      "uniqueItems": true
      "uniqueItems": true
    },
    },
@@ -180,8 +183,26 @@
  "modifiedAt": {
  "modifiedAt": {
    "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/modifiedAt"
    "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/modifiedAt"
  },
  },
  "allOf": [
    {
      "required": [
      "required": [
        "id",
        "id",
        "type"
        "type"
      ]
      ]
    },
    {
      "anyOf": [
        {
          "required": [
            "entities"
          ]
        },
        {
          "required": [
            "watchedAttributes"
          ]
        }
      ]
    }
  ]
}
}
+2 −1
Original line number Original line Diff line number Diff line
@@ -76,7 +76,8 @@
          "type": "string",
          "type": "string",
          "format": "regex"
          "format": "regex"
        }
        }
      }
      },
      "required": ["type"]
    }
    }
  }
  }
}
}