{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/mongodb/main/json-schema/mongodb-api-search-deployment-response-view-schema.json",
  "title": "ApiSearchDeploymentResponseView",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mongodb-atlas-search-api-openapi.yml#/components/schemas/ApiSearchDeploymentResponseView",
  "properties": {
    "encryptionAtRestProvider": {
      "description": "Cloud service provider that manages your customer keys to provide an additional layer of Encryption At Rest for the cluster.",
      "enum": [
        "NONE",
        "AWS",
        "AZURE",
        "GCP"
      ],
      "readOnly": true,
      "type": "string"
    },
    "groupId": {
      "description": "Unique 24-hexadecimal character string that identifies the project.",
      "pattern": "^([a-f0-9]{24})$",
      "readOnly": true,
      "type": "string"
    },
    "id": {
      "description": "Unique 24-hexadecimal digit string that identifies the search deployment.",
      "pattern": "^([a-f0-9]{24})$",
      "readOnly": true,
      "type": "string"
    },
    "specs": {
      "description": "List of settings that configure the Search Nodes for your cluster. The configuration will be returned for each region and shard.",
      "items": {
        "$ref": "#/$defs/ApiSearchDeploymentSpecView"
      },
      "readOnly": true,
      "type": "array"
    },
    "stateName": {
      "description": "Human-readable label that indicates the current operating condition of this search deployment.",
      "enum": [
        "IDLE",
        "PAUSED",
        "UPDATING"
      ],
      "readOnly": true,
      "type": "string"
    }
  },
  "type": "object",
  "$defs": {
    "ApiSearchDeploymentSpecView": {
      "properties": {
        "instanceSize": {
          "description": "Hardware specification for the Search Node instance sizes.",
          "enum": [
            "S20_HIGHCPU_NVME",
            "S30_HIGHCPU_NVME",
            "S40_HIGHCPU_NVME",
            "S50_HIGHCPU_NVME",
            "S60_HIGHCPU_NVME",
            "S70_HIGHCPU_NVME",
            "S80_HIGHCPU_NVME",
            "S30_LOWCPU_NVME",
            "S40_LOWCPU_NVME",
            "S50_LOWCPU_NVME",
            "S60_LOWCPU_NVME",
            "S70_LOWCPU_NVME",
            "S80_LOWCPU_NVME",
            "S90_LOWCPU_NVME",
            "S100_LOWCPU_NVME",
            "S110_LOWCPU_NVME",
            "S120_LOWCPU_NVME",
            "S130_LOWCPU_NVME",
            "S135_LOWCPU_NVME",
            "S140_LOWCPU_NVME",
            "S40_STORAGE_NVME",
            "S50_STORAGE_NVME",
            "S60_STORAGE_NVME",
            "S80_STORAGE_NVME",
            "S90_STORAGE_NVME"
          ],
          "type": "string"
        },
        "nodeCount": {
          "description": "Number of Search Nodes in the cluster.",
          "format": "int32",
          "maximum": 32,
          "minimum": 2,
          "type": "integer"
        }
      },
      "required": [
        "instanceSize",
        "nodeCount"
      ],
      "type": "object"
    }
  }
}