All predicatesShow sourcejson_schema.pl -- JSON Schema reader and validator

This module provides a JSON Schema reader and validator. This module is based on the 2020-12 draft of the specification.

The API consists of two primitives and a simple high level predicate (json_validate/3):

Status

The implementation is validated against https://github.com/json-schema-org/JSON-Schema-Test-Suite.git. It fails 4 out of 1,261 tests. Issues:

The current implementation is the result of an incremental process. It should be refactored to make it a cleaner translation of the specification.

Predicates