{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/sinch/main/json-schema/sinch-delivery-report-list-schema.json", "title": "DeliveryReportList", "x-generated": "2026-10-08", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/sinch-delivery-reports-api-openapi.yml#/components/schemas/DeliveryReportList", "type": "object", "properties": { "count": { "type": "integer", "description": "Total number of delivery reports" }, "page": { "type": "integer", "description": "Current page number" }, "page_size": { "type": "integer", "description": "Number of reports per page" }, "delivery_reports": { "type": "array", "description": "List of delivery report objects", "items": { "$ref": "#/$defs/DeliveryReport" } } }, "$defs": { "DeliveryReport": { "type": "object", "properties": { "batch_id": { "type": "string", "description": "The batch identifier" }, "type": { "type": "string", "description": "The delivery report type" }, "statuses": { "type": "array", "description": "List of status objects with counts", "items": { "type": "object", "properties": { "code": { "type": "integer", "description": "The status code" }, "status": { "type": "string", "description": "The delivery status" }, "count": { "type": "integer", "description": "The number of recipients with this status" }, "recipients": { "type": "array", "description": "List of recipient phone numbers", "items": { "type": "string" } } } } }, "total_message_count": { "type": "integer", "description": "Total number of messages in the batch" } } } } }