From cff04844b7e060c8c06f7a49b2cc6b9f1e45b1c6 Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Thu, 29 Oct 2020 01:51:18 +0100 Subject: [PATCH] Added organization.status properties in property checker. --- src/fr/devinsy/statoolinfos/checker/PropertyChecker.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/fr/devinsy/statoolinfos/checker/PropertyChecker.java b/src/fr/devinsy/statoolinfos/checker/PropertyChecker.java index 70dd179..6de8586 100644 --- a/src/fr/devinsy/statoolinfos/checker/PropertyChecker.java +++ b/src/fr/devinsy/statoolinfos/checker/PropertyChecker.java @@ -77,7 +77,6 @@ public class PropertyChecker this.federationRules.add("federation.description", STRING, PropertyMode.WISHED); this.federationRules.add("federation.website", URL, PropertyMode.WISHED); this.federationRules.add("federation.logo", URL, PropertyMode.WISHED); - this.federationRules.add("federation.favicon", URL, PropertyMode.WISHED); this.federationRules.add("federation.contact.url", URL, PropertyMode.WISHED); this.federationRules.add("federation.contact.email", EMAIL, PropertyMode.WISHED); this.federationRules.add("^federation\\.socialnetworks\\.\\S+$", URL, PropertyMode.WISHED); @@ -108,6 +107,8 @@ public class PropertyChecker this.organizationRules.add("organization.name", STRING, PropertyMode.MANDATORY); this.organizationRules.add("organization.description", STRING, PropertyMode.WISHED); + this.organizationRules.add("organization.status.level", "^(ACTIVE|IDLE|AWAY)$", PropertyMode.MANDATORY); + this.organizationRules.add("organization.status.description", STRING, PropertyMode.OPTIONAL); this.organizationRules.add("organization.website", URL, PropertyMode.WISHED); this.organizationRules.add("organization.logo", URL, PropertyMode.WISHED); this.organizationRules.add("^organization\\.socialnetworks\\.\\S+$", URL, PropertyMode.WISHED);