{
  "$defs": {
    "OutboxState": {
      "description": "Lifecycle state of one leased outbox delivery.\n\nThe state machine is: ``PENDING`` (enqueued, unclaimed) \u2192 ``SENDING``\n(a consumer holds the lease and is attempting delivery) \u2192 terminal\n``SENT`` (delivered) or ``DEAD`` (permanently undeliverable \u2014 a terminal\nsend failure, or a delivery that kept crashing mid-send past\n``max_attempts``). A claim atomically creates the row directly in\n``SENDING``; ``PENDING`` exists for rows seeded by a future producer path.",
      "enum": [
        "PENDING",
        "SENDING",
        "SENT",
        "DEAD"
      ],
      "title": "OutboxState",
      "type": "string"
    }
  },
  "additionalProperties": false,
  "properties": {
    "channel_id": {
      "anyOf": [
        {
          "maxLength": 1500,
          "minLength": 1,
          "pattern": "^[^/]+$",
          "type": "string",
          "x-max-utf8-bytes": 1500
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Recorded destination channel ID to match.",
      "title": "Channel Id"
    },
    "count": {
      "default": false,
      "description": "Count matching records, including unreadable records.",
      "title": "Count",
      "type": "boolean"
    },
    "cursor": {
      "anyOf": [
        {
          "maxLength": 32768,
          "minLength": 1,
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Opaque next.cursor.token; omit for page one.",
      "title": "Cursor"
    },
    "event_id": {
      "anyOf": [
        {
          "maxLength": 1500,
          "minLength": 1,
          "pattern": "^[^/]+$",
          "type": "string",
          "x-max-utf8-bytes": 1500
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Opaque notification event ID to match; pass unchanged.",
      "title": "Event Id"
    },
    "limit": {
      "default": 20,
      "description": "Maximum documents per page, 1\u201350.",
      "maximum": 50,
      "minimum": 1,
      "title": "Limit",
      "type": "integer"
    },
    "order": {
      "default": "asc",
      "description": "Opaque delivery ID order, asc or desc; this is not chronological order.",
      "enum": [
        "asc",
        "desc"
      ],
      "title": "Order",
      "type": "string"
    },
    "state": {
      "anyOf": [
        {
          "$ref": "#/$defs/OutboxState"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Recorded state to match; omit for every state."
    }
  },
  "title": "list_notification_deliveriesArguments",
  "type": "object"
}
