{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/barclays/main/json-schema/barclays-obevent-subscription1-schema.json", "title": "OBEventSubscription1", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/barclays-event-subscriptions-api-openapi.yml#/components/schemas/OBEventSubscription1", "type": "object", "additionalProperties": false, "deprecated": false, "properties": { "Data": { "type": "object", "additionalProperties": false, "properties": { "CallbackUrl": { "type": "string", "format": "uri", "description": "Callback URL for a TPP hosted service. Will be used by ASPSPs, in conjunction with the resource name, to construct a URL to send event notifications to." }, "Version": { "$ref": "#/$defs/Version" }, "EventTypes": { "type": "array", "items": { "type": "string", "description": "Array of event types the subscription applies to.", "enum": [ "UK.OBIE.Consent-Authorization-Revoked" ] }, "maxItems": 99999, "minItems": 0 } }, "required": [ "Version" ] } }, "required": [ "Data" ], "nullable": false, "$defs": { "Version": { "type": "string", "deprecated": false, "description": "Version for the event notification.", "maxLength": 10, "minLength": 1 } } }