{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fnlowl-com/json-schema/fnlowl-com-sent-email-schema.json",
  "title": "SentEmail",
  "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/SentEmail",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "to": {
      "type": "string"
    },
    "subject": {
      "type": "string"
    },
    "source": {
      "type": "string",
      "enum": [
        "campaign",
        "sequence",
        "transactional",
        "widget"
      ]
    },
    "sourceId": {
      "type": [
        "string",
        "null"
      ]
    },
    "sourceName": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "queued",
        "delivered",
        "opened",
        "clicked",
        "bounced",
        "complained",
        "failed"
      ]
    },
    "sentAt": {
      "type": "integer"
    }
  },
  "required": [
    "id",
    "to",
    "subject",
    "source",
    "sourceId",
    "sourceName",
    "status",
    "sentAt"
  ]
}