Added organization.status properties in property checker.
This commit is contained in:
parent
7ca703b186
commit
cff04844b7
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue