{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/paubox/main/json-schema/paubox-subscribers-response-schema.json", "title": "SubscribersResponse", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/paubox-subscribers-api-openapi.yml#/components/schemas/SubscribersResponse", "type": "object", "properties": { "data": { "type": "array", "items": { "$ref": "#/$defs/Subscriber" } } }, "$defs": { "Subscriber": { "type": "object", "properties": { "id": { "type": "string", "description": "Unique identifier for the subscriber" }, "type": { "type": "string", "description": "Resource type", "enum": [ "subscriber" ] }, "attributes": { "$ref": "#/$defs/Subscriber_attributes" } } }, "Subscriber_attributes": { "required": [ "email", "unsubscribed" ], "type": "object", "properties": { "email": { "type": "string", "description": "Subscriber's email address", "format": "email" }, "first_name": { "type": "string", "description": "Subscriber's first name" }, "last_name": { "type": "string", "description": "Subscriber's last name" }, "unsubscribed": { "type": "boolean", "description": "Whether the subscriber is unsubscribed" } } } } }