Nick Maynard

Results 34 comments of Nick Maynard

+1 for exactly this use case.

Closing this. AFAICS `format` applies only to `string` types, not `number` - see https://json-schema.org/understanding-json-schema/reference/string.html?highlight=format and https://json-schema.org/understanding-json-schema/reference/numeric.html

OK, thank you. Probably we need some sort of settings area with the ability to flip format validation on and off. Will leave this here until someone sends me a...

Oh, damn... https://blog.github.com/2018-02-18-deprecation-notice-removing-anonymous-gist-creation/ PRs gratefully received, but on my list for eventual fixing.

OK. It looks like our validation libraries don't do this for us transparently. It's possible (certainly with AJV for draft-04 upwards, not sure about JSV for draft-01 -> -03), but...

@gberche-orange If you could drop a saved-gist example here for recreation, that would be helpful.

... scratch that, I'm a dummy.

#27 doesn't fix this, but it does ensure that this remote reference issue throws an error, rather than silently failing.

If anyone else would benefit from this, please raise your hands.

I do not have plans to implement this myself. Please see https://github.com/nickcmaynard/jsonschemalint/issues/17#issuecomment-276349977 for the approaches I'm suggesting. Happy to accept PRs.