Skip to content

Commit 5fec4d5

Browse files
author
Pascal Post
committed
add default
1 parent da4e08a commit 5fec4d5

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ The validator currently uses C++ regex implementation for pattern matching, requ
2727
- [x] boolean_schema.json
2828
- [x] const.json
2929
- [x] contains.json
30-
- [ ] default.json
30+
- [x] default.json
3131
- [ ] definitions.json
3232
- [ ] dependencies.json
3333
- [x] enum.json
@@ -58,6 +58,10 @@ The validator currently uses C++ regex implementation for pattern matching, requ
5858
- [x] type.json
5959
- [x] uniqueItems.json
6060

61+
## Feature ideas
62+
63+
- add option to set defaults (for a schema validation defaults are just annotations.)
64+
6165
## Contributing
6266

6367
Contributions are welcome! Feel free to submit pull requests, especially for implementing pending features.

src/test_suite.zig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ test "run test suite" {
6464
"not.json",
6565
"if-then-else.json",
6666
"contains.json",
67+
"default.json",
6768
// "ref.json",
6869
// "WIP.json",
6970
};

0 commit comments

Comments
 (0)