{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/prospectapis/json-schema/prospectapis-event-source-schema.json",
  "title": "EventSource",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/prospectapis-events-api-openapi.yml#/components/schemas/EventSource",
  "type": "object",
  "required": [
    "platform",
    "status"
  ],
  "properties": {
    "platform": {
      "type": "string",
      "enum": [
        "luma",
        "partiful"
      ]
    },
    "status": {
      "type": "string",
      "enum": [
        "ok",
        "not_covered",
        "unreadable",
        "stored"
      ]
    },
    "reason": {
      "type": "string"
    },
    "read_at": {
      "type": "string",
      "format": "date-time"
    },
    "events_seen": {
      "type": "integer"
    },
    "complete": {
      "type": "boolean"
    },
    "cached": {
      "type": "boolean"
    }
  }
}