{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ip1sms/json-schema/ip1sms-get-v2-batches-response2-schema.json",
  "title": "GetV2BatchesResponse2",
  "x-generated": "2026-11-16",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/ip1sms-openapi-generated.yml#/components/schemas/GetV2BatchesResponse2",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Batch ID."
    },
    "sender": {
      "type": "string",
      "description": "The sender ID used in the messages."
    },
    "body": {
      "type": "string",
      "description": "The original body, i.e. the message text, which is sent, before templates have been applied, according to the original request."
    },
    "owner": {
      "type": "string",
      "description": "The account number of the SMS account that owns the batch"
    },
    "direction": {
      "type": "string",
      "description": "Tells you if the message sent or received by our system"
    },
    "type": {
      "type": "string",
      "description": "Describes the type of message."
    },
    "datacoding": {
      "type": "string",
      "description": "Tells you which character set is used for the batch."
    },
    "priority": {
      "type": "integer",
      "description": "Describes the priority used for the batch."
    },
    "templated": {
      "type": "boolean",
      "description": "Indicates if the batch body (message text) contains templating."
    },
    "priceSummary": {
      "type": "object",
      "description": "Gives a summary of the cost of the batch and the currency that debited the account."
    },
    "messageSummary": {
      "type": "object",
      "description": "Gives a summary of the number of messages in the batch divided into status groups."
    },
    "deliveryWindows": {
      "type": "array",
      "description": "Displays the batch time window"
    },
    "status": {
      "type": "integer",
      "description": "Current status of the batch."
    },
    "deliveryReportUrl": {
      "type": "string",
      "description": "Displays any callback url for receiving delivery reports to external software."
    },
    "reference": {
      "type": "string",
      "description": "Displays the batch reference if available."
    },
    "tags": {
      "type": "array",
      "description": "Displays any tags in the batch."
    }
  }
}