Skip to content

Commit 1c9b832

Browse files
authored
Merge pull request #40 from ParkerOu/master
docs: fix schemas link
2 parents 8522be9 + 69db9d0 commit 1c9b832

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,7 @@ This module natively supports the following validation schemas:
795795

796796
If you want to use `strictMode` with a subprotocol which is not included in the list above, you will need to add the appropriate schemas yourself. To do this, you must create a `Validator` for each subprotocol and pass them to the RPC constructor using the `strictModeValidators` option. (It is also possible to override the built-in validators this way.)
797797

798-
To create a Validator, you should pass the name of the subprotocol and a well-formed json schema to [`createValidator()`](#createvalidatorsubprotocol-schema). An example of a well-formed schema can be found at [`./lib/schemas/ocpp1.6json`](./lib/schemas/ocpp1.6json) or in the example below.
798+
To create a Validator, you should pass the name of the subprotocol and a well-formed json schema to [`createValidator()`](#createvalidatorsubprotocol-schema). An example of a well-formed schema can be found at [`./lib/schemas/ocpp1_6.json`](./lib/schemas/ocpp1_6.json) or [`./lib/schemas/ocpp2_0_1.json`](./lib/schemas/ocpp2_0_1.json) or in the example below.
799799

800800
Example:
801801

@@ -1096,4 +1096,4 @@ Breaking changes:
10961096

10971097
## License
10981098

1099-
[MIT](LICENSE.md)
1099+
[MIT](LICENSE.md)

0 commit comments

Comments
 (0)