We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05ff6d8 commit 4f04966Copy full SHA for 4f04966
tests/JsonSchema/Tests/RequiredPropertyTest.php
@@ -41,6 +41,50 @@ public function getValidTests()
41
"number":{"type":"string"}
42
}
43
}'
44
+ ),
45
+ array(
46
+ '{
47
+ "number": 0
48
+ }',
49
50
+ "type":"object",
51
+ "properties":{
52
+ "number":{"type":"integer","required":true}
53
+ }
54
+ }'
55
56
57
58
+ "is_active": false
59
60
61
62
63
+ "is_active":{"type":"boolean","required":true}
64
65
66
67
68
69
+ "status": null
70
71
72
73
74
+ "status":{"type":"null","required":true}
75
76
77
78
79
80
+ "users": []
81
82
83
84
85
+ "users":{"type":"array","required":true}
86
87
88
)
89
);
90
0 commit comments