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

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

Issue 16876004: Updating JSON Schema Compiler to add description field to schemas. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: (kalman) rebase Created 7 years, 6 months 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
1 [ 1 [
2 { 2 {
3 "namespace": "functions_as_parameters", 3 "namespace": "functions_as_parameters",
4 "description": "The functionsAsParameters API",
4 "types": [ 5 "types": [
5 { 6 {
6 "id": "FunctionType", 7 "id": "FunctionType",
7 "type": "object", 8 "type": "object",
8 "properties": { 9 "properties": {
9 "event_callback": { 10 "event_callback": {
10 "type": "function", 11 "type": "function",
11 "parameters": { } 12 "parameters": { }
12 } 13 }
13 } 14 }
14 }, 15 },
15 { 16 {
16 "id": "OptionalFunctionType", 17 "id": "OptionalFunctionType",
17 "type": "object", 18 "type": "object",
18 "properties": { 19 "properties": {
19 "event_callback": { 20 "event_callback": {
20 "type": "function", 21 "type": "function",
21 "optional": true, 22 "optional": true,
22 "parameters": { } 23 "parameters": { }
23 } 24 }
24 } 25 }
25 } 26 }
26 ] 27 ]
27 } 28 }
28 ] 29 ]
OLDNEW
« no previous file with comments | « tools/json_schema_compiler/test/forbidden.json ('k') | tools/json_schema_compiler/test/functions_on_types.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698