Skip to content
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

Format attribute: do not validate data instances that aren't the instance type to validate #773

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

W0rma
Copy link

@W0rma W0rma commented Jan 11, 2025

Fixes #756

… instance types (jsonrainbow#773)

See https://json-schema.org/draft-04/draft-fge-json-schema-validation-00#rfc.section.7.1: If the type of the instance to validate is not in this set, validation for this format attribute and instance SHOULD succeed.
@W0rma W0rma force-pushed the skip-format-validation-on-invalid-instance-type branch from 4c85128 to 369def0 Compare January 11, 2025 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Format attribute should not validate data instances that aren't the instance type to validate
1 participant