Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,075 of 9,075 pages
About the help in other languages
All help pages

Content model for courts

Shipped Exponential classes that fit a court site and recipes for Decision, Court location and Guide classes with real datatypes, with the decision's publication status kept as an object state.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/government/levels/courts/content-model.md

On this page

Content model for courts

This page is for website creators and project managers who design the classes of a court or tribunal site. The classes and datatypes named exist in Exponential (sevenx_classes, kernel/classes/datatypes/); the class editor is in Content classes for websites.

Contents

  1. Shipped classes that fit
  2. Class to add: Decision
  3. Publication status as an object state
  4. Class to add: Court location
  5. Class to add: Guide
  6. Rules for court content

Shipped classes that fit

ClassIdentifierUse
Folderfolderguidance areas, decision collections by year or area of law
Articlearticlenews, explanations
Filefileforms, rules, practice directions, annual reports
Documentation pagedocumentation_pagemulti-chapter guidance
Linklinke-filing systems, legal aid services
Feedback formfeedback_formgeneral enquiries (never case documents)

Class to add: Decision

AttributeIdentifierDatatypeWhy
TitletitleText line (ezstring)the case name as the rules allow it to be published (often initials or a neutral name)
Case numbercase_numberText linethe citable reference
Court or chamberchamberSelection (ezselection)
Date of decisiondecision_dateDate (ezdate)
Area of lawareaTags (eztags)
SummarysummaryXML block (ezxmltext)a short headnote, also anonymized
Decision textdocumentFile (ezbinaryfile)the anonymized document
Publish untilhide_dateDate and time (ezdatetime)only where rules limit the publication period; used by hide.php

Keep no unanonymized text in any attribute: summaries and titles carry personal data as easily as the document.

Publication status as an object state

A state group decision_status with Under review, Published, Corrected, Withdrawn:

UseHow
Show the status on the pagetemplates read the state
Limit who may withdrawstate/assign with NewState = Withdrawn for the publishing lead only
Keep reviewers' rights to content under reviewcontent/read limited by StateGroup_decision_status

Setting a state makes no new version and changes no text (Object states).

Class to add: Court location

AttributeIdentifierDatatype
NamenameText line
AddressaddressText block (eztext)
Opening hoursopening_hoursXML block
Getting there and accessibilityaccessXML block (step-free access, hearing loops, quiet rooms)
Security screeningsecurityXML block (what may be brought in)
ContactcontactXML block (a registry mailbox and phone)

Class to add: Guide

AttributeIdentifierDatatypeWhy
TitletitleText line"Responding to a claim"
In shortsummaryText blockthree to five sentences in plain language
StepsbodyXML blocknumbered steps with headings
FormsformsObject relations (ezobjectrelationlist)File objects
Applies fromeffective_fromDatewhen rules change
Next reviewreview_dateDate

Rules for court content

RuleReason
Decisions in their own class and sectionseparate permissions and review
One object per decision, never edited for content after publication except to correct, with a notethe published text is the court's text
Search-indexed attributes chosen with carethe search index holds what is searchable; mark only the summary and metadata searchable if documents must not be indexed
Forms as files, guidance as HTMLguidance must be readable without a download

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x