Notification.json 779 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": "http://localhost:8090/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": "http://localhost:8090/schema/Entity.json#/definitions/Entity"
canterafonsj's avatar
canterafonsj committed
      },
      "minItems": 1
    }
  },
  "required": [
    "id",
    "type",
    "notifiedAt",
    "data"
  ]
Stefan Wiedemann's avatar
Stefan Wiedemann committed
}