docs: public void validate() {
      Errors errors = new Errors();
      for (TypeMap<?, ?> typeMap : getTypeMaps()) {
        try {
          typeMap.validate();
        } catch (ValidationException e) {
          errors.merge(e.getErrorMessages());
        }
      }
  
      errors.throwValidationExceptionIfErrorsExist();
    }