NormEngineer
Menu
Regulatory complianceSupported

LegalRuleML

The OASIS standard for legal norms in XML: obligations, permissions and prohibitions with their bearers, conditions and precedence.

What it is

LegalRuleML Core is an OASIS Standard (version 1.0, 2021) built on RuleML. It marks up the deontic content of legal text, who bears it and which legal source it comes from, so that rules stay linked to the provisions they represent.

Good for

  • Exchanging norms between rule engines and legal-informatics tools in a standard XML format.
  • Keeping each rule tied to its legal source through LegalRuleML's own references and associations.
  • Teams that already work with RuleML or XML pipelines.

What an extraction gives you

Each norm is a prescriptive statement: a rule whose body holds the conditions and whose head is the obligation, permission or prohibition, with its bearer and auxiliary party, a paraphrase from the source quote and a legal reference to the provision by CELEX number.

The download

One file, legalruleml.lrml.xml: LegalRuleML XML. The disclaimer and the fidelity summary are an XML comment after the XML declaration.

How norms appear

The graph and the file name each part of a norm in LegalRuleML's own terms.

How a norm's parts are named in LegalRuleML
In the actIn LegalRuleML
A party the norm addressesBearer
ObligationObligation
PermissionPermission
ProhibitionProhibition
What the party doesAction
ConditionCondition (if)
Exceptionunless
Precedence over another normoverrides
LegalRuleML excerptDigital Operational Resilience Act (DORA, CELEX 32022R2554), Art. 19(1). From NormEngineer's test samples; their source quotes are abridged.
<lrml:PrescriptiveStatement key="dora.art19.1">
  <ruleml:Rule closure="universal">
    <lrml:Paraphrase>Financial entities shall report major ICT-related incidents to the relevant competent authority</lrml:Paraphrase>
    <ruleml:if>
      <ruleml:Atom key="dora.art19.1.c1">
        <ruleml:Rel>an ICT-related incident is classified as major</ruleml:Rel>
      </ruleml:Atom>
    </ruleml:if>
    <ruleml:then>
      <lrml:Obligation>
        <lrml:Bearer>
          <ruleml:Ind iri="#financial_entity">Financial entity</ruleml:Ind>
        </lrml:Bearer>
        <lrml:AuxiliaryParty>
          <ruleml:Ind iri="#competent_authority">Relevant competent authority</ruleml:Ind>
        </lrml:AuxiliaryParty>
        <ruleml:Atom>
          <ruleml:Rel>report the incident to the relevant competent authority</ruleml:Rel>
        </ruleml:Atom>
      </lrml:Obligation>
    </ruleml:then>
  </ruleml:Rule>
</lrml:PrescriptiveStatement>

On the extraction's page

Graph
The norms as a 2D or 3D graph in LegalRuleML's vocabulary, each traced to its source quote.
Source
The LegalRuleML file with its validation result, to read and download.
Fidelity
How fully each norm is expressed in LegalRuleML, and which checks ran.

How it is checked

  • Every source quote is verified against the act.
  • NormEngineer's structural validator checks the LegalRuleML file of every extraction.
  • NormEngineer does not check extractions with the official LegalRuleML XML schemas.

The Fidelity tab of each extraction says which checks ran on it. An extraction is AI-generated and not legal advice.

How fully it expresses a norm

Obligations, permissions and prohibitions, their bearers and the parties they are directed at, conditions, exceptions and precedence between norms are all in LegalRuleML's own elements.

What LegalRuleML does not express fully

  • Partly expressed

    All bearers are encoded; that any one of them is meant is stated in a comment only.

    When the act lets any one of several parties bear the norm.

  • Partly expressed

    All addressees are encoded; that any one of them is meant is stated in a comment only.

    When the norm is directed at any one of several parties.

  • Partly expressed

    The DSL has no deadlines: the deadline is only in the source quote.

    When a norm has a deadline.

Each extraction's fidelity report counts the norms each of these applies to.