{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/linkedin/json-schema/linkedin-sales-analytics-export-job-response-schema.json",
  "title": "SalesAnalyticsExportJobResponse",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/linkedin-sales-analytics-export-api-openapi.yml#/components/schemas/SalesAnalyticsExportJobResponse",
  "type": "object",
  "properties": {
    "value": {
      "$ref": "#/$defs/SalesAnalyticsExportJob"
    }
  },
  "$defs": {
    "SalesAnalyticsExportJob": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "description": "A unique identifier for the job"
        },
        "status": {
          "type": "string",
          "enum": [
            "ENQUEUED",
            "PROCESSING",
            "COMPLETED",
            "FAILED_DUE_TO_EXCEEDED_FILE_SIZE_ERROR",
            "FAILED_DUE_TO_TIMED_OUT",
            "FAILED_DUE_TO_DATA_DELAY",
            "FAILED_DUE_TO_INTERNAL_ERROR"
          ],
          "description": "Current status of the export job"
        },
        "downloadUrl": {
          "type": [
            "string",
            "null"
          ],
          "description": "URL for downloading the exported data when job is completed"
        },
        "expireAt": {
          "type": [
            "integer",
            "null"
          ],
          "description": "Expiration timestamp of the download URL"
        },
        "rowCount": {
          "type": [
            "integer",
            "null"
          ],
          "description": "Number of rows in the exported data"
        }
      },
      "required": [
        "id",
        "status"
      ]
    }
  }
}