{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/salesforce-sales-cloud/json-schema/salesforce-sales-cloud-query-job-info-schema.json",
  "title": "QueryJobInfo",
  "description": "Detailed information about a query job",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/salesforce-sales-cloud-query-jobs-api-openapi.yml#/components/schemas/QueryJobInfo",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "operation": {
      "type": "string",
      "enum": [
        "query",
        "queryAll"
      ]
    },
    "object": {
      "type": "string"
    },
    "createdById": {
      "type": "string"
    },
    "createdDate": {
      "type": "string",
      "format": "date-time"
    },
    "systemModstamp": {
      "type": "string",
      "format": "date-time"
    },
    "state": {
      "type": "string",
      "enum": [
        "UploadComplete",
        "InProgress",
        "JobComplete",
        "Aborted",
        "Failed"
      ]
    },
    "concurrencyMode": {
      "type": "string"
    },
    "contentType": {
      "type": "string"
    },
    "apiVersion": {
      "type": "number"
    },
    "jobType": {
      "type": "string"
    },
    "lineEnding": {
      "type": "string"
    },
    "columnDelimiter": {
      "type": "string"
    },
    "numberRecordsProcessed": {
      "type": "integer"
    },
    "retries": {
      "type": "integer"
    },
    "totalProcessingTime": {
      "type": "integer"
    }
  }
}