AISOURCEOFTRUTH · EVIDENCE ROOMS

Load files: Concordance DAT and Opticon OPT

Law firms review evidence in tools such as Relativity and Everlaw, which import a production as load files: a Concordance DAT with one row per document and an Opticon OPT with one row per page image. Evidence Rooms writes both as part of a court export.

Asking for one

POST /api/cases/{id}/exports
{"kind": "loadfile", "bates_prefix": "ACME"}

bates_prefix is optional: 1 to 24 letters, digits, dots, underscores or hyphens. Left out, it is ROOMS (Example). Over MCP, call create_export with kind: "loadfile". Who may export is the same as for a court export. A case with no files answers 422.

The answer is the court export tar, with everything a court export holds and one production volume under loadfile/:

loadfile/VOL001.dat                   Concordance DAT
loadfile/VOL001.opt                   Opticon OPT
loadfile/NATIVES/ROOMS00000001.csv   each version's original bytes
loadfile/IMAGES/ROOMS00000001.png    each page image, Bates stamped
loadfile/TEXT/ROOMS00000001.txt      the text, when the native file is text

The volume number counts the case's load-file exports: VOL001, then VOL002. Paths inside the DAT and OPT are relative to the folder that holds them and use backslashes, as review tools expect. A document is one version of one item, so an amended file gives two documents and the second names the first in AMENDS.

Bates numbers

Concordance DAT

FieldWhat it holds
BEGBATESthe document's first Bates number
ENDBATESits last Bates number
PAGECOUNTits pages
ITEMIDthe item id
ITEMNAMEthe item's name
ITEMKINDthe item's kind, such as file, screenshot or chat
VERSIONIDthe version id
VERSIONthe version number, 1 for the original
AMENDSthe version id this one corrects, or empty
REASONwhy it was corrected, or empty
FILENAMEthe file name as uploaded
MEDIATYPEthe media type as uploaded
FILESIZEbytes
SHA256the file's SHA-256, hex
CAPTUREDATwhen the uploader says it was captured, or empty
RECEIVEDATwhen Rooms received it
SIGNERthe account that signed the upload
REGISTRYURLthe public registry record, when anchored
NATIVEPATHthe native file's path in the volume
TEXTPATHthe text file's path in the volume, or empty
EXPORTPATHthe same file's path under files/ in this export

Opticon OPT

One line per page, CRLF, ASCII. DocBreak is Y on a document's first page, and the page count is set on that page only. Folder and box breaks are left empty.

ImageKey,Volume,Path,DocBreak,FolderBreak,BoxBreak,PageCount
ROOMS00000001,VOL001,IMAGES\ROOMS00000001.png,Y,,,2
ROOMS00000002,VOL001,IMAGES\ROOMS00000002.png,,,,

Text and page images

Checking it

Every file under loadfile/ is listed with its SHA-256 in manifest.json, so the verifier inside the export checks the volume with the rest of it, offline. Anyone can also check an export at /verify.