{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/bandwidth/refs/heads/main/json-structure/messaging-message-list-structure.json", "name": "MessageList", "description": "MessageList schema from Bandwidth messaging API", "type": "object", "properties": { "totalCount": { "type": "int32", "description": "The total number of messages matching the query" }, "pageInfo": { "type": "object", "properties": { "prevPage": { "type": "string", "description": "Token for the previous page" }, "nextPage": { "type": "string", "description": "Token for the next page" }, "prevPageToken": { "type": "string", "description": "Previous page token for pagination" }, "nextPageToken": { "type": "string", "description": "Next page token for pagination" } } }, "messages": { "type": "array", "items": { "$ref": "#/components/schemas/Message" } } } }