API Reference zot v#0.12.0

View Source

Modules

Zot

Schema parser and validator for Elixir.

Common functions used across type implementations.

Context management for parsing / validating values.

Standalone utility module for IP address and CIDR operations.

Represents a single issue found when parsing / validating a value against a type.

Describes a type setting with parameters, such as a custom error message.

Utility module for defining Zot types.

Protocol for defining Zot types.

Describes a type that accepts any value.

Describes an atom type.

Describes a boolean type.

Describes a branded type.

Describes a CIDR notation type (IPv4 or IPv6 network addresses).

Describes a date type.

Describes a date-time type.

Describes a decimal type.

Describes a discriminated union type, which allows values to be one of many map types, distinguished by a discriminator field.

Describes an email type.

Describes an enum type.

Describes a float type.

Describes an IP address type (IPv4 or IPv6).

Describes a integer type.

Describes a list type.

Describes a literal type that can be either

Describes a map type.

Describes a number type (union of integer and float).

Describes a numeric string type.

Describes a phone number type according to E.164 standard.

Describes a Record type, which is a map where keys are unknown.

Describes a set type (a list of unique items).

Describes a string type.

Describes a struct type that works like a strict map but converts the result to an Elixir struct.

Describes a tuple type with a fixed number of heterogeneous elements.

Describes a URL string type.

Describes a UUID string type.

Describes a union type, which allows values to be one of many types.

Private utility functions.