{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mynto-no/json-schema/mynto-no-webhooks-delivery-schema.json",
  "title": "Delivery is one attempt to deliver one event, as shown in the log.\n",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mynto-no-openapi.yml#/components/schemas/webhooks.Delivery",
  "properties": {
    "attempts": {
      "format": "int64",
      "type": "integer"
    },
    "createdAt": {
      "type": "string"
    },
    "eventId": {
      "type": "string"
    },
    "eventType": {
      "type": "string"
    },
    "id": {
      "format": "int64",
      "type": "integer"
    },
    "lastError": {
      "type": "string"
    },
    "lastStatus": {
      "format": "int64",
      "type": "integer"
    },
    "status": {
      "title": "Status: pending | sending | delivered | failed\n",
      "type": "string"
    }
  },
  "required": [
    "id",
    "eventType",
    "eventId",
    "status",
    "attempts",
    "lastStatus",
    "lastError",
    "createdAt"
  ],
  "type": "object"
}