{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-cloud-compute-engine/json-schema/google-cloud-compute-engine-node-type-schema.json",
  "title": "NodeType",
  "description": "Represent a sole-tenant Node Type resource.\n\nEach node within a node group must have a node type. A node type specifies\nthe total amount of cores and memory for that node. Currently, the only\navailable node type is n1-node-96-624 node type that has 96\nvCPUs and 624 GB of memory, available in multiple zones. For more information\nreadNode types.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-cloud-compute-engine-node-types-api-openapi.yml#/components/schemas/NodeType",
  "type": "object",
  "properties": {
    "guestCpus": {
      "type": "integer",
      "description": "[Output Only] The number of virtual CPUs that are available to the node\ntype.",
      "format": "int32"
    },
    "localSsdGb": {
      "format": "int32",
      "description": "[Output Only] Local SSD available to the node type, defined in GB.",
      "type": "integer"
    },
    "cpuPlatform": {
      "description": "[Output Only] The CPU platform used by this node type.",
      "type": "string"
    },
    "zone": {
      "description": "Output only. [Output Only] The name of the zone where the node type resides,\nsuch as us-central1-a.",
      "type": "string",
      "readOnly": true
    },
    "memoryMb": {
      "format": "int32",
      "type": "integer",
      "description": "[Output Only] The amount of physical memory available to the node type,\ndefined in MB."
    },
    "id": {
      "type": "string",
      "format": "uint64",
      "description": "[Output Only] The unique identifier for the resource. This identifier is\ndefined by the server."
    },
    "selfLink": {
      "readOnly": true,
      "type": "string",
      "description": "Output only. [Output Only] Server-defined URL for the resource."
    },
    "name": {
      "type": "string",
      "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
      "description": "[Output Only] Name of the resource."
    },
    "maxVms": {
      "description": "Output only. [Output Only] Maximum number of VMs that can be created for this node type.",
      "readOnly": true,
      "format": "int32",
      "type": "integer"
    },
    "deprecated": {
      "$ref": "#/$defs/DeprecationStatus",
      "description": "[Output Only] The deprecation status associated with this node type."
    },
    "kind": {
      "readOnly": true,
      "description": "Output only. [Output Only] The type of the resource. Alwayscompute#nodeType for node types.",
      "default": "compute#nodeType",
      "type": "string"
    },
    "description": {
      "description": "[Output Only] An optional textual description of the resource.",
      "type": "string"
    },
    "creationTimestamp": {
      "description": "[Output Only] Creation timestamp inRFC3339\ntext format.",
      "type": "string"
    }
  },
  "$defs": {
    "DeprecationStatus": {
      "description": "Deprecation status for a public resource.",
      "type": "object",
      "properties": {
        "deleted": {
          "description": "An optional RFC3339 timestamp on or after which the state of this\nresource is intended to change to DELETED. This is only\ninformational and the status will not change unless the client explicitly\nchanges it.",
          "type": "string"
        },
        "obsolete": {
          "description": "An optional RFC3339 timestamp on or after which the state of this\nresource is intended to change to OBSOLETE. This is only\ninformational and the status will not change unless the client explicitly\nchanges it.",
          "type": "string"
        },
        "deprecated": {
          "description": "An optional RFC3339 timestamp on or after which the state of this\nresource is intended to change to DEPRECATED. This is only\ninformational and the status will not change unless the client explicitly\nchanges it.",
          "type": "string"
        },
        "state": {
          "type": "string",
          "description": "The deprecation state of this resource. This can be ACTIVE,DEPRECATED, OBSOLETE, or DELETED.\nOperations which communicate the end of life date for an image, can useACTIVE. Operations which create a new resource using aDEPRECATED resource will return successfully, but with a\nwarning indicating the deprecated resource and recommending its\nreplacement. Operations which use OBSOLETE orDELETED resources will be rejected and result in an error.",
          "enum": [
            "ACTIVE",
            "DELETED",
            "DEPRECATED",
            "OBSOLETE"
          ]
        },
        "replacement": {
          "description": "The URL of the suggested replacement for a deprecated resource.\nThe suggested replacement resource must be the same kind of resource as the\ndeprecated resource.",
          "type": "string"
        }
      }
    }
  }
}