modeled-information-format/Structured MADR Validator
Validates Architectural Decision Records against the Structured MADR specification
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| mode | Validation mode: 'smadr' (structured-MADR frontmatter) or 'mif' (MIF conformance projection) | no | smadr |
| mif-level | MIF conformance level override (1|2|3). If empty, read from mif-config. | no | "" |
| mif-config | Path to the MIF config (relative to the consumer repo) | no | .github/config.yml |
| path | Path to the directory containing ADR files (relative to repository root) | no | docs/decisions |
| pattern | Glob pattern for ADR files | no | **/*.md |
| schema | Path to custom JSON Schema (uses built-in schema if not specified) | no | "" |
| strict | Enable strict mode (fail on warnings) | no | false |
| fail-on-error | Fail the workflow if validation errors are found | no | true |
Outputs
| name | description |
|---|---|
| valid | Whether all ADRs passed validation |
| total | Total number of ADR files checked |
| passed | Number of ADR files that passed validation |
| failed | Number of ADR files that failed validation |
| warnings | Number of warnings generated |
| mif-valid | MIF mode: whether all ADRs passed MIF conformance |
| mif-total | MIF mode: total ADRs checked |
| mif-passed | MIF mode: ADRs that passed MIF conformance |
| mif-failed | MIF mode: ADRs that failed MIF conformance |