Battery Status API: add UMA logging for Linux.
[chromium-blink-merge.git] / tools / json_schema_compiler / test / forbidden.json
blob841b0e1af531b51b5a687f66c179f8ec0b7ed206
2   {
3     "namespace": "forbidden",
4     "description": "The forbidden API... Careful.",
5     "types": [],
6     "functions": [
7       {
8         "name": "forbiddenParameters",
9         "type": "function",
10         "description": "Don't do this at home. Accepts multiple choices and values",
11         "parameters": [
12           {
13             "name": "firstChoice",
14             "description": "a choice between int and array",
15             "choices": [
16               {"type": "integer", "minimum": 0},
17               {"type": "array", "items": {"type": "integer"}}
18             ]
19           },
20           {
21             "type": "string",
22             "name": "firstString"
23           },
24           {
25             "name": "secondChoice",
26             "description": "a choice between int and array",
27             "choices": [
28               {"type": "integer", "minimum": 0},
29               {"type": "array", "items": {"type": "integer"}}
30             ]
31           },
32           {
33             "type": "string",
34             "name": "secondString"
35           }
36         ]
37       }
38     ]
39   }