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§
- Conversion
Report - Report of conversion quality and potential data loss.
- Legal
Converter - Universal converter between legal DSL formats.
- Semantic
Validation - Semantic preservation validation result.
Enums§
- Interop
Error - Errors during interop operations.
- Legal
Format - Supported legal DSL formats.
Traits§
- Format
Exporter - Trait for exporting to external formats.
- Format
Importer - Trait for importing from external formats.
Type Aliases§
- Interop
Result - Result type for interop operations.