{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-functions/json-schema/microsoft-azure-functions-application-stack-collection-schema.json",
  "title": "ApplicationStackCollection",
  "description": "Collection of Application Stacks",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-functions-provider-api-openapi.yml#/components/schemas/ApplicationStackCollection",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The ApplicationStackResource items on this page",
      "items": {
        "$ref": "#/$defs/ApplicationStackResource"
      }
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link to the next page of items"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "ApplicationStack": {
      "type": "object",
      "description": "Application stack.",
      "properties": {
        "name": {
          "type": "string",
          "description": "Application stack name."
        },
        "display": {
          "type": "string",
          "description": "Application stack display name."
        },
        "dependency": {
          "type": "string",
          "description": "Application stack dependency."
        },
        "majorVersions": {
          "type": "array",
          "description": "List of major versions available.",
          "items": {
            "$ref": "#/$defs/StackMajorVersion"
          },
          "x-ms-identifiers": [
            "runtimeVersion"
          ]
        },
        "frameworks": {
          "type": "array",
          "description": "List of frameworks associated with application stack.",
          "items": {
            "$ref": "#/$defs/ApplicationStack"
          },
          "x-ms-identifiers": [
            "name"
          ]
        },
        "isDeprecated": {
          "type": "array",
          "description": "<code>true</code> if this is the stack is deprecated; otherwise, <code>false</code>.",
          "items": {
            "$ref": "#/$defs/ApplicationStack"
          },
          "x-ms-identifiers": [
            "name"
          ]
        }
      }
    },
    "ApplicationStackResource": {
      "type": "object",
      "description": "ARM resource for a ApplicationStack.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/ApplicationStack",
          "description": "Core resource properties",
          "x-ms-client-flatten": true
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/ProxyOnlyResource"
        }
      ]
    },
    "ProxyOnlyResource": {
      "type": "object",
      "description": "Azure proxy only resource. This resource is not tracked by Azure Resource Manager.",
      "properties": {
        "id": {
          "type": "string",
          "description": "Resource Id.",
          "readOnly": true
        },
        "name": {
          "type": "string",
          "description": "Resource Name.",
          "readOnly": true
        },
        "kind": {
          "type": "string",
          "description": "Kind of resource."
        },
        "type": {
          "type": "string",
          "description": "Resource type.",
          "readOnly": true
        }
      }
    },
    "StackMajorVersion": {
      "type": "object",
      "description": "Application stack major version.",
      "properties": {
        "displayVersion": {
          "type": "string",
          "description": "Application stack major version (display only)."
        },
        "runtimeVersion": {
          "type": "string",
          "description": "Application stack major version (runtime only)."
        },
        "isDefault": {
          "type": "boolean",
          "description": "<code>true</code> if this is the default major version; otherwise, <code>false</code>."
        },
        "minorVersions": {
          "type": "array",
          "description": "Minor versions associated with the major version.",
          "items": {
            "$ref": "#/$defs/StackMinorVersion"
          },
          "x-ms-identifiers": [
            "runtimeVersion"
          ]
        },
        "applicationInsights": {
          "type": "boolean",
          "description": "<code>true</code> if this supports Application Insights; otherwise, <code>false</code>."
        },
        "isPreview": {
          "type": "boolean",
          "description": "<code>true</code> if this stack is in Preview, otherwise <code>false</code>."
        },
        "isDeprecated": {
          "type": "boolean",
          "description": "<code>true</code> if this stack has been deprecated, otherwise <code>false</code>."
        },
        "isHidden": {
          "type": "boolean",
          "description": "<code>true</code> if this stack should be hidden for new customers on portal, otherwise <code>false</code>."
        },
        "appSettingsDictionary": {
          "type": "object",
          "description": "<appSettings>\n<appSetting name=\"FUNCTIONS_WORKER_RUNTIME\" value=\"dotnet\" />\n</appSettings>\nExample: All the function apps need AppSetting: \"FUNCTIONS_WORKER_RUNTIME\" to be set stack name",
          "additionalProperties": {}
        },
        "siteConfigPropertiesDictionary": {
          "type": "object",
          "description": "<siteConfigProperties>\n<siteConfigProperty name=\"Use32BitWorkerProcess\" value=\"false\" />\n</siteConfigProperties>\nExample: All Linux Function Apps, need Use32BitWorkerProcess to be set to 0",
          "additionalProperties": {}
        }
      }
    },
    "StackMinorVersion": {
      "type": "object",
      "description": "Application stack minor version.",
      "properties": {
        "displayVersion": {
          "type": "string",
          "description": "Application stack minor version (display only)."
        },
        "runtimeVersion": {
          "type": "string",
          "description": "Application stack minor version (runtime only)."
        },
        "isDefault": {
          "type": "boolean",
          "description": "<code>true</code> if this is the default minor version; otherwise, <code>false</code>."
        },
        "isRemoteDebuggingEnabled": {
          "type": "boolean",
          "description": "<code>true</code> if this supports Remote Debugging, otherwise <code>false</code>."
        }
      }
    }
  }
}