Draft 2020-12. optional/format-assertion.json #817
-
|
Hi! The first schema expects the "format" keyword to be processed. In the loaded "$schema," only the "core" vocabulary is true, and the format-assertion dictionary is false Please explain why format processing is necessary in this test? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
This question was asked recently. See, #814 and let us know if it's still unclear. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the link. false Process this vocabulary keywords if this vocabulary is supported. If not supported, processing is optional. |
Beta Was this translation helpful? Give feedback.
Correct. I'm not sure the last sentence makes sense, but I think you have the right idea. If the vocabulary isn't supported, the keywords are ignored and the rest of the schema is processed normally.
Mostly correct. Your "or better option" is the correct behavior. Validation MUST NOT return a result (true/false) if the vocabulary isn't supported. It MUST …