Morphir IR Schema Version 3 - Interactive Viewer
This page provides an interactive viewer for the Morphir IR JSON Schema version 3 (current stable).
Download
- JSON: morphir-ir-v3.json
- YAML: morphir-ir-v3.yaml
Interactive Schema Viewer
Browse the schema structure interactively below.
Loading schema...
Schema Highlights
Version 3 is the current stable version with consistent PascalCase tags:
| Element | Tag Format |
|---|---|
| Distribution | "Library" |
| Access Control | "Public", "Private" |
| Type Tags | "Variable", "Reference", "Tuple", "Record", "Function", "Unit" |
| Value Tags | "Apply", "Lambda", "Literal", "LetDefinition", "PatternMatch" |
| Literal Tags | "BoolLiteral", "StringLiteral", "WholeNumberLiteral", "FloatLiteral" |
Examples
LCR (Liquidity Coverage Ratio)
The LCR is a comprehensive real-world example of Morphir IR v3. It demonstrates regulatory calculations for banking liquidity requirements, showcasing:
- Complex type definitions (records, custom types)
- Business logic as pure functions
- Pattern matching and conditional expressions
- Module organization for regulatory domains
Download: lcr-morphir-ir.json
Loading LCR example (3.5 MB)...