Skip to content

Format attributes #732

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
KayEss opened this issue Apr 3, 2019 · 2 comments · Fixed by #764
Closed

Format attributes #732

KayEss opened this issue Apr 3, 2019 · 2 comments · Fixed by #764
Assignees

Comments

@KayEss
Copy link

KayEss commented Apr 3, 2019

It isn't totally clear that a validator should ignore any format attribute it can't check/doesn't understand. The closest the wording comes is in 7.2:

Implementations MAY add custom format attributes

I think this implies that the validator is likely to come across format attributes it won't understand, but it probably ought to be explicit. Maybe something like:

A validator MUST ignore any format attribute which it cannot check.

Or under the other two points:

they SHOULD ignore any attribute value they don't validate

@vearutop
Copy link

vearutop commented Apr 3, 2019

santhosh-tekuri/jsonschema#21 here is a relevant issue for one of validators.

@handrews
Copy link
Contributor

I'll deal with this at the same time as #646.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging a pull request may close this issue.

3 participants