{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/argorant-com/json-schema/argorant-com-export-schema.json",
  "title": "Export",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/argorant-com-openapi.json#/components/schemas/Export",
  "type": "object",
  "properties": {
    "job_id": {
      "type": "integer",
      "description": "Export id."
    },
    "name": {
      "type": [
        "string",
        "null"
      ],
      "description": "Your name for the file."
    },
    "status": {
      "type": "string",
      "description": "Where the export is.",
      "enum": [
        "queued",
        "processing",
        "done",
        "failed",
        "cancelled"
      ]
    },
    "progress_pct": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Percent done."
    },
    "limit": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Rows asked for."
    },
    "total_rows": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Rows in the file."
    },
    "verified_rows": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Rows whose email passed the check."
    },
    "no_email_rows": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Rows without an email."
    },
    "grade_counts": {
      "type": [
        "object",
        "null"
      ],
      "description": "How many rows got each check result.",
      "additionalProperties": {
        "type": "integer"
      }
    },
    "downloadable": {
      "type": "boolean",
      "description": "true when the CSV can be downloaded."
    },
    "include_phones": {
      "type": "boolean",
      "description": "Whether phone numbers were asked for."
    },
    "exclude_previously_exported": {
      "type": "boolean",
      "description": "Whether people exported before were left out."
    },
    "credits_charged": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Credits charged for this file."
    },
    "emails_billed": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Emails charged."
    },
    "phones_billed": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Phone numbers charged."
    },
    "error_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "Why it failed, in plain words."
    },
    "billing_note": {
      "type": [
        "string",
        "null"
      ],
      "description": "How the file was charged, in one plain sentence."
    },
    "batch_id": {
      "type": [
        "integer",
        "null"
      ],
      "description": "The batch this file belongs to, for exports above 50,000 rows."
    },
    "chunk_index": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Its place in the batch."
    },
    "filters": {
      "type": "object",
      "description": "The filters of the export.",
      "additionalProperties": true
    },
    "created_at": {
      "type": [
        "string",
        "null"
      ],
      "description": "When it was created.",
      "format": "date-time"
    },
    "started_at": {
      "type": [
        "string",
        "null"
      ],
      "description": "When it started.",
      "format": "date-time"
    },
    "completed_at": {
      "type": [
        "string",
        "null"
      ],
      "description": "When it finished.",
      "format": "date-time"
    },
    "status_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "Path to check the export."
    },
    "download_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "Path of the CSV download once done."
    }
  }
}