Modules§
Structs§
- Array
Validation - Properties of a
SchemaObject
which define validation assertions for arrays. - Metadata
- Properties which annotate a
SchemaObject
which typically have no effect when an object is being validated against the schema. - Number
Validation - Properties of a
SchemaObject
which define validation assertions for numbers. - Object
Validation - Properties of a
SchemaObject
which define validation assertions for objects. - Root
Schema - The root object of a JSON Schema document.
- Schema
Generator - Schema generator.
- Schema
Object - A JSON Schema object.
- Schema
Settings - Settings to customize how schemas are generated.
- String
Validation - Properties of a
SchemaObject
which define validation assertions for strings. - Subschema
Validation - Properties of a
SchemaObject
which define validation assertions in terms of other schemas.
Enums§
- Instance
Type - The possible types of values in JSON Schema documents.
- Schema
- A JSON Schema.
- Single
OrVec - A type which can be serialized as a single item, or multiple items.
Functions§
- apply_
base_ metadata - Applies metadata to the given schema.
- convert_
to_ flattened_ schema - default_
schema_ settings - generate_
any_ of_ schema - generate_
bool_ schema - generate_
const_ string_ schema - generate_
enum_ schema - generate_
internal_ tagged_ variant_ schema - generate_
null_ schema - generate_
number_ schema - generate_
one_ of_ schema - generate_
root_ schema - generate_
root_ schema_ with_ settings - generate_
string_ schema - generate_
struct_ schema - generate_
tuple_ schema - get_
cleaned_ schema_ reference - get_
or_ generate_ schema - has_
ambiguous_ discriminants - Determines whether an enum schema is ambiguous based on discriminants of its variants.