{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-automation/json-schema/microsoft-azure-automation-dsc-node-configuration-schema.json",
  "title": "DscNodeConfiguration",
  "description": "Definition of the dsc node configuration.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-automation-dscnodeconfiguration-api-openapi.yml#/components/schemas/DscNodeConfiguration",
  "type": "object",
  "properties": {
    "properties": {
      "$ref": "#/$defs/DscNodeConfigurationProperties",
      "description": "Gets or sets the configuration properties.",
      "x-ms-client-flatten": true
    }
  },
  "allOf": [
    {
      "$ref": "#/$defs/ProxyResource"
    }
  ],
  "$defs": {
    "DscConfigurationAssociationProperty": {
      "type": "object",
      "description": "The Dsc configuration property associated with the entity.",
      "properties": {
        "name": {
          "type": "string",
          "description": "Gets or sets the name of the Dsc configuration."
        }
      }
    },
    "DscNodeConfigurationProperties": {
      "type": "object",
      "description": "Properties for the DscNodeConfiguration",
      "properties": {
        "lastModifiedTime": {
          "type": "string",
          "format": "date-time",
          "description": "Gets or sets the last modified time."
        },
        "creationTime": {
          "type": "string",
          "format": "date-time",
          "description": "Gets or sets creation time."
        },
        "configuration": {
          "$ref": "#/$defs/DscConfigurationAssociationProperty",
          "description": "Gets or sets the configuration of the node."
        },
        "source": {
          "type": "string",
          "description": "Source of node configuration."
        },
        "nodeCount": {
          "type": "integer",
          "format": "int64",
          "description": "Number of nodes with this node configuration assigned"
        },
        "incrementNodeConfigurationBuild": {
          "type": "boolean",
          "description": "If a new build version of NodeConfiguration is required."
        }
      }
    },
    "ProxyResource": {
      "type": "object",
      "title": "Proxy Resource",
      "description": "The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location",
      "allOf": [
        {
          "$ref": "#/$defs/Resource"
        }
      ]
    }
  }
}