File tree 1 file changed +12
-2
lines changed
1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -2822,8 +2822,18 @@ https://example.com/schemas/common#/$defs/allOf/1
2822
2822
be included if the validation was successful. The value
2823
2823
for this property MUST be an object where the keys are the names of
2824
2824
keywords and the values are the error message produced by the
2825
- associated keyword. If the subschema itself is producing the
2826
- error, that error MUST be listed with an empty string key.
2825
+ associated keyword.
2826
+ </t >
2827
+ <t >
2828
+ If the subschema itself is producing the error, that error MUST be
2829
+ listed with an empty string key.
2830
+ <cref >
2831
+ Although there may be other cases where a subschema can produce
2832
+ an error, the most common case is the "false" schema. In
2833
+ cases like these, there is no keyword that produces the error,
2834
+ so there is nothing to use as a key. Thus the empty string
2835
+ is used instead.
2836
+ </cref >
2827
2837
</t >
2828
2838
<t >
2829
2839
The specific wording for the message is not defined by this
You can’t perform that action at this time.
0 commit comments