{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-automation/json-schema/microsoft-azure-automation-node-counts-schema.json",
  "title": "NodeCounts",
  "description": "Gets the count of nodes by count type",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-automation-nodecountinformation-api-openapi.yml#/components/schemas/NodeCounts",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "Gets an array of counts",
      "items": {
        "$ref": "#/$defs/NodeCount"
      },
      "x-ms-identifiers": [
        "name"
      ]
    },
    "totalCount": {
      "type": "integer",
      "format": "int32",
      "description": "Gets the total number of records matching countType criteria."
    }
  },
  "$defs": {
    "NodeCount": {
      "type": "object",
      "description": "Number of nodes based on the Filter",
      "properties": {
        "name": {
          "type": "string",
          "description": "Gets the name of a count type"
        },
        "properties": {
          "$ref": "#/$defs/NodeCountProperties"
        }
      }
    },
    "NodeCountProperties": {
      "type": "object",
      "properties": {
        "count": {
          "type": "integer",
          "format": "int32",
          "description": "Gets the count for the name"
        }
      }
    }
  }
}