{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pagecrawl-io/json-schema/pagecrawl-io-post-api-hooks-request-schema.json",
  "title": "PostApiHooksRequest",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/pagecrawl-io-openapi-generated.yml#/components/schemas/PostApiHooksRequest",
  "type": "object",
  "properties": {
    "target_url": {
      "type": "string",
      "description": "URL where PageCrawl will send webhook deliveries."
    },
    "match_type": {
      "type": "string",
      "description": "How to match pages; example value \"all\"."
    },
    "events": {
      "type": "array",
      "description": "List of events to subscribe to, e.g., [\"change_detected\"]."
    }
  },
  "required": [
    "target_url",
    "match_type",
    "events"
  ]
}