Module schema

Source

Modules§

parser
visit
visitors

Structs§

ArrayValidation
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.
NumberValidation
Properties of a SchemaObject which define validation assertions for numbers.
ObjectValidation
Properties of a SchemaObject which define validation assertions for objects.
RootSchema
The root object of a JSON Schema document.
SchemaGenerator
Schema generator.
SchemaObject
A JSON Schema object.
SchemaSettings
Settings to customize how schemas are generated.
StringValidation
Properties of a SchemaObject which define validation assertions for strings.
SubschemaValidation
Properties of a SchemaObject which define validation assertions in terms of other schemas.

Enums§

InstanceType
The possible types of values in JSON Schema documents.
Schema
A JSON Schema.
SingleOrVec
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.

Type Aliases§

Map
Set