validateExternalValidations

fun validateExternalValidations(formSchema: Schema<*>, externalValidations: Map<PathOrString, Iterable<Validation<*>>>)(source)

Validates the provided external validations in the context of the given formSchema by checking that all validation dependencies are valid (i.e. that they point to valid locations and have valid types).

Throws

If an external validation path is invalid.

If a validation has an invalid dependency path.

If a validation has an invalid dependency type.