SpaceApi-archive / OpenSpaceLint

The space API validator.
http://spaceapi.net
7 stars 3 forks source link

One space specified mail instead of email but the validator should output an error #57

Closed slopjong closed 11 years ago

slopjong commented 11 years ago

Until now there's no check of the contact members. To find typos one could validate against "phone", "email", "irc" etc. so that other values are considered as errors. On the other side will this make it impossible to define additional fields which are not defined in the specs.

Is it possible to define an enum for object members?

slopjong commented 11 years ago

Do it as a plugin.

slopjong commented 11 years ago

Done in spaceapi/validation-plugins/#bf1a6223349.