ExParamsSchema.Schema.ErrorPath (ex_params_schema v0.1.1)

Copy Markdown View Source

Maps JSON Schema error paths to schema error definitions.

This internal module combines JSON Pointer decoding and selection of the most specific error definition.

Summary

Functions

Returns the declaration order, error reason, and resolved path for a JSON Pointer.

Functions

resolve(error_definitions, pointer)

Returns the declaration order, error reason, and resolved path for a JSON Pointer.

When multiple definitions match, chooses the most specific path.