Skip to content

Instantly share code, notes, and snippets.

@kdambekalns
Created March 25, 2013 17:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kdambekalns/5239005 to your computer and use it in GitHub Desktop.
Save kdambekalns/5239005 to your computer and use it in GitHub Desktop.
Example for a possible syntax of validation rules in YAML files
validation:
-
type: 'NotEmpty'
-
type: 'RegularExpression'
options:
regularExpression: '(0?[1-9]|[12][0-9]|3[01])'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment