{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/bigcommerce/main/json-schema/bigcommerce-301-redirect-import-export-job-read-schema.json",
  "title": "301RedirectImportExportJobRead",
  "description": "Full detail of a Redirect Import-Export job.",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bigcommerce-import-export-api-openapi.yml#/components/schemas/301RedirectImportExportJobRead",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "description": "The Import-Export job ID."
    },
    "type": {
      "$ref": "#/$defs/ImportExportJobType"
    },
    "status": {
      "$ref": "#/$defs/ImportExportJobStatus"
    },
    "completed_items": {
      "type": "integer",
      "description": "The number of items that were successfully imported or exported."
    },
    "failed_items": {
      "type": "integer",
      "description": "The number of items that were not successfully imported or exported."
    },
    "total_items": {
      "type": "integer",
      "description": "The number of items in the import or export job."
    },
    "errors": {
      "$ref": "#/$defs/ImportErrors"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "The date-time that the import-export job was created, formatted as an [RFC-3339](https://www.ietf.org/rfc/rfc3339.txt) string."
    },
    "completed_at": {
      "type": "string",
      "format": "date-time",
      "description": "The date-time that the import-export job was completed, formatted as an [RFC-3339](https://www.ietf.org/rfc/rfc3339.txt) string."
    }
  },
  "$defs": {
    "ImportErrors": {
      "type": "array",
      "items": {
        "type": "object",
        "description": "Detail of an error that occurred during an import job.",
        "properties": {
          "row": {
            "type": "integer",
            "description": "The row in the import CSV where the error occurred."
          },
          "message": {
            "type": "string"
          }
        }
      }
    },
    "ImportExportJobStatus": {
      "type": "string",
      "enum": [
        "new",
        "working",
        "complete",
        "aborted",
        "failed"
      ]
    },
    "ImportExportJobType": {
      "type": "string",
      "enum": [
        "import",
        "export"
      ]
    }
  }
}