{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/past-dev/json-schema/past-dev-webhook-receipt-schema.json",
  "title": "WebhookReceipt",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/past-dev-openapi.json#/components/schemas/WebhookReceipt",
  "type": "object",
  "required": [
    "eventId",
    "requestId",
    "verdict"
  ],
  "additionalProperties": false,
  "properties": {
    "eventId": {
      "type": "string",
      "description": "The id of the event, beginning with evt_, assigned at receipt."
    },
    "requestId": {
      "type": "string",
      "description": "The id of this call, as in the X-Request-Id header."
    },
    "verdict": {
      "type": "string",
      "enum": [
        "ingested",
        "dropped"
      ]
    },
    "droppedBy": {
      "type": [
        "string",
        "null"
      ],
      "description": "On a dropped event: the first filter that did not match, or the missing content. Null on an ingested event."
    },
    "ingestionId": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "description": "The ingestion id of an ingested event, read with the ingestion status operation. Null on a dropped event."
    },
    "dataPointId": {
      "type": [
        "string",
        "null"
      ],
      "description": "The source id of the data point: the mapped id, or the event id when the webhook maps none. Null on a dropped event."
    },
    "unchanged": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "True when the event repeats a data point whose content and time are unchanged."
    }
  }
}