API Reference backplane_json_schema v#1.10.58
Copy MarkdownModules
JSON Schema Draft 2020-12 and Draft 7 validator for Elixir.
Transforms raw JSON Schema maps into executable Schema structs.
Handles compilation of ECMA-262 regular expressions for use in Elixir/PCRE.
Pure predicates for JSON Schema validation constraints.
Validates numbers against the JSON Schema multipleOf rule.
Handles arbitrary precision if Decimal is available.
Falls back to native arithmetic with overflow protection if not.
Draft 2020-12 dialect helpers for built-in dialect recognition and
$vocabulary resolution.
Provides built-in JSON Schema resources bundled directly in the module.
Maps JSON Schema keywords to their Draft 2020-12 vocabulary URIs and defines both the full supported vocabulary set and the built-in Draft 2020-12 default active vocabulary set.
Identifies the Draft 7 meta-schema and the keywords defined by that draft.
Provides the canonical Draft 7 meta-schema and its compiled reference registry.
Formats Backplane.JsonSchema.Types.Error structs into human-readable strings.
Implements validation logic for the 'format' keyword.
Validates RFC 3339 date-time and time formats.
Validates email format according to RFC 5322 (Addr-Spec).
Includes support for quoted strings in local part and IP literals in domain.
Validates "hostname" format according to RFC 1123.
Validates ipv4 and ipv6 formats.
Validates regex format according to strict ECMA-262.
Validates uri-template format according to RFC 6570.
Generic selected $ref resolver for JSON-like documents.
Error returned by Backplane.JsonSchema.Ref.resolve_selected/2.
Compile-time helpers for embedding compiled JSON Schemas directly into modules.
Scans raw schemas and containing documents to discover resource identifiers, anchors, and local fragment references for the selected draft.
Compile-time sigils for static JSON Schema literals.
Defines the core data structures used by Backplane.JsonSchema.
An error encountered during validation or schema compilation.
Structured detail carried by Backplane.JsonSchema.Types.Error.
A single compiled validation step.
A compiled JSON Schema containing executable rules and reference metadata.
Lightweight runtime context threaded through validation.
Utilities for URI resolution and manipulation.
Executes compiled Schema rules against data, accumulating errors and tracking
evaluated keys for unevaluatedProperties/unevaluatedItems.
Runtime validation functions for complex JSON Schema keywords.
Resolves $ref and $dynamicRef during validation, including remote schema
loading and JIT compilation of JSON Pointer references. Prepares resource-local
validation contexts for structural descent and resolved reference targets.
Dispatches compiled Backplane.JsonSchema.Types.Rule structs to their runtime
validation implementations.