jhthorsen / json-validator

:cop: Validate data against a JSON schema
https://metacpan.org/release/JSON-Validator
56 stars 58 forks source link

Replacing 'id' keyword with '$id', as mandated by JSON schema Draft 07. #115

Closed merkys closed 6 years ago

merkys commented 6 years ago

Fixing #114. Test case t/id-keyword.t fails with Mojo v6.15, however.

jhthorsen commented 6 years ago

Thanks for the PR, but how is this backwards compatible?

merkys commented 6 years ago

I have made the code backwards-compatible by looking first for $id, then for id.

jhthorsen commented 6 years ago

I'm closing this in favour of bdff5805b457c75264bf0ff835009592c370d373