Pure predicates for JSON Schema validation constraints.
All functions return :ok or {:error, context}. Non-applicable data types
pass validation (e.g., pattern checking on non-strings).
Summary
Functions
Checks const.
Checks enum.
Checks exclusiveMaximum.
Checks exclusiveMinimum.
Checks maxItems.
Checks maxLength.
Checks maxProperties.
Checks maximum.
Checks minItems.
Checks minLength.
Checks minProperties.
Checks minimum.
Checks multipleOf.
Checks pattern.
Checks if data matches the specified JSON Schema type(s).
Checks uniqueItems. Uses == semantics (1 equals 1.0).
Functions
Checks const.
Checks enum.
Checks exclusiveMaximum.
Checks exclusiveMinimum.
Checks maxItems.
Checks maxLength.
Checks maxProperties.
Checks maximum.
Checks minItems.
Checks minLength.
Checks minProperties.
Checks minimum.
Checks multipleOf.
Checks pattern.
Checks if data matches the specified JSON Schema type(s).
Checks uniqueItems. Uses == semantics (1 equals 1.0).