Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(420)

Side by Side Diff: tools/json_schema_compiler/test/forbidden.json

Issue 682493002: Remove the dependency on json schema compiler. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 [
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 valu es",
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 }
40 ]
OLDNEW
« no previous file with comments | « tools/json_schema_compiler/test/font_settings.json ('k') | tools/json_schema_compiler/test/functions_as_parameters.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698