{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-s3/json-schema/amazon-s3-get-table-replication-response-schema.json",
  "title": "GetTableReplicationResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-s3-table-replication-api-openapi.yml#/components/schemas/GetTableReplicationResponse",
  "type": "object",
  "properties": {
    "versionToken": {
      "type": "string",
      "description": "A version token that represents the current state of the table's replication configuration. Use this token when updating the configuration to ensure consistency."
    },
    "configuration": {
      "$ref": "#/$defs/TableReplicationConfiguration"
    }
  },
  "required": [
    "versionToken",
    "configuration"
  ],
  "$defs": {
    "ReplicationDestination": {
      "type": "object",
      "properties": {
        "destinationTableBucketARN": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the destination table bucket where tables will be replicated."
        }
      },
      "required": [
        "destinationTableBucketARN"
      ]
    },
    "TableReplicationConfiguration": {
      "type": "object",
      "properties": {
        "role": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the IAM role that S3 Tables assumes to replicate the table on your behalf."
        },
        "rules": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/TableReplicationRule"
          },
          "description": "An array of replication rules that define where this table should be replicated."
        }
      },
      "required": [
        "role",
        "rules"
      ]
    },
    "TableReplicationRule": {
      "type": "object",
      "properties": {
        "destinations": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ReplicationDestination"
          },
          "description": "An array of destination table buckets where this table should be replicated."
        }
      },
      "required": [
        "destinations"
      ]
    }
  }
}