{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-automation/json-schema/microsoft-azure-automation-webhook-update-parameters-schema.json",
  "title": "WebhookUpdateParameters",
  "description": "The parameters supplied to the update webhook operation.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-automation-webhook-api-openapi.yml#/components/schemas/WebhookUpdateParameters",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Gets or sets the name of the webhook."
    },
    "properties": {
      "$ref": "#/$defs/WebhookUpdateProperties",
      "description": "Gets or sets the value of the webhook.",
      "x-ms-client-flatten": true
    }
  },
  "$defs": {
    "WebhookUpdateProperties": {
      "type": "object",
      "description": "The properties of the update webhook.",
      "properties": {
        "isEnabled": {
          "type": "boolean",
          "description": "Gets or sets the value of the enabled flag of webhook."
        },
        "runOn": {
          "type": "string",
          "description": "Gets or sets the name of the hybrid worker group the webhook job will run on."
        },
        "parameters": {
          "type": "object",
          "description": "Gets or sets the parameters of the job.",
          "additionalProperties": {
            "type": "string"
          }
        },
        "description": {
          "type": "string",
          "description": "Gets or sets the description of the webhook."
        }
      }
    }
  }
}