Skip to content

Instantly share code, notes, and snippets.

@benstr
Created June 17, 2015 20:42
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 benstr/c5510d9e1f8c5f3c4ac2 to your computer and use it in GitHub Desktop.
Save benstr/c5510d9e1f8c5f3c4ac2 to your computer and use it in GitHub Desktop.
id schema
ownerId: {
type: String,
regEx: /^[a-z0-9A-z .]{3,30}$/,
optional: true
},
vetId: {
type: String,
regEx: /^[a-z0-9A-z .]{3,30}$/,
optional: true
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment