Document filename generator + folder-scaffold zip export (DMS / netDocuments) #145
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Idea
For every procedural event and its associated deadline, paliad knows enough to propose a filename for the document(s) that belong to it — and stitch those filenames into a folder structure that can be exported as a
.zipto scaffold a case file in HLC's DMS (netDocuments).Filename schema
Components:
<YYYY-MM-DD>2026-05-26<Issuer>UPC,LG-Duesseldorf,OpponentXY-GmbH,EPA,DPMA,Plaintiff,Defendant-1<Content>Klageschrift,Klageerwiderung,Berufungsbegruendung,Anlagenkonvolut,Versaeumnisurteil,Hinweisbeschluss<DocketNumber>UPC_CFI_120-2024,4a-O-12-25(LG D'dorf),EP1234567B1,21W12345.6(DPMA)Docket-number is the anchor that survives a merge into netDocuments — if a colleague pulls 50 files into a folder, the docket suffix groups everything from the same proceedings. Period as separator between date components, underscore between slots, hyphen inside multi-token slots; ASCII only (Umlaute → ae/oe/ue/ss) because netDocuments and Outlook attachment surfaces are still hostile to non-ASCII filenames.
Zip-export shape
The export bundles a project's documents into a folder tree that matches netDocuments' expected layout. Strawman:
Folder ordering follows the project's
procedural_events.sequence_order(the same field that powers the Verfahrensablauf view). Each folder name is the phase / event-group label; each file inside follows the filename schema above.Open design questions (for an inventor pass)
issuerfield onprocedural_events/deadlines, or derive fromprimary_party+ the proceeding-type's court? Multi-party cases (multiple opponents, multiple defendants) need an explicit-party-pick at file-generation time.procedural_events.name_degood enough, or do we need a separatedocument_kindcontrolled vocabulary so filenames stay consistent across cases? (E.g. "Klageerwiderung" vs "Erwiderung auf die Klage" — both exist in the wild.)documentstable (1-event-to-N-documents)? Or stay implicit and let the user pick when generating filenames?Why this matters
File-naming is the single most consistent source of friction for litigation PAs. Today everyone invents their own scheme; collisions and missing docket suffixes mean files drift into the wrong netDocuments folder and become un-findable. Paliad already has all the structured inputs to generate canonical names — making them downloadable as a scaffold is the smallest viable step toward owning the DMS interface from paliad.
Scope notes
Acceptance criteria for the inventor design pass
sequence_orderranges orevent_kindbuckets become folders).GET /projects/<id>/documents.zip? Streamed? Cached?).Out of scope