{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/ahasend/refs/heads/main/json-schema/openapi-v2-paginated-messages-response-schema.json", "title": "PaginatedMessagesResponse", "description": "PaginatedMessagesResponse schema from AhaSend API", "type": "object", "properties": { "object": { "type": "string", "enum": [ "list" ], "description": "Object type identifier", "example": "list" }, "data": { "type": "array", "items": { "$ref": "#/components/schemas/MessageSummary" }, "description": "Array of message summaries (content and content_parsed fields omitted for performance)", "example": [ { "object": "message", "created_at": "2025-03-15T14:30:00Z", "updated_at": "2025-03-15T14:30:00Z", "sent_at": "2025-03-15T14:30:00Z", "delivered_at": "2025-03-15T14:30:00Z" } ] }, "pagination": { "$ref": "#/components/schemas/PaginationInfo" } }, "required": [ "object", "data", "pagination" ] }