We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0007ff8 commit dcbc343Copy full SHA for dcbc343
README.md
@@ -84,6 +84,8 @@ schema.string({ format: 'host' })
84
schema.string({ format: 'url' })
85
// Must be a valid email address
86
schema.string({ format: 'email' })
87
+// Must be a valid UUID
88
+schema.string({ format: 'uuid' })
89
```
90
91
When validating the `url` format, you can also define additional options to force/ignore the `tld` and `protocol`.
0 commit comments