{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/jupiterinvoice-com/json-schema/jupiterinvoice-com-webhook-schema.json",
  "title": "Webhook",
  "x-generated": "2026-11-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/jupiterinvoice-com-openapi.yml#/components/schemas/Webhook",
  "properties": {
    "active": {
      "type": "boolean"
    },
    "created_at": {
      "format": "date-time",
      "readOnly": true,
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "event_types": {
      "description": "Empty array = all events",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "id": {
      "readOnly": true,
      "type": "integer"
    },
    "last_delivered_at": {
      "format": "date-time",
      "readOnly": true,
      "type": "string"
    },
    "last_status": {
      "readOnly": true,
      "type": "integer"
    },
    "secret": {
      "description": "Signing secret. Returned only on POST /webhooks; store immediately.",
      "type": "string"
    },
    "url": {
      "format": "uri",
      "type": "string"
    }
  },
  "type": "object"
}