{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fnlowl-com/json-schema/fnlowl-com-sending-status-schema.json",
  "title": "SendingStatus",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fnlowl-com-email-api-openapi.yml#/components/schemas/SendingStatus",
  "type": "object",
  "properties": {
    "state": {
      "type": "string",
      "enum": [
        "healthy",
        "warned",
        "paused"
      ]
    },
    "sentToday": {
      "type": "integer"
    },
    "dailyCap": {
      "type": "integer"
    },
    "bounceRate": {
      "type": "number"
    },
    "complaintRate": {
      "type": "number"
    },
    "reasons": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "sharedTrial": {
      "type": "object",
      "properties": {
        "sendsUsed": {
          "type": "integer"
        },
        "sendsCap": {
          "type": "integer"
        },
        "blocked": {
          "type": "boolean"
        },
        "expiresAt": {
          "type": [
            "integer",
            "null"
          ]
        }
      },
      "required": [
        "sendsUsed",
        "sendsCap",
        "blocked",
        "expiresAt"
      ]
    }
  },
  "required": [
    "state",
    "sentToday",
    "dailyCap",
    "bounceRate",
    "complaintRate",
    "reasons"
  ]
}