-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAny.json
44 lines (44 loc) · 970 Bytes
/
Any.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
"valid": [
{
"expression": { "Any": [] },
"result": { "enum": [false] }
},
{
"expression": { "Any": [true] },
"result": { "enum": [true] }
},
{
"expression": { "Any": [true, false] },
"result": { "enum": [true] }
},
{
"expression": { "Any": [false, false] },
"result": { "enum": [false] }
},
{
"expression": { "Any": [1, true, "string"] },
"result": { "enum": [true] }
},
{
"expression": { "Any": true },
"result": { "enum": [true] }
},
{
"expression": { "Any": false },
"result": { "enum": [false] }
},
{
"expression": { "Any": [{ "Boolean": false }, { "Property": "admin" }] },
"context": { "properties": { "admin": true } },
"result": { "enum": [true] }
},
{
"expression": { "Any": null },
"result": { "enum": [false] }
}
],
"invalid": [
{ "Any": [], "All": [] }
]
}