{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fnlowl-com/json-schema/fnlowl-com-campaign-schema.json",
  "title": "Campaign",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fnlowl-com-campaigns-api-openapi.yml#/components/schemas/Campaign",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "subject": {
      "type": "string"
    },
    "body": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "draft",
        "sent"
      ]
    },
    "recipientScope": {
      "type": "string"
    },
    "sentAt": {
      "type": [
        "integer",
        "null"
      ]
    },
    "createdAt": {
      "type": "integer"
    }
  },
  "required": [
    "id",
    "name",
    "subject",
    "body",
    "status",
    "recipientScope",
    "sentAt",
    "createdAt"
  ]
}