{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hopdrive/json-schema/hopdrive-patch-v1-webhooks-id-request-schema.json",
  "title": "PatchV1WebhooksIdRequest",
  "x-generated": "2026-12-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/hopdrive-openapi-generated.yml#/components/schemas/PatchV1WebhooksIdRequest",
  "type": "object",
  "properties": {
    "description": {
      "type": "string",
      "description": "Description of what the webhook is intended for. This is only for your own reference and documentation."
    },
    "target_url": {
      "type": "string",
      "description": "A publicly accessible HTTPS endpoint that is setup to receive a POST payload then return a 200 response quickly."
    },
    "version": {
      "type": "string",
      "description": "A version string indicating the structure of the payload for HopDrive to send to the webhook endpoint."
    },
    "secret": {
      "type": "string",
      "description": "A shared secret used to sign the payload with an HMAC signature in the header of the webhook http transaction."
    },
    "event_types": {
      "type": "string",
      "description": "An array of strings (webhook event names) for defining which webhook events this webhook should listen to."
    }
  },
  "required": [
    "target_url",
    "secret",
    "event_types"
  ]
}