Expand description
High-level, filesystem-aware Rust API for the .norm format.
The facade owns explicit filesystem orchestration and packaged release
assets. Format parsing and validation semantics remain implemented once in
norm_spec_core.
Structs§
- ApiError
- A handled high-level API failure with stable machine-readable detail.
- Collect
Request - Explicit inputs for one inherited convention collection.
- Collect
Response - Successful
collectmachine response. - Collected
Norm - One parsed convention file in a
collectresponse. - Diagnostic
- Stable diagnostic emitted by schema, profile, or semantic validation.
- Error
Detail - Stable machine-readable error detail.
- Parsed
Norm - A parsed
.normdocument before it is wrapped in a machine response. - Schema
Load Error - Failure to load or parse a packaged or explicit Schema bundle.
- Validate
Request - Explicit inputs for one filesystem-aware validation operation.
- Validate
Response - Versioned machine response for a completed
validateevaluation. - Validation
Result - Validation outcome for one root-relative
.normpath. - Validation
Summary - Aggregate counts for a validation response.
Enums§
- Failure
Class - Stable caller-facing classification for a high-level API failure.
- Validation
Status - Overall classification of one validated
.normfile.
Constants§
- PROFILE_
NAMES - Names of the release-owned Schema profiles and authoring templates.
Functions§
- collect
- Collect inherited
.normfiles from most-specific target to project root. - embedded_
schema_ bundle - Load the release-owned Schema bundle embedded in this package.
- profile_
template - Return one packaged authoring template by profile name.
- schema_
bundle_ from_ dir - Load a root Schema and profile Schemas from an explicit directory.
- validate
- Validate one explicit input or every convention below an explicit root.