2323public enum ValidatorTypeCode {
2424 ADDITIONAL_PROPERTIES ("additionalProperties" , "1001" , new MessageFormat (
2525 "{0}.{1}: is not defined in the schema and the schema does not allow additional properties" )),
26- ALL_OF ("allOf" , "1002" , new MessageFormat ("" )),
27- ANY_OF ("anyOf" , "1003" , new MessageFormat ("" )),
28- CROSS_EDITS ("crossEdits" , "" , new MessageFormat ("" )),
29- DEPENDENCIES ("dependencies" , "1007" , new MessageFormat ("" )),
30- EDITS ("edits" , "" , new MessageFormat ("" )),
26+ ALL_OF ("allOf" , "1002" , new MessageFormat ("{0}: should be valid to all the schemas {1} " )),
27+ ANY_OF ("anyOf" , "1003" , new MessageFormat ("{0}: should be valid to any of the schemas {1} " )),
28+ CROSS_EDITS ("crossEdits" , "" , new MessageFormat ("{0}: has some error with 'cross edits' " )),
29+ DEPENDENCIES ("dependencies" , "1007" , new MessageFormat ("{0}: has some error with dependencies {1} " )),
30+ EDITS ("edits" , "" , new MessageFormat ("{0}: has some error with 'edits' " )),
3131 ENUM ("enum" , "1008" , new MessageFormat ("{0}: does not have a value in the enumeration {1}" )),
3232 FORMAT ("format" , "1009" , new MessageFormat ("{0}: does not match the {1} pattern {2}" )),
3333 ITEMS ("items" , "1010" , new MessageFormat ("{0}[{1}]: no validator found at this index" )),
@@ -43,17 +43,17 @@ public enum ValidatorTypeCode {
4343 NOT_ALLOWED ("notAllowed" , "1033" , new MessageFormat ("{0}.{1}: is not allowed but it is in the data" )),
4444 NOT ("not" , "1020" , new MessageFormat ("{0}: should not be valid to the schema {1}" )),
4545 ONE_OF ("oneOf" , "1022" , new MessageFormat ("{0}: should be valid to one and only one of the schemas {1}" )),
46- PATTERN_PROPERTIES ("patternProperties" , "1024" , new MessageFormat ("" )),
46+ PATTERN_PROPERTIES ("patternProperties" , "1024" , new MessageFormat ("{0}: has some error with 'pattern properties' " )),
4747 PATTERN ("pattern" , "1023" , new MessageFormat ("{0}: does not match the regex pattern {1}" )),
48- PROPERTIES ("properties" , "1025" , new MessageFormat ("" )),
48+ PROPERTIES ("properties" , "1025" , new MessageFormat ("{0}: has some error with 'properties' " )),
4949 READ_ONLY ("readOnly" , "1032" , new MessageFormat ("{0}: is a readonly field, it cannot be changed" )),
50- REF ("ref" , "1026" , new MessageFormat ("" )),
50+ REF ("ref" , "1026" , new MessageFormat ("{0}: has some error with 'refs' " )),
5151 REQUIRED ("required" , "1028" , new MessageFormat ("{0}.{1}: is missing but it is required" )),
5252 TYPE ("type" , "1029" , new MessageFormat ("{0}: {1} found, {2} expected" )),
5353 UNION_TYPE ("unionType" , "1030" , new MessageFormat ("{0}: {1} found, but {2} is required" )),
5454 UNIQUE_ITEMS ("uniqueItems" , "1031" , new MessageFormat ("{0}: the items in the array must be unique" ));
55-
56- private static Map <String , ValidatorTypeCode > constants = new HashMap <String , ValidatorTypeCode >();
55+
56+ private static Map <String , ValidatorTypeCode > constants = new HashMap <String , ValidatorTypeCode >();
5757
5858 static {
5959 for (ValidatorTypeCode c : values ()) {
0 commit comments