Related formats¶
Scope: formats, profiles and schemas that overlap what CAP models but publish no term IRIs, so no skos:closeMatch can be asserted with them. Where a vocabulary does the same job with real resources, it belongs on the External vocabulary alignments pages instead.
A format earns an entry here when it models something CAP models in a representation that has no resources to point at. The correspondences below are readings, in prose: they are there to help someone move data between the two, not to license an inference. Nothing on this page is asserted in the ontology, and the alignment test suite deliberately knows nothing about it.
RUML — Rulemapping Logic Format¶
Format: RUML – Rulemapping Logic Format 1.0.0 (15 November 2026), an open, JSON-based file format for the machine-executable representation of legal decision logic.
Publisher: Law as Code Institut GmbH; rights to the specification held by Rulemapping Group GmbH.
Namespace: none. The ruml: prefix of chapter 4.4 namespaces capability IDs inside a JSON document; it is not an RDF namespace and its terms carry no IRIs.
Specification: https://ruml.org/1.0.0/ — cite the version address, not the latest one.
Licence: specification under CC BY-SA 4.0; the JSON Schemas, conformance tests and examples under Apache-2.0. "RUML" is a trademark of Rulemapping Group GmbH, with an EU application filed.
Attribution: RUML – Rulemapping Logic Format, version 1.0.0, © Rulemapping Group GmbH, published by Law as Code Institut GmbH, licensed under CC BY-SA 4.0.
What it models¶
A RUML file holds decision logic as an artifact of its own and references the legal wording it comes from - it does not mark up legislation.
The document separates three layers: metadata (3.3, the document's description, jurisdiction, language and its single classification documentType), rulemap (3.4, the decision tree as a flat map of nodes keyed by LexID, each node carrying an operator such as AND, a label and children), and capabilities (4.x, vendor-extensible behaviour under reverse-domain prefixes).
Evaluation produces a separate .ruml-result file (5.x) whose nodes carry one of true, false, undefined, ignored.
A container format (7.x) wraps files with a hash layer, a signature layer and an encryption layer.
CAP models the conformity assessment machinery - who assessed what, against which scheme, with what result. RUML models the decision logic that may sit behind such a judgement. The two meet where a rule is executed and something is issued as the outcome.
Where CAP meets it¶
These are readings, not asserted matches. Do not build conformance claims on them.
| RUML | CAP | Why it is a reading and not an alignment |
|---|---|---|
.ruml-result (5.x), node statuses |
cap:ConformityAssessmentResult |
the closest pair on either side, but a RUML result is explicitly documentation-only - "actions are NOT re-triggered - the stored result serves exclusively for documentation purposes" - and carries no issuer, no attester and no validity window |
rulemap (3.4) |
cap:ConformityAssessmentScheme, cap:SpecifiedRequirement |
a rulemap is arguably the executable form of what a scheme specifies, but it has no owner, no cap:managedWithin system and no object of assessment: it decides, it does not attest |
metadata.documentType = documentGeneration - "notices, contracts, reports, certificates" |
cap:Certification |
RUML can generate a certificate; CAP describes the attestation, the body that issued it and the window it holds for |
| container signature layer (7.4) | cap:Notary, cap:notarisedBy, cap:notarisedAt, cap:NotaryEvidence |
the same concern - a third party attesting the integrity of a digital artifact - reached through different machinery: detached CMS over RFC 8785 canonicalised JSON, with PKIX chain and revocation checks, rather than a Verifiable Credential |
ruml:text-reference (4.12), anchoring logic to legislative wording |
cap:SpecifiedRequirement citing a normative source |
RUML points at the wording a rule came from; CAP states a requirement a scheme imposes, which may come from legislation or from nowhere |
Why nothing is asserted¶
skos:closeMatch is a relation between two resources, and RUML publishes none.
Its "namespaces" are key prefixes for JSON properties, its normative artifacts are JSON Schemas, and its own chapter 1.5 closes the door: "This specification does not define formal mappings to such standards. Their use alongside RUML is not addressed."
Writing cap:ConformityAssessmentResult skos:closeMatch ruml:Result would mint the right-hand side ourselves, in a namespace we do not own, for a term that does not exist as a resource - inventing exactly what the assertion bar exists to prevent.
The difference with LOMO is instructive: LOMO publishes http://data.europa.eu/leg/lomo#ActionResult with SHACL shapes and documentation, so a match can be checked against the other side's own constraints. RUML offers a schema that validates a JSON document, which nothing in an RDF graph can be validated against.
The one place RUML says something CAP should hear¶
Chapter 7.4 describes the qualified-signature workflow used for legally binding documents under eIDAS, ZertES and the ESIGN Act: canonicalise the file (RFC 8785), hash it, send the hash to a qualified trust service provider, have the QTSP sign it on the signer's key held in an HSM, store the signature alongside, and update the manifest. It then splits validation depth by stakes: "A development tool MAY limit itself to cryptographic validity. A system for legally binding documents MUST verify the complete certificate chain and revocation status."
That is CAP's cap:Notary from the other side.
A QTSP notarising a hash is a third party attesting that a digital artifact is what its issuer says it is, which is what cap:notarisedBy and cap:NotaryEvidence record, and the two-tier validation rule is the same distinction CAP draws between a document that merely carries a signature and one whose notarisation evidence a consumer can actually rely on.
It is corroboration for the shape of the CAP terms, not a mapping to them: the PKIX world and the credential world describe the same act in vocabularies that do not share resources.
Adding an entry¶
An entry belongs here when three things hold: the thing models something CAP models, it publishes no dereferenceable term IRIs, and the correspondence is useful enough that someone moving data between the two would otherwise invent it.
State the publisher, the version address to cite and the licence, keep every correspondence labelled as a reading, and leave the ontology and tests/test_alignments.py alone - nothing on this page is asserted.