{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Identity",
  "title": "Identity",
  "type": "object",
  "description": "The identity configuration for the application pool worker process.",
  "properties": {
    "identity_type": {
      "type": "string",
      "description": "The type of identity used by the application pool.",
      "enum": [
        "ApplicationPoolIdentity",
        "LocalSystem",
        "LocalService",
        "NetworkService",
        "SpecificUser"
      ],
      "default": "ApplicationPoolIdentity",
      "example": "ApplicationPoolIdentity"
    },
    "username": {
      "type": "string",
      "description": "The username for the identity when using SpecificUser identity type.",
      "example": "example_value"
    },
    "load_user_profile": {
      "type": "boolean",
      "description": "Whether to load the user profile for the worker process.",
      "default": true,
      "example": true
    }
  }
}