JSON Schema validate
json-validateValidates a JSON value against a JSON-Schema subset and lists every error path. Returns { valid, errors }: true when the value matches, and one message per error path (up to 50). Price: 1 credit (1 credit = 1 CAD cent) per successful call; input that does not match the schema is rejected before billing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | Any JSON value to validate (object, array, string, number, boolean or null). | |
| schema | Yes | JSON Schema subset to check against: type, required, properties, items, enum, minimum, maximum, minLength, maxLength. |