cc: Fix DRLI unit test failure with property tree verification
[chromium-blink-merge.git] / tools / json_schema_compiler / test / any.json
blobd836a04a31d2702608c46f601c88d13c326dcd78
2   {
3     "namespace": "any",
4     "description": "The any API.",
5     "types": [
6       {
7         "id": "AnyType",
8         "type": "object",
9         "properties": {
10           "any": {
11             "type": "any",
12             "description": "Any way you want it, that's the way you need it."
13           }
14         }
15       }
16     ],
17     "functions": [
18       {
19         "name": "optionalAny",
20         "type": "function",
21         "description": "Takes an optional any param.",
22         "parameters": [
23           {
24             "type": "any",
25             "name": "anyName",
26             "optional": true
27           },
28           {
29             "type": "function",
30             "name": "callback",
31             "parameters": []
32           }
33         ]
34       },
35       {
36         "name": "returnAny",
37         "type": "function",
38         "description": "Returns any.",
39         "nodoc": "true",
40         "parameters": [
41           {
42             "type": "function",
43             "name": "callback",
44             "parameters": [
45               {
46                 "name": "result",
47                 "type": "any"
48               }
49             ]
50           }
51         ]
52       }
53     ],
54     "events": [
55       {
56         "name": "onAnyFired",
57         "type": "function",
58         "description": "Fired when anything is ready.",
59         "parameters": [
60           {
61             "name": "something",
62             "type": "any"
63           }
64         ]
65       }
66     ]
67   }