Newer
Older
"$id": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/registrations/ContextSourceNotification.json",
"title": "NGSI-LD Context Source Notification",
"description": "NGSI-LD Context Source Notification",
"type": "object",
"properties": {
"type": "string",
"format": "uri"
},
"type": {
"type": "string",
"const": "ContextSourceNotification"
},
"subscriptionId": {
"type": "string",
"format": "uri"
},
"@context": {
"$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/LdContext"
},
"notifiedAt": {
"type": "string",
"format": "date-time"
},
"data": {
"type": "array",
"items": {
"$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/registrations/ContextSourceRegistration.json#/definitions/ContextSourceRegistration"
},
"minItems": 1
},
"triggerReason": {
"type": "string",
"enum": [
"newlyMatching",
"updated",
"noLongerMatching"
]
}
},
"required": [
"id",
"type",
"subscriptionId",
"notifiedAt",
"data",
"triggerReason"
]
}