1.2 library(json_schema): JSON Schema reader and validator
All Application Manual Name SummaryHelp

  • Documentation
    • Reference manual
    • Packages
      • SWI-Prolog JSON library
        • Supporting JSON
          • library(json_schema): JSON Schema reader and validator
            • Status
            • Predicates

1.2.1 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:

  • $dynamicRef fails 3 tests, probably mixing up physical context and resolution context that defines the dynamic scopes.
  • There is no support for non-default vocabulary selection.

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