{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/orbit/main/json-schema/orbit-webhook-subscription-schema.json",
  "title": "webhook_subscription",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/orbit-webhooks-api-openapi.yml#/components/schemas/webhook_subscription",
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "url": {
      "type": "string"
    },
    "secret": {
      "type": "string"
    },
    "event_type": {
      "type": "string"
    },
    "activity_types": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "activity_tags": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "member_tags": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "name",
    "event_type",
    "url"
  ]
}