{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/barclays/main/json-schema/barclays-obevent-polling1-schema.json", "title": "OBEventPolling1", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/barclays-events-api-openapi.yml#/components/schemas/OBEventPolling1", "type": "object", "additionalProperties": false, "deprecated": false, "properties": { "maxEvents": { "type": "integer", "description": "Maximum number of events to be returned. A value of zero indicates the ASPSP should not return events even if available", "maximum": 999999, "minimum": 0 }, "returnImmediately": { "type": "boolean", "description": "Indicates whether an ASPSP should return a response immediately or provide a long poll" }, "ack": { "type": "array", "items": { "type": "string", "description": "An array of jti values indicating event notifications positively acknowledged by the TPP", "maxLength": 128, "minLength": 1 }, "maxItems": 99999, "minItems": 0 }, "setErrs": { "type": "object", "additionalProperties": { "type": "object", "additionalProperties": false, "properties": { "err": { "type": "string", "description": "A value from the IANA \"Security Event Token Delivery Error Codes\" registry that identifies the error as defined here \nhttps://tools.ietf.org/id/draft-ietf-secevent-http-push-03.html#error_codes", "maxLength": 40, "minLength": 1 }, "description": { "type": "string", "description": "A human-readable string that provides additional diagnostic information", "maxLength": 256, "minLength": 1 } }, "required": [ "description", "err" ] }, "description": "An object that encapsulates all negative acknowledgements transmitted by the TPP", "properties": {} } }, "nullable": false }