{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/mongodb/main/json-schema/mongodb-api-search-deployment-request-view-schema.json",
  "title": "ApiSearchDeploymentRequestView",
  "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/ApiSearchDeploymentRequestView",
  "properties": {
    "specs": {
      "description": "List of settings that configure the Search Nodes for your cluster.\n\n**NOTE**: We accept a single configuration for all nodes currently.",
      "items": {
        "$ref": "#/$defs/ApiSearchDeploymentSpecView"
      },
      "maxItems": 1,
      "minItems": 1,
      "type": "array"
    }
  },
  "required": [
    "specs"
  ],
  "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"
    }
  }
}