Notification.json 843 Bytes
Newer Older
canterafonsj's avatar
canterafonsj committed
{
  "title": "NGSI-LD Notification",
  "description": "NGSI-LD Notification",
  "type": "object",
  "properties": {
    "id": {
canterafonsj's avatar
canterafonsj committed
      "type": "string",
      "format": "uri"
    },
    "type": {
      "type": "string",
Stefan Wiedemann's avatar
Stefan Wiedemann committed
      "enum": [
        "Notification"
      ]
canterafonsj's avatar
canterafonsj committed
    },
canterafonsj's avatar
canterafonsj committed
    "subscriptionId": {
      "type": "string",
      "format": "uri"
    },
canterafonsj's avatar
canterafonsj committed
    "@context": {
Stefan Wiedemann's avatar
Stefan Wiedemann committed
      "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/LdContext"
canterafonsj's avatar
canterafonsj committed
    },
    "notifiedAt": {
      "type": "string",
      "format": "date-time"
    },
    "data": {
      "type": "array",
      "items": {
Stefan Wiedemann's avatar
Stefan Wiedemann committed
        "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/Entity.json#/definitions/Entity"
canterafonsj's avatar
canterafonsj committed
      },
      "minItems": 1
    }
  },
  "required": [
    "id",
    "type",
    "notifiedAt",
    "data"
  ]
Stefan Wiedemann's avatar
Stefan Wiedemann committed
}