{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-opensearch/json-schema/amazon-opensearch-add-replication-peer-request-schema.json",
  "title": "AddReplicationPeerRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-opensearch-replication-api-openapi.yml#/components/schemas/AddReplicationPeerRequest",
  "type": "object",
  "properties": {
    "DomainName": {
      "type": "string"
    },
    "PeerDomainArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the domain to replicate to. The peer must be in a different Region from the domain you are calling, and in the same AWS account."
    },
    "DryRun": {
      "type": "boolean",
      "description": "When true, validates the request and reports whether replication could be established, without changing either domain."
    }
  },
  "required": [
    "DomainName",
    "PeerDomainArn"
  ]
}