View Source API Reference xema v0.17.1

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. Beside the type-functions the module contains the combinator-functions all_of/2, any_of/2 and one_of/2.

Raised when a cast fails.

Converts data using the specified schema.

A behaviour for a caster.

This module contains semantic validators for strings.

Converts a JSON Schema to Xema source.

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.

Raised when a schema can't be build.

A validator for the schema input.

Some utilities for Xema.

Raised when a validation fails.

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