{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/appskyline-com/json-schema/appskyline-com-webhook-subscription-schema.json",
  "title": "WebhookSubscription",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/appskyline-com-openapi.json#/components/schemas/WebhookSubscription",
  "type": "object",
  "required": [
    "_id",
    "organizationId",
    "url",
    "active"
  ],
  "properties": {
    "_id": {
      "type": "string"
    },
    "organizationId": {
      "type": "string"
    },
    "url": {
      "type": "string",
      "format": "uri"
    },
    "active": {
      "type": "boolean"
    },
    "events": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "secret": {
      "type": "string",
      "description": "Returned only when the subscription is created."
    }
  },
  "additionalProperties": true
}