xema v0.9.0 API Reference

Modules

A schema validator inspired by JSON Schema.

A behaviour module for implementing a schema validator. This behaviour is just for Xema and JsonXema.

This module contains some convenience functions to generate schemas.

Converts data using the specified schema.

A behaviour for a caster.

This module contains semantic validators for strings.

The behaviour for loaders.

The default loader.

This module contains a struct and functions to represent and handle references.

This module contains the struct for the keywords of a schema.

A validator for the schema input.

Some utilities for Xema.

This module contains all validators to check data against a schema.

Exceptions

Raised when a cast fails.

Raised when a schema can't be build.

Raised when a validation fails.