public void validate()

in src/main/java/org/openvasp/client/model/JuridicalPersonId.java [35:40]


    public void validate(@NonNull final VaspMessage source) {
        // whitepaper sections 7.10.1 and 7.11.1, rule 6)
        if (null == jurIdCountry && (null == jurIdIssuer || jurIdIssuer.isEmpty())) {
            throw new VaspValidationException(source, "Either [jurid_country] or [jurid_issuer] or both must be present");
        }
    }