Skip to content

Commit

Permalink
Updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
IonicaBizau committed Feb 17, 2017
1 parent b7900af commit ade1e3c
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,31 +48,6 @@ module.exports = {
, required: true
, match: [/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/, "Please fill a valid email address."]
}
, address: {
street: {
type: String
, required: true
}
, zip: {
type: String
, match: [/\d{5}-?(\d{4})?/, "Invalid ZIP code."]
, required: true
}
, phone: {
type: String
, match: [/\d{3}[\-]?\d{3}[\-]?\d{4}/, "Invalid phone number format."]
, required: true
}
}
, birth: {
type: Date
, required: true
}
, gender: {
type: String
, match: [/m|f/, "Invalid gender."]
, required: true
}
}
}
};
Expand Down

0 comments on commit ade1e3c

Please sign in to comment.