{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-opensearch/refs/heads/main/json-schema/openapi-zone-awareness-config-schema.json",
  "title": "ZoneAwarenessConfig",
  "description": "Specifies the zone awareness configuration for the domain cluster, such as the number of availability zones.",
  "type": "object",
  "properties": {
    "AvailabilityZoneCount": {
      "allOf": [
        {
          "$ref": "#/components/schemas/IntegerClass"
        },
        {
          "description": "An integer value to indicate the number of availability zones for a domain when zone awareness is enabled. This should be equal to number of subnets if VPC endpoints is enabled"
        }
      ]
    }
  }
}