Improved property check rule.

This commit is contained in:
Christian P. MOMON 2020-10-29 02:56:56 +01:00
parent 6f6f9d17c8
commit 5c1d993b30

View file

@ -117,8 +117,7 @@ public class PropertyChecker
this.organizationRules.add("organization.owner.logo", URL, PropertyMode.OPTIONAL);
this.organizationRules.add("organization.contact.url", URL, PropertyMode.WISHED);
this.organizationRules.add("organization.contact.email", EMAIL, PropertyMode.WISHED);
this.organizationRules.add("organization.legal", URL, PropertyMode.WISHED);
this.organizationRules.add("organization.legal.url", URL, PropertyMode.WISHED);
this.organizationRules.add("^organization\\.legal(\\.url)?$", URL, PropertyMode.WISHED);
this.organizationRules.add("organization.guide.user", URL, PropertyMode.WISHED);
this.organizationRules.add("organization.guide.technical", URL, PropertyMode.WISHED);
this.organizationRules.add("organization.startdate", DATE, PropertyMode.WISHED);