{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-sqs/json-schema/amazon-sqs-change-message-visibility-batch-request-schema.json",
  "title": "ChangeMessageVisibilityBatchRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-sqs-messages-api-openapi.yml#/components/schemas/ChangeMessageVisibilityBatchRequest",
  "type": "object",
  "properties": {
    "QueueUrl": {
      "type": "string",
      "description": "The URL of the Amazon SQS queue whose messages' visibility is changed. Queue URLs and names are case-sensitive."
    },
    "Entries": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ChangeMessageVisibilityBatchRequestEntry"
      },
      "description": "Lists the receipt handles of the messages for which the visibility timeout must be changed."
    }
  },
  "required": [
    "QueueUrl",
    "Entries"
  ],
  "$defs": {
    "ChangeMessageVisibilityBatchRequestEntry": {
      "type": "object",
      "properties": {
        "Id": {
          "type": "string",
          "description": "An identifier for this particular receipt handle used to communicate the result. The Ids of a batch request need to be unique within a request. This identifier can have up to 80 characters. The following characters are accepted: alphanumeric characters, hyphens(-), and underscores (_)."
        },
        "ReceiptHandle": {
          "type": "string",
          "description": "A receipt handle."
        },
        "VisibilityTimeout": {
          "type": "integer",
          "description": "The new value (in seconds) for the message's visibility timeout."
        }
      },
      "required": [
        "Id",
        "ReceiptHandle"
      ]
    }
  }
}