Expand description
JSON Schema import (draft 2020-12, and the common keywords of earlier drafts), the inverse of the export: a type becomes a token, bounds become size builders, formats and patterns their builders, enum and const become Exact, properties and items become objects and arrays, the compositions become One, All and Discriminated, and a definition is inlined where it is referenced, with Define and Refer only where a definition refers to itself. A property that is not required and has no default is Skip. Unknown keywords are ignored; an unknown type or reference is an error.
Structs§
- Json
Schema Error - A document that does not import.
Functions§
- from_
json_ schema - Build a spec from a JSON Schema document. Compile it with
Schema::new, or compose it further with the builders.