{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mynto-no/json-schema/mynto-no-webhooks-subscription-schema.json",
  "title": "webhooks.Subscription",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mynto-no-openapi.yml#/components/schemas/webhooks.Subscription",
  "properties": {
    "active": {
      "type": "boolean"
    },
    "createdAt": {
      "type": "string"
    },
    "disabledReason": {
      "description": "hidden: \"my webhooks stopped and I don't know why\" is the single most common integration support ticket in this category, and it is entirely avoidable.\n",
      "title": "DisabledReason explains an auto-disabled subscription. Surfaced rather than\n",
      "type": "string"
    },
    "eventTypes": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "id": {
      "format": "int64",
      "type": "integer"
    },
    "url": {
      "type": "string"
    }
  },
  "required": [
    "id",
    "url",
    "eventTypes",
    "active",
    "disabledReason",
    "createdAt"
  ],
  "type": "object"
}