Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
lalobo committed Dec 13, 2017
1 parent 709c0b8 commit 9c6b332
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ Each type also has additional properties.
The string type validates the item as a string. it also has the following properties:
* **constraints** [*array*] : Exta constraints are:
* **length** [*array*] : the minimum and maximum length of the string as a numeric array in the format [min, max]. If you don't want to set a value set it to null. So [1,null] will be a string with a minimum of one character but no maximum set.
* **enum** [*array*] : the possible values of the string. so [FOO, BAR] means that the string can only be one of those values and nothing else

- **number**

Expand Down

0 comments on commit 9c6b332

Please sign in to comment.