This module reads schemas; it does not validate requests, own engines, or keep a registry — so it
carries its own reader rather than depending on a validation module to project data. The dialects
it accepts are public specifications, not one library's API: Standard Schema first, then the
safeParse/parse shape, then a plain validate. An application writes its schemas once and both
sides of the boundary read them.
Substitutable: pass your own IContractChecker and this one steps aside.
Runs a schema and reports what it said.
This module reads schemas; it does not validate requests, own engines, or keep a registry — so it carries its own reader rather than depending on a validation module to project data. The dialects it accepts are public specifications, not one library's API: Standard Schema first, then the
safeParse/parseshape, then a plainvalidate. An application writes its schemas once and both sides of the boundary read them.Substitutable: pass your own IContractChecker and this one steps aside.