Skip to content
RUMLRUML

Open Format for Digital Law

2.1 General Properties

2.1 General Properties

File Extension

  • Primary: .ruml
  • Evaluation results: .ruml-result (see Section 2.2)
  • Capability extensions: .ruml-ext (see Chapter 4.5)
  • Container: .rumlc (ZIP, see Chapter 7) — for compression, signature, and encryption

MIME Type

  • Current: application/x-ruml
  • Future (after IANA registration): application/vnd.rulemapping.ruml+json

Character Encoding

  • MUST: UTF-8 (Rule FMT-01FMT-01 The file MUST be encoded in UTF-8.)
  • Other encodings are NOT permitted

JSON Conformity

  • RUML files MUST be valid JSON according to RFC 8259 (Rule FMT-02FMT-02 The file MUST be valid JSON (RFC 8259), and its root MUST be an object.)
  • Pretty-printing with indentation is RECOMMENDED for human readability
  • Compact representation (minified) is permitted
  • Canonical representation MUST follow RFC 8785 for hash computation at container level (see Chapter 7)

File Sizes

  • No inherent size limitations
  • Implementations SHOULD be able to handle files up to 100 MB
  • Compression is RECOMMENDED for larger files

Conformance tests