{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/moderncollections-io/json-schema/moderncollections-io-get-v1-exports-jobid-response-schema.json",
  "title": "GetV1ExportsJobidResponse",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/moderncollections-io-openapi-generated.yml#/components/schemas/GetV1ExportsJobidResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "UUID of the job."
    },
    "kind": {
      "type": "string",
      "description": "Which dataset a CSV export job pulls from. Possible values: placements, payments, remittances, ledger_entries, recovery_report."
    },
    "status": {
      "type": "string",
      "description": "Lifecycle of an async CSV export job. Possible values: queued, running, completed, failed, expired."
    },
    "params": {
      "type": "object",
      "description": "Params."
    },
    "row_count": {
      "type": "integer",
      "description": "Nullable."
    },
    "error_message": {
      "type": "string",
      "description": "Nullable."
    },
    "requested_at": {
      "type": "string",
      "description": "Date-time."
    },
    "completed_at": {
      "type": "string",
      "description": "Date-time, nullable."
    },
    "expires_at": {
      "type": "string",
      "description": "Date-time, nullable."
    },
    "download_url": {
      "type": "string",
      "description": "Nullable."
    }
  }
}