{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/oracle-container-engine/json-schema/oracle-container-engine-node-pool-schema.json",
  "title": "NodePool",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/oracle-container-engine-node-pools-api-openapi.yml#/components/schemas/NodePool",
  "allOf": [
    {
      "$ref": "#/$defs/NodePoolSummary"
    },
    {
      "type": "object",
      "properties": {
        "nodeImageId": {
          "type": "string"
        },
        "nodeSource": {
          "type": "object",
          "additionalProperties": true
        },
        "quantityPerSubnet": {
          "type": "integer"
        },
        "subnetIds": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "nodeConfigDetails": {
          "type": "object",
          "properties": {
            "size": {
              "type": "integer"
            },
            "placementConfigs": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "availabilityDomain": {
                    "type": "string"
                  },
                  "subnetId": {
                    "type": "string"
                  }
                }
              }
            }
          }
        }
      }
    }
  ],
  "$defs": {
    "NodePoolSummary": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "clusterId": {
          "type": "string"
        },
        "compartmentId": {
          "type": "string"
        },
        "kubernetesVersion": {
          "type": "string"
        },
        "nodeShape": {
          "type": "string"
        },
        "lifecycleState": {
          "type": "string"
        }
      }
    }
  }
}