Skip to content

Commit

Permalink
Fixed wording issue in README
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusfrdk committed Feb 4, 2025
1 parent 273fecf commit 1a5f3d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Handlers may return any type, but is is recommended to use the return type as an

### Schema

The schema is used to bring give the validator default values. The schema is defined in the `TOMLSchema` class, and is passed to the `TOMLValidator` class. To create a schema, you pass a dictionary with the keys and their respective allowed types.
The schema is used to give the validator default handlers and an ability to make sure certain keys exist. The schema is defined in the `TOMLSchema` class, and is passed to the `TOMLValidator` class. To create a schema, you pass a dictionary with the keys and their respective allowed types.

Here is an example of a schema:

Expand Down

0 comments on commit 1a5f3d3

Please sign in to comment.