Skip to main content

Crate legalis_interop

Crate legalis_interop 

Source
Expand description

Legalis-Interop: Interoperability layer for legal DSL formats.

This crate enables Legalis-RS to import from and export to other legal DSL formats:

  • Catala: French legal DSL for tax and benefits legislation (Inria)
  • Stipula: Italian legal DSL for smart contracts (University of Bologna)
  • L4: Singapore’s legal DSL with deontic logic support
  • Akoma Ntoso: XML standard for legislative documents (OASIS)
  • LegalRuleML: XML standard for legal rules
  • LegalDocML: OASIS legal document markup standard
  • LKIF: Legal Knowledge Interchange Format (ESTRELLA)
  • LegalCite: OASIS standard for legal citation (TC LegalCiteM)
  • MetaLex: CEN standard for legal document metadata (CWA 15710)
  • MPEG-21 REL: ISO standard for rights expression (ISO/IEC 21000-5)
  • Creative Commons: CC license format (RDF/XML)
  • SPDX: Software Package Data Exchange license expressions (ISO/IEC 5962:2021)

Modules§

ai_converter
AI-powered format conversion utilities.
akoma_ntoso
Akoma Ntoso format support.
basel3
Basel III compliance format support.
blockchain_docs
Smart contract documentation generation.
bpmn
BPMN (Business Process Model and Notation) import/export.
cache
Conversion caching for improved performance.
cadence
Cadence (Flow blockchain) smart contract to legal format conversion.
catala
Catala format support.
cicero
Accord Project Cicero format support.
clauseio
Clause.io template format support.
cli
CLI tool for standalone legal format conversion.
cmmn
CMMN (Case Management Model and Notation) import/export - OMG standard for case management.
commonform
CommonForm format support.
compatibility
Format compatibility analysis.
contractexpress
ContractExpress format support.
coverage
Format coverage analysis and reporting.
creative_commons
Creative Commons license format import/export.
dmn
DMN (Decision Model and Notation) import/export - OMG standard for decision modeling.
dms
Document Management System (DMS) integration for legalis-interop.
docusign
DocuSign envelope format support.
enhanced
Enhanced converters with integrated optimizations.
error_handling
Advanced error handling module.
errors
Enhanced error types with context information.
fidelity
Round-Trip Fidelity - Comprehensive fidelity analysis for format conversions.
finreg
FinReg (Financial Regulatory) format support.
format_detection
Automatic format detection for legal documents.
format_validation
Format Validation - Comprehensive validation for legal document formats.
formex
FORMEX format support.
incremental
Diff-aware incremental conversion for efficient updates.
l4
L4 format support.
legalcite
OASIS LegalCite format import/export.
legaldocml
LegalDocML format support.
legalruleml
LegalRuleML format support.
lkif
LKIF (Legal Knowledge Interchange Format) import/export.
metalex
CEN MetaLex format import/export.
metrics
Conversion metrics and logging for legalis-interop.
mifid2
MiFID II (Markets in Financial Instruments Directive II) reporting format support.
move_lang
Move (Aptos/Sui) smart contract to legal format conversion.
mpeg21_rel
MPEG-21 REL (Rights Expression Language) format import/export.
msword_legal
Microsoft Word Legal Add-in format support.
niem
NIEM format support.
openlaw
OpenLaw format support.
optimizations
Performance optimizations for format conversions.
pdf_legal
Adobe PDF legal annotations format support.
performance
Performance enhancements for legal document conversion.
quality
Quality assessment for legal document conversions.
regml
RegML (Regulation Markup Language) format support.
rest_api
REST API types and handlers for conversion service.
ruleml
RuleML (Rule Markup Language) import/export.
salesforce_contract
Salesforce Contract format support.
sap_legal
SAP Legal Module integration format support.
sbvr
SBVR (Semantics of Business Vocabulary and Business Rules) import/export - OMG standard.
schema
Schema validation and migration for legal document formats.
solidity
Solidity smart contract to legal format conversion.
spdx
SPDX (Software Package Data Exchange) license expression format import/export.
stipula
Stipula format support.
streaming
Streaming support for processing large legal documents.
streaming_v2
Streaming Conversion v2 - Advanced streaming capabilities for large-scale legal document conversion.
transformation
Transformation pipeline for customizing legal document conversions.
universal_format
Universal Legal Format (ULF) - Canonical interchange format.
validation
Validation utilities for interoperability operations.
vyper
Vyper smart contract to legal format conversion.
webhooks
Webhook notifications for conversion events.
xbrl
XBRL (eXtensible Business Reporting Language) format support.

Structs§

ConversionReport
Report of conversion quality and potential data loss.
LegalConverter
Universal converter between legal DSL formats.
SemanticValidation
Semantic preservation validation result.

Enums§

InteropError
Errors during interop operations.
LegalFormat
Supported legal DSL formats.

Traits§

FormatExporter
Trait for exporting to external formats.
FormatImporter
Trait for importing from external formats.

Type Aliases§

InteropResult
Result type for interop operations.