Skip to content
This repository has been archived by the owner on Mar 31, 2020. It is now read-only.

Draft4 support #36

Closed
wants to merge 4 commits into from
Closed

Draft4 support #36

wants to merge 4 commits into from

Conversation

ghost
Copy link

@ghost ghost commented May 20, 2015

Adds support for the new keywords, removes deprecated ones and changes the behavior of those that has been changed.


Json = {[{<<"Doesn't matter">>}]},
?assertEqual( {ok, Json}
, jesse_schema_validator:validate(SupportedSchema, Json, [])
),
?assertThrow([{schema_invalid, UnsupportedSchema,
{schema_unsupported, <<"http://json-schema.org/draft-04/schema#">>}}]
{schema_unsupported, <<"http://json-schema.org/draft-05/schema#">>}}]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to Elvis:

Line 189 is too long: {schema_unsupported, <<"http://json-schema.org/draft-05/schema#">>}}].

This was referenced Dec 5, 2015
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant