From 4d6e5922041716a10f3bd3849bfc18c36b78e9d7 Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Fri, 22 Jul 2022 16:54:11 +0200 Subject: [PATCH] Added organization.type check entry. --- src/fr/devinsy/statoolinfos/checker/PropertyChecker.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/fr/devinsy/statoolinfos/checker/PropertyChecker.java b/src/fr/devinsy/statoolinfos/checker/PropertyChecker.java index 693acd4..5d24b24 100644 --- a/src/fr/devinsy/statoolinfos/checker/PropertyChecker.java +++ b/src/fr/devinsy/statoolinfos/checker/PropertyChecker.java @@ -137,6 +137,7 @@ public class PropertyChecker this.organizationRules.add("organization.geolocation.latitude", DECIMAL_DEGREE, PropertyMode.OPTIONAL); this.organizationRules.add("organization.geolocation.longitude", DECIMAL_DEGREE, PropertyMode.OPTIONAL); this.organizationRules.add("organization.geolocation.address", STRING, PropertyMode.OPTIONAL); + this.organizationRules.add("organization.type", "^(ASSOCIATION|INFORMAL|COOPERATIVE|MICROCOMPANY|COMPANY|INDIVIDUAL|OTHER)$", PropertyMode.MANDATORY); this.organizationRules.add(SUBS, URL, PropertyMode.OPTIONAL); this.organizationRules.add(METRICS_NAME, STRING, PropertyMode.OPTIONAL);