Changelog
v0.2.0 [2019-03-24]
Added
Support for parsing the following JSON schema types:
additionalProperties
, andpatternProperties
.
Changed
- Replaced the
TypePath
type wih theURI
type when specifying local paths in a JSON schema document.
v0.1.0 [2019-01-12]
NOTE: This initial release is a fork of https://github.com/dragonwasrobot/json-schema-to-elm, and so this version contains all existing changes made in that project. As a result, the parser and inspection logic found in this first version reflects which parts of the JSON Schema specification was needed in the original project.
Added
Support for parsing the following JSON schema types:
allOf
,anyOf
,array
(keyworditems
when value is a object),enum
,object
, (keywordproperties
),oneOf
,primitive
(keywordtype
except forobject
andarray
),tuple
(keyworditems
when value is a list of objects), andunion
(keywordtype
when value is a list of strings).
Parsing of the basic properties of a JSON schema document:
schema
,$id
,$ref
,title
,description
,"definitions"
, andrequired
.
Can resolve references, using
$ref
, across different JSON schema files as long as they are parsed together.Prints human friendly error messages.