2.7.0
CHANGES:
- Add ability to specify JSON/OCaml adapter with the arbitrary code
using<json adapter.to_ocaml="..." adapter.from_ocaml="...">
(#184). - atdcat: add option
-jsonschema-no-additional-properties
for JSON Schema
output to specify that JSON objects may not have extra properties
(#293, #294). - atdcat: add
title
field to JSON Schema output containing the name
of root type (#294). - atdcat: add command-line option to choose the version of JSON Schema
to target. Options are the latest version "Draft 2020-12" and the
previous version "Draft 2019-09" (#294). - ATD language: the
abstract
built-in can now be used like any
other type to hold untyped data, if the implementation supports it.
The supported targets so far are OCaml/JSON (atdgen), Python
(atdpy), TypeScript (atdts), JSON Schema (atdcat) (#295).