     return AnySequence(EmptyCollection())
   }
 
-  if oneOf.filter({ validator.descend(instance: instance, subschema: $0).validationResult().valid }).count != 1 {
+  if oneOf.filter({ validator.descend(instance: instance, subschema: $0).isValid }).count != 1 {
     return AnySequence(["Only one value from `oneOf` should be met"])
   }
 

    return AnySequence(EmptyCollection())
  }

  if !anyOf.contains(where: { validator.descend(instance: instance, subschema: $0).validationResult().valid }) {
    return AnySequence(["\(instance) does not meet anyOf validation rules."])
  }


    return AnySequence(EmptyCollection())
  }

  if !instance.contains(where: { validator.descend(instance: $0, subschema: contains).isValid }) {
    return AnySequence(["\(instance) does not match contains"])
  }

