Skip to content

Commit 8a57410

Browse files
committed
Update Schema class description docs.
1 parent 24d31fa commit 8a57410

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ schema.validate(source, function(err, res) {
653653
function Schema(rules, [opts])
654654
```
655655

656-
Encapsulates the rules associated with a descriptor and the logic for performing validation.
656+
Encapsulates the rules associated with a schema and the logic for performing validation.
657657

658658
* `rules`: The schema rules.
659659
* `opts`: Configuration options.

doc/readme/api.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
function Schema(rules, [opts])
77
```
88

9-
Encapsulates the rules associated with a descriptor and the logic for performing validation.
9+
Encapsulates the rules associated with a schema and the logic for performing validation.
1010

1111
* `rules`: The schema rules.
1212
* `opts`: Configuration options.

0 commit comments

Comments
 (0)