Swiplserver: problem with create_dict on python 3.10

That is what I was thinking. There is already a specification for JSON schema, see: JSON Schema

The down side of a JSON schema is that

  1. The noted schema is not official AFAIK.
  2. Many people don’t use a schema when given the chance.
  3. AFAIK there is no SWI-Prolog JSON schema validator. They do exist for other programming languages (ref)
  4. Each message type would need a new JSON schema.

:+1:


I do like MQI I just don’t like changes to SWI-Prolog that are specialized.


Related topic: json_dict/2 - Helpful for learning how to use JSON with SWI-Prolog dict

Expand the notes section for some really useful information.