File tree Expand file tree Collapse file tree 3 files changed +90
-0
lines changed
draft-next/optional/format
draft2019-09/optional/format
draft2020-12/optional/format Expand file tree Collapse file tree 3 files changed +90
-0
lines changed Original file line number Diff line number Diff line change 6
6
"format" : " uuid"
7
7
},
8
8
"tests" : [
9
+ {
10
+ "description" : " all string formats ignore integers" ,
11
+ "data" : 12 ,
12
+ "valid" : true
13
+ },
14
+ {
15
+ "description" : " all string formats ignore floats" ,
16
+ "data" : 13.7 ,
17
+ "valid" : true
18
+ },
19
+ {
20
+ "description" : " all string formats ignore objects" ,
21
+ "data" : {},
22
+ "valid" : true
23
+ },
24
+ {
25
+ "description" : " all string formats ignore arrays" ,
26
+ "data" : [],
27
+ "valid" : true
28
+ },
29
+ {
30
+ "description" : " all string formats ignore booleans" ,
31
+ "data" : false ,
32
+ "valid" : true
33
+ },
34
+ {
35
+ "description" : " all string formats ignore nulls" ,
36
+ "data" : null ,
37
+ "valid" : true
38
+ },
9
39
{
10
40
"description" : " all upper-case" ,
11
41
"data" : " 2EB8AA08-AA98-11EA-B4AA-73B441D16380" ,
Original file line number Diff line number Diff line change 6
6
"format" : " uuid"
7
7
},
8
8
"tests" : [
9
+ {
10
+ "description" : " all string formats ignore integers" ,
11
+ "data" : 12 ,
12
+ "valid" : true
13
+ },
14
+ {
15
+ "description" : " all string formats ignore floats" ,
16
+ "data" : 13.7 ,
17
+ "valid" : true
18
+ },
19
+ {
20
+ "description" : " all string formats ignore objects" ,
21
+ "data" : {},
22
+ "valid" : true
23
+ },
24
+ {
25
+ "description" : " all string formats ignore arrays" ,
26
+ "data" : [],
27
+ "valid" : true
28
+ },
29
+ {
30
+ "description" : " all string formats ignore booleans" ,
31
+ "data" : false ,
32
+ "valid" : true
33
+ },
34
+ {
35
+ "description" : " all string formats ignore nulls" ,
36
+ "data" : null ,
37
+ "valid" : true
38
+ },
9
39
{
10
40
"description" : " all upper-case" ,
11
41
"data" : " 2EB8AA08-AA98-11EA-B4AA-73B441D16380" ,
Original file line number Diff line number Diff line change 6
6
"format" : " uuid"
7
7
},
8
8
"tests" : [
9
+ {
10
+ "description" : " all string formats ignore integers" ,
11
+ "data" : 12 ,
12
+ "valid" : true
13
+ },
14
+ {
15
+ "description" : " all string formats ignore floats" ,
16
+ "data" : 13.7 ,
17
+ "valid" : true
18
+ },
19
+ {
20
+ "description" : " all string formats ignore objects" ,
21
+ "data" : {},
22
+ "valid" : true
23
+ },
24
+ {
25
+ "description" : " all string formats ignore arrays" ,
26
+ "data" : [],
27
+ "valid" : true
28
+ },
29
+ {
30
+ "description" : " all string formats ignore booleans" ,
31
+ "data" : false ,
32
+ "valid" : true
33
+ },
34
+ {
35
+ "description" : " all string formats ignore nulls" ,
36
+ "data" : null ,
37
+ "valid" : true
38
+ },
9
39
{
10
40
"description" : " all upper-case" ,
11
41
"data" : " 2EB8AA08-AA98-11EA-B4AA-73B441D16380" ,
You can’t perform that action at this time.
0 commit comments