Skip to content

Commit 6b2cd92

Browse files
Merge branch 'main' of github.com:geometryprocessing/simple-json-validator into main
2 parents aa79c4e + 6a929e9 commit 6b2cd92

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

tags.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# Tags supported for each type
22

3-
## all
3+
## float
44

5-
list
5+
* min: number
6+
* max: number
67

7-
## float,int:
8+
## int
89

910
* min: number
1011
* max: number
@@ -17,10 +18,17 @@ list
1718

1819
## string
1920

20-
options: ["these","are","options"]
21+
* options: ["these","are","options"]
2122

2223
## object
2324

24-
required: list of fields required for this object to be valid
25+
* required: list of fields required for this object to be valid
26+
* optional: list of fields that are optional. Every optional field must have at least one rule with a default
27+
28+
## list
29+
30+
* min: minimal size
31+
* max: maximal size
32+
33+
## bool
2534

26-
## skip-

0 commit comments

Comments
 (0)