Skip to content

Commit 194f912

Browse files
committed
docs: update.
1 parent 2114cb8 commit 194f912

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

serde_valid/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ assert!(s.validate().is_ok());
4545

4646
Serde Valid support standard validation based JSON Schema.
4747

48-
| Type | Serde Valid(validate derive) | Serde Valid(validate trait) | Json Schema |
48+
| Type | Serde Valid(validate derive) | Serde Valid(validate trait) | JSON Schema |
4949
| :-----: | :----------------------------------- | :--------------------------- | :-------------------------------------------------------------------------------------------- |
5050
| String | `#[validate(max_length = 5)]` | [`ValidateMaxLength`] | [maxLength](https://json-schema.org/understanding-json-schema/reference/string#length) |
5151
| String | `#[validate(min_length = 5)]` | [`ValidateMinLength`] | [minLength](https://json-schema.org/understanding-json-schema/reference/string#length) |
@@ -228,7 +228,7 @@ let s = Data { val: 1 };
228228
assert!(s.validate().is_ok());
229229
```
230230

231-
Custom validation is suitable for handling convenience validations not defined in JsonSchema.
231+
Custom validation is suitable for handling convenience validations not defined in JSON Schema.
232232
`serde_valid::utils::*` provides convenience functions for specific types.
233233

234234
```rust

0 commit comments

Comments
 (0)