{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-dynamodb/json-schema/amazon-dynamodb-update-global-table-input-schema.json",
  "title": "UpdateGlobalTableInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-dynamodb-global-tables-api-openapi.yml#/components/schemas/UpdateGlobalTableInput",
  "type": "object",
  "properties": {
    "GlobalTableName": {
      "type": "string",
      "description": "The global table name."
    },
    "ReplicaUpdates": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ReplicaUpdate"
      },
      "description": "A list of Regions that should be added or removed from the global table."
    }
  },
  "required": [
    "GlobalTableName",
    "ReplicaUpdates"
  ],
  "$defs": {
    "CreateReplicaAction": {
      "type": "object",
      "properties": {
        "RegionName": {
          "type": "string",
          "description": "The Region of the replica to be added."
        }
      },
      "required": [
        "RegionName"
      ]
    },
    "DeleteReplicaAction": {
      "type": "object",
      "properties": {
        "RegionName": {
          "type": "string",
          "description": "The Region of the replica to be removed."
        }
      },
      "required": [
        "RegionName"
      ]
    },
    "ReplicaUpdate": {
      "type": "object",
      "properties": {
        "Create": {
          "$ref": "#/$defs/CreateReplicaAction"
        },
        "Delete": {
          "$ref": "#/$defs/DeleteReplicaAction"
        }
      }
    }
  }
}