[{"data":1,"prerenderedAt":486},["ShallowReactive",2],{"/docs/jobs/dojjob/features/laws":3,"/docs/jobs/dojjob/features/laws-surround":474,"/docs/jobs/dojjob/features/laws-implemented-suggestions":485},{"id":4,"title":5,"body":6,"description":464,"extension":465,"head":466,"implementedSuggestions":466,"meta":467,"navigation":468,"path":469,"schemaOrg":466,"seo":470,"sitemap":471,"stem":472,"__hash__":473},"docs/1.docs/0.jobs/5.dojjob/3.features/08.laws.md","Laws & Offence Catalogue",{"type":7,"value":8,"toc":450},"minimark",[9,14,27,34,38,66,83,199,203,225,231,234,238,248,254,259,262,266,272,275,337,340,343,346,351,370,379,383,437],[10,11,13],"h2",{"id":12},"legal-books-and-offences","Legal books and offences",[15,16,17,18,22,23,26],"p",{},"The ",[19,20,21],"strong",{},"Legal Codes"," app stores your server's legal texts as books with revision history. The ",[19,24,25],{},"Offence Catalogue"," stores structured penalties that staff can select and total. These are separate records: changing a paragraph does not automatically change an offence's fine or jail value.",[15,28,29],{},[30,31],"img",{"alt":32,"src":33},"Legal book editor","/products/doj/law-editor-overview-en-preview-9144d32582.webp",[10,35,37],{"id":36},"setup-and-permissions","Setup and permissions",[15,39,40,41,45,46,49,50,53,54,57,58,61,62,65],{},"Keep ",[42,43,44],"code",{},"Config.ToggleFeatures.tablet",", ",[42,47,48],{},"legalCodes"," and ",[42,51,52],{},"offences"," enabled. In ",[42,55,56],{},"/jobconfig",", select the DOJ job and allow the relevant tablet apps for the intended grades. Assign ",[19,59,60],{},"Manage legal codes"," to staff who maintain books and ",[19,63,64],{},"Manage offences"," to staff who maintain the catalogue. Read access does not by itself permit changes. The normal tablet duty requirement still applies.",[15,67,68,69,72,73,49,78,82],{},"Saved Job Configurator values take priority over fallback defaults in ",[42,70,71],{},"config/config.lua",". See ",[74,75,77],"a",{"href":76},"/docs/jobs/dojjob/setup/configuration","Configuration",[74,79,81],{"href":80},"/docs/jobs/dojjob/setup/permissions","Permissions"," before assigning access to a production department.",[84,85,86,102],"table",{},[87,88,89],"thead",{},[90,91,92,96,99],"tr",{},[93,94,95],"th",{},"Default",[93,97,98],{},"Value",[93,100,101],{},"Purpose",[103,104,105,121,134,147,160,173,186],"tbody",{},[90,106,107,113,118],{},[108,109,110],"td",{},[42,111,112],{},"Config.LegalCodes.item",[108,114,115],{},[42,116,117],{},"doj_law_book",[108,119,120],{},"Inventory item used for a fixed legal-code edition.",[90,122,123,128,131],{},[108,124,125],{},[42,126,127],{},"maxBookTitleLength",[108,129,130],{},"160",[108,132,133],{},"Maximum book-title length.",[90,135,136,141,144],{},[108,137,138],{},[42,139,140],{},"maxAbbreviationLength",[108,142,143],{},"16",[108,145,146],{},"Maximum abbreviation length.",[90,148,149,154,157],{},[108,150,151],{},[42,152,153],{},"maxContentBytes",[108,155,156],{},"1,048,576",[108,158,159],{},"Maximum saved content size per book.",[90,161,162,167,170],{},[108,163,164],{},[42,165,166],{},"maxRevisionSummaryLength",[108,168,169],{},"255",[108,171,172],{},"Maximum change-summary length.",[90,174,175,180,183],{},[108,176,177],{},[42,178,179],{},"Config.Offences.maxSelection",[108,181,182],{},"50",[108,184,185],{},"Maximum offence selection submitted to the calculator.",[90,187,188,193,196],{},[108,189,190],{},[42,191,192],{},"Config.Offences.mirandaWarning",[108,194,195],{},"Empty",[108,197,198],{},"Custom Miranda warning; empty uses the standard text in the selected language.",[10,200,202],{"id":201},"maintain-a-legal-book","Maintain a legal book",[204,205,206,213,216,219,222],"ol",{},[207,208,209,210,212],"li",{},"Open ",[19,211,21],{}," and create a book with its title and abbreviation.",[207,214,215],{},"Add and organise the legal text in the editor. Supported tools include headings, paragraphs, lists, tables, links, images, find/replace and DOCX import.",[207,217,218],{},"Check the reader presentation, then save the revision with a useful change summary.",[207,220,221],{},"Use the history list to inspect earlier revisions. A save includes the version you opened; if another editor has changed the book, resolve the conflict against the current version before saving again.",[207,223,224],{},"Keep related offence entries up to date separately when the penalty rules change.",[15,226,227,230],{},[19,228,229],{},"Saving a new current revision updates the public legal text."," There is no separate draft, legal approval and publication workflow for law books. Prepare unfinished proposals outside the public legal book until they are ready. Older history entries are available to authorised editors; the public collection reads the current version.",[15,232,233],{},"DOCX import converts supported content into the editor's own format. Check headings, tables and pagination after importing; it is not a pixel-perfect Microsoft Word viewer.",[10,235,237],{"id":236},"public-reader-and-inventory-editions","Public reader and inventory editions",[15,239,240,241,244,245,247],{},"Place a ",[19,242,243],{},"Public legal code"," interaction under the courthouse's locations in ",[42,246,56],{},". Citizens can use this point to read the current collection without a DOJ employee account.",[15,249,250],{},[30,251],{"alt":252,"src":253},"Public legal-code reader","/products/doj/public-law-constitution-en-preview-c11a214a1e.webp",[15,255,17,256,258],{},[42,257,117],{}," inventory item behaves differently: its first use captures the current collection as a fixed edition and stores the edition reference in that item's metadata. Later law edits do not rewrite the carried copy. The edition remains readable from its archive even if the editable book changes.",[15,260,261],{},"Use an inventory provider that supports per-slot item metadata. Keep law books as individual, non-stacked items. Existing inventory definitions are preserved during item registration, so an older stacked definition may need correction. If a player has a stack, split it before the first use. A player must still possess the edition item to read its archived content.",[10,263,265],{"id":264},"configure-the-offence-catalogue","Configure the offence catalogue",[15,267,268],{},[30,269],{"alt":270,"src":271},"Offence catalogue and calculator","/products/doj/offence-catalogue-preview-898377724f.webp",[15,273,274],{},"Create categories with a name and colour, then assign offences to them. Each offence has an identifier/law reference, name, type, notes and these structured values:",[84,276,277,287],{},[87,278,279],{},[90,280,281,284],{},[93,282,283],{},"Field",[93,285,286],{},"Meaning",[103,288,289,297,305,313,321,329],{},[90,290,291,294],{},[108,292,293],{},"Fine",[108,295,296],{},"Monetary penalty used by the calculator.",[90,298,299,302],{},[108,300,301],{},"Jail months",[108,303,304],{},"Custody value used by the calculator.",[90,306,307,310],{},[108,308,309],{},"Community service hours",[108,311,312],{},"Service value used by the calculator.",[90,314,315,318],{},[108,316,317],{},"Court required",[108,319,320],{},"Flags that the offence needs court review.",[90,322,323,326],{},[108,324,325],{},"Criminal record",[108,327,328],{},"Records whether the offence should be treated as a criminal-record offence.",[90,330,331,334],{},[108,332,333],{},"Bail",[108,335,336],{},"Optional bail amount displayed with the offence.",[15,338,339],{},"Select offences to calculate their combined fine, jail and community-service values. The calculator also reports how many selected offences require court review. Repeated copies of the same offence ID are deduplicated; this is not a quantity-based charge multiplier.",[15,341,342],{},"The calculator calculates figures; it does not issue a bill, imprison a citizen or create a judgment. Ordinary Police fine and custody workflows remain available without requiring a DOJ verdict first. A court-review flag does not disable direct enforcement.",[15,344,345],{},"An in-use category cannot simply be removed. Reassign its offences first. After changing the catalogue, verify the result in both the DOJ view and any configured Police integration.",[347,348,350],"h3",{"id":349},"custom-miranda-warning","Custom Miranda warning",[15,352,209,353,355,356,355,359,355,362,365,366,369],{},[42,354,56],{}," → ",[19,357,358],{},"DOJ",[19,360,361],{},"Fine catalogue",[19,363,364],{},"Catalogue guidance"," and edit ",[19,367,368],{},"Miranda warning",". The field supports multiple lines. Save the settings to update the warning in an open catalogue without clearing the current selection. Leave the field empty to restore the standard text in the selected language.",[15,371,372,373,375,376,378],{},"With the Job Configurator disabled, set ",[42,374,192],{}," in ",[42,377,71],{}," and restart the resource. The warning is displayed as plain text; HTML is not rendered.",[10,380,382],{"id":381},"operational-checks","Operational checks",[84,384,385,395],{},[87,386,387],{},[90,388,389,392],{},[93,390,391],{},"Symptom",[93,393,394],{},"Check",[103,396,397,405,413,421,429],{},[90,398,399,402],{},[108,400,401],{},"An editor can read but cannot save",[108,403,404],{},"App access, duty and the matching management permission.",[90,406,407,410],{},[108,408,409],{},"Citizens see text that was meant to remain a draft",[108,411,412],{},"Saving the current legal-book revision makes it the public version.",[90,414,415,418],{},[108,416,417],{},"A carried book still shows an older law",[108,419,420],{},"This is expected for a fixed edition; obtain a new item for a new edition.",[90,422,423,426],{},[108,424,425],{},"First use of a law book fails",[108,427,428],{},"Item metadata support, stack size and whether the collection contains a saved book.",[90,430,431,434],{},[108,432,433],{},"Calculator and prose disagree",[108,435,436],{},"Legal text and offence values are maintained independently.",[15,438,439,440,444,445,449],{},"For document-based warrants and signed court orders, see ",[74,441,443],{"href":442},"/docs/jobs/dojjob/features/documents","Documents & Signatures",". Integration contracts are listed under ",[74,446,448],{"href":447},"/docs/jobs/dojjob/api/server-exports","Server Exports",".",{"title":451,"searchDepth":452,"depth":453,"links":454},"",1,2,[455,456,457,458,459,463],{"id":12,"depth":453,"text":13},{"id":36,"depth":453,"text":37},{"id":201,"depth":453,"text":202},{"id":236,"depth":453,"text":237},{"id":264,"depth":453,"text":265,"children":460},[461],{"id":349,"depth":462,"text":350},3,{"id":381,"depth":453,"text":382},"Maintain legal books, distribute fixed editions and configure the offence calculator.","md",null,{},true,"/docs/jobs/dojjob/features/laws",{"title":5,"description":464},{"loc":469},"1.docs/0.jobs/5.dojjob/3.features/08.laws","p91wEs4ol6EsJjAXluVutKLj-IaolwhAOa3h48IKUsI",[475,480],{"title":476,"path":477,"stem":478,"description":479,"children":-1},"Sharing and printing","/docs/jobs/dojjob/features/sharing-printing","1.docs/0.jobs/5.dojjob/3.features/07.sharing-printing","Manage document recipients, find incoming agency records and collect physical copies from a configured printer.",{"title":481,"path":482,"stem":483,"description":484,"children":-1},"Hearings & Courtrooms","/docs/jobs/dojjob/features/hearings","1.docs/0.jobs/5.dojjob/3.features/09.hearings","Schedule hearings, configure courtroom points and run proceedings with admitted evidence.",[],1790630722573]