Skip to content

Why should the schema be evaluated? #304

Closed Answered by Relequestual
SorinGFS asked this question in Q&A
Discussion options

You must be logged in to vote

JSON Schema 2020-12 and prior is permissive by default. I expect future version to remain permissive by default too.

Any implementation which needs a configuration to "enable" "permissive by default" is non-compliant.

I know about AJVs strict mode which is enabled by default. This makes some valid schemas throw an error before even running validaiton.

Replies: 2 comments 13 replies

Comment options

You must be logged in to vote
6 replies
@Relequestual
Comment options

@SorinGFS
Comment options

@SorinGFS
Comment options

@Relequestual
Comment options

@SorinGFS
Comment options

Comment options

You must be logged in to vote
7 replies
@SorinGFS
Comment options

@Relequestual
Comment options

@SorinGFS
Comment options

@Relequestual
Comment options

@SorinGFS
Comment options

Answer selected by SorinGFS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants