{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-opensearch/json-schema/amazon-opensearch-failover-replication-request-schema.json",
  "title": "FailoverReplicationRequest",
  "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/FailoverReplicationRequest",
  "type": "object",
  "properties": {
    "DomainName": {
      "type": "string"
    },
    "PeerDomainArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the relationship's current primary. The request is rejected if this domain is no longer the peer of the domain you are calling."
    },
    "AllowDataLoss": {
      "type": "boolean",
      "description": "Acknowledges that writes which had not yet replicated are lost. You must set this to true; the request is rejected otherwise."
    }
  },
  "required": [
    "DomainName",
    "PeerDomainArn",
    "AllowDataLoss"
  ]
}