Added organization geolocation properties checks.
This commit is contained in:
parent
ca6a435f28
commit
afe0e7d297
1 changed files with 3 additions and 0 deletions
|
@ -131,6 +131,9 @@ public class PropertyChecker
|
||||||
this.organizationRules.add("organization.country.name", STRING, PropertyMode.WISHED);
|
this.organizationRules.add("organization.country.name", STRING, PropertyMode.WISHED);
|
||||||
this.organizationRules.add("organization.country.code", COUNTRY_CODE, PropertyMode.MANDATORY);
|
this.organizationRules.add("organization.country.code", COUNTRY_CODE, PropertyMode.MANDATORY);
|
||||||
this.organizationRules.add("organization.funding.*", "^organization\\.funding\\.\\S+$", STRING, PropertyMode.OPTIONAL);
|
this.organizationRules.add("organization.funding.*", "^organization\\.funding\\.\\S+$", STRING, PropertyMode.OPTIONAL);
|
||||||
|
this.organizationRules.add("organization.geolocation.latitude", STRING, PropertyMode.OPTIONAL);
|
||||||
|
this.organizationRules.add("organization.geolocation.longitude", STRING, PropertyMode.OPTIONAL);
|
||||||
|
this.organizationRules.add("organization.geolocation.address", STRING, PropertyMode.OPTIONAL);
|
||||||
|
|
||||||
this.organizationRules.add(SUBS, URL, PropertyMode.OPTIONAL);
|
this.organizationRules.add(SUBS, URL, PropertyMode.OPTIONAL);
|
||||||
this.organizationRules.add(METRICS_NAME, STRING, PropertyMode.OPTIONAL);
|
this.organizationRules.add(METRICS_NAME, STRING, PropertyMode.OPTIONAL);
|
||||||
|
|
Loading…
Reference in a new issue