I am trying to implement a validator for JSON schema using the v4 Draft. For the "type" keyword, it can be either a string or an array of strings as written here In the case if it is an array, how the validation will work?
For example: the keyword "maximum" is valid for numeric types while the keyword "maxLength" is valid for the string type. If I specify a type array of both "integer" and "string" will both keywords be valid or none or what?