{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-opensearch/json-schema/amazon-opensearch-list-domain-names-response-schema.json",
  "title": "ListDomainNamesResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-opensearch-domain-api-openapi.yml#/components/schemas/ListDomainNamesResponse",
  "type": "object",
  "properties": {
    "DomainNames": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/DomainInfo"
      },
      "description": "The names of all OpenSearch Service domains owned by the current user and their respective engine types."
    }
  },
  "$defs": {
    "DomainInfo": {
      "type": "object",
      "properties": {
        "DomainName": {
          "type": "string",
          "description": "Name of the domain."
        },
        "EngineType": {
          "type": "string",
          "enum": [
            "OpenSearch",
            "Elasticsearch"
          ],
          "description": "The type of search engine that the domain is running.OpenSearch for an OpenSearch engine, or Elasticsearch for a legacy Elasticsearch OSS engine."
        }
      }
    }
  }
}