I noticed that the _validate sub skips anyOf and oneOf rules if allOf was present. But nowhere in the spec does it say that these can't appear together. We should run them all and collect all the errors, even if it's nonsensical to combine the rules.
I noticed that the
_validate
sub skips anyOf and oneOf rules if allOf was present. But nowhere in the spec does it say that these can't appear together. We should run them all and collect all the errors, even if it's nonsensical to combine the rules.references: https://json-schema.org/understanding-json-schema/reference/combining.html https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.7