From afe0e7d2970d790428ed8715f9648ad5d5f8e71f Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Sat, 19 Jun 2021 22:58:16 +0200 Subject: [PATCH] Added organization geolocation properties checks. --- src/fr/devinsy/statoolinfos/checker/PropertyChecker.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/fr/devinsy/statoolinfos/checker/PropertyChecker.java b/src/fr/devinsy/statoolinfos/checker/PropertyChecker.java index abbc117..776d771 100644 --- a/src/fr/devinsy/statoolinfos/checker/PropertyChecker.java +++ b/src/fr/devinsy/statoolinfos/checker/PropertyChecker.java @@ -131,6 +131,9 @@ public class PropertyChecker this.organizationRules.add("organization.country.name", STRING, PropertyMode.WISHED); 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.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(METRICS_NAME, STRING, PropertyMode.OPTIONAL);