Fix a type mismatch on Windows caused by r201738.
[chromium-blink-merge.git] / tools / json_schema_compiler / test / callbacks.json
blob06455b99e056928f42356317f0fe53b61bfcd253
2   {
3     "namespace": "callbacks",
4     "types": [],
5     "functions": [
6       {
7         "name": "returnsNothing",
8         "type": "function",
9         "description": "Takes nothing. Returns nothing.",
10         "parameters": [
11           {
12             "name": "callback",
13             "type": "function",
14             "parameters": []
15           }
16         ]
17       },
18       {
19         "name": "returnsObject",
20         "description": "Returns an object.",
21         "type": "function",
22         "parameters": [
23           {
24             "name": "callback",
25             "type": "function",
26             "parameters": [
27               {
28                 "name": "someObject",
29                 "type": "object",
30                 "properties": {
31                   "state": {
32                     "type": "string",
33                     "enum": ["foo", "bar", "baz"]
34                   }
35                 }
36               }
37             ]
38           }
39         ]
40       },
41       {
42         "name": "returnsMultiple",
43         "description": "Returns an object.",
44         "type": "function",
45         "parameters": [
46           {
47             "name": "callback",
48             "type": "function",
49             "parameters": [
50               {
51                 "name": "someInteger",
52                 "type": "integer"
53               },
54               {
55                 "name": "someObject",
56                 "type": "object",
57                 "properties": {
58                   "state": {
59                     "type": "string",
60                     "enum": ["foo", "bar", "baz"]
61                   }
62                 }
63               }
64             ]
65           }
66         ]
67       }
68     ]
69   }