switch (type) { case STRING: { notAllowed.appendIf(properties != null, "properties"); notAllowed.appendIf(additionalProperties != null, "additionalProperties"); notAllowed.appendIf(exclusiveMaximum, "exclusiveMaximum"); notAllowed.appendIf(exclusiveMinimum, "exclusiveMinimum"); notAllowed.appendIf(uniqueItems, "uniqueItems"); notAllowed.appendIf(collectionFormat != CollectionFormat.NO_COLLECTION_FORMAT, "collectionFormat"); notAllowed.appendIf(items != null, "items"); notAllowed.appendIf(maximum != null, "maximum"); notAllowed.appendIf(minimum != null, "minimum"); notAllowed.appendIf(multipleOf != null, "multipleOf"); notAllowed.appendIf(maxItems != null, "maxItems"); notAllowed.appendIf(minItems != null, "minItems"); notAllowed.appendIf(minProperties != null, "minProperties"); invalidFormat = ! format.isOneOf(Format.BYTE, Format.BINARY, Format.BINARY_SPACED, Format.DATE, Format.DATE_TIME, Format.PASSWORD, Format.UON, Format.NO_FORMAT); break; notAllowed.appendIf(properties != null, "properties"); notAllowed.appendIf(additionalProperties != null, "additionalProperties"); notAllowed.appendIf(exclusiveMaximum, "exclusiveMaximum"); notAllowed.appendIf(exclusiveMinimum, "exclusiveMinimum"); notAllowed.appendIf(pattern != null, "pattern"); notAllowed.appendIf(maximum != null, "maximum"); notAllowed.appendIf(minimum != null, "minimum"); notAllowed.appendIf(multipleOf != null, "multipleOf"); notAllowed.appendIf(maxLength != null, "maxLength"); notAllowed.appendIf(minLength != null, "minLength"); notAllowed.appendIf(maxProperties != null, "maxProperties");
switch (type) { case STRING: { notAllowed.appendIf(properties != null, "properties"); notAllowed.appendIf(additionalProperties != null, "additionalProperties"); notAllowed.appendIf(exclusiveMaximum, "exclusiveMaximum"); notAllowed.appendIf(exclusiveMinimum, "exclusiveMinimum"); notAllowed.appendIf(uniqueItems, "uniqueItems"); notAllowed.appendIf(collectionFormat != CollectionFormat.NO_COLLECTION_FORMAT, "collectionFormat"); notAllowed.appendIf(items != null, "items"); notAllowed.appendIf(maximum != null, "maximum"); notAllowed.appendIf(minimum != null, "minimum"); notAllowed.appendIf(multipleOf != null, "multipleOf"); notAllowed.appendIf(maxItems != null, "maxItems"); notAllowed.appendIf(minItems != null, "minItems"); notAllowed.appendIf(minProperties != null, "minProperties"); invalidFormat = ! format.isOneOf(Format.BYTE, Format.BINARY, Format.BINARY_SPACED, Format.DATE, Format.DATE_TIME, Format.PASSWORD, Format.UON, Format.NO_FORMAT); break; notAllowed.appendIf(properties != null, "properties"); notAllowed.appendIf(additionalProperties != null, "additionalProperties"); notAllowed.appendIf(exclusiveMaximum, "exclusiveMaximum"); notAllowed.appendIf(exclusiveMinimum, "exclusiveMinimum"); notAllowed.appendIf(pattern != null, "pattern"); notAllowed.appendIf(maximum != null, "maximum"); notAllowed.appendIf(minimum != null, "minimum"); notAllowed.appendIf(multipleOf != null, "multipleOf"); notAllowed.appendIf(maxLength != null, "maxLength"); notAllowed.appendIf(minLength != null, "minLength"); notAllowed.appendIf(maxProperties != null, "maxProperties");
switch (type) { case STRING: { notAllowed.appendIf(properties != null, "properties"); notAllowed.appendIf(additionalProperties != null, "additionalProperties"); notAllowed.appendIf(exclusiveMaximum, "exclusiveMaximum"); notAllowed.appendIf(exclusiveMinimum, "exclusiveMinimum"); notAllowed.appendIf(uniqueItems, "uniqueItems"); notAllowed.appendIf(collectionFormat != CollectionFormat.NO_COLLECTION_FORMAT, "collectionFormat"); notAllowed.appendIf(items != null, "items"); notAllowed.appendIf(maximum != null, "maximum"); notAllowed.appendIf(minimum != null, "minimum"); notAllowed.appendIf(multipleOf != null, "multipleOf"); notAllowed.appendIf(maxItems != null, "maxItems"); notAllowed.appendIf(minItems != null, "minItems"); notAllowed.appendIf(minProperties != null, "minProperties"); invalidFormat = ! format.isOneOf(Format.BYTE, Format.BINARY, Format.BINARY_SPACED, Format.DATE, Format.DATE_TIME, Format.PASSWORD, Format.UON, Format.NO_FORMAT); break; notAllowed.appendIf(properties != null, "properties"); notAllowed.appendIf(additionalProperties != null, "additionalProperties"); notAllowed.appendIf(exclusiveMaximum, "exclusiveMaximum"); notAllowed.appendIf(exclusiveMinimum, "exclusiveMinimum"); notAllowed.appendIf(pattern != null, "pattern"); notAllowed.appendIf(maximum != null, "maximum"); notAllowed.appendIf(minimum != null, "minimum"); notAllowed.appendIf(multipleOf != null, "multipleOf"); notAllowed.appendIf(maxLength != null, "maxLength"); notAllowed.appendIf(minLength != null, "minLength"); notAllowed.appendIf(maxProperties != null, "maxProperties");