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

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

Issue 9456007: Add wider support to json_schema_compiler (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: reupload Created 8 years, 9 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": "array", 3 "namespace": "arrays",
4 "types": [ 4 "types": [
5 { 5 {
6 "id": "BasicArrayType", 6 "id": "BasicArrayType",
7 "type": "object", 7 "type": "object",
8 "properties": { 8 "properties": {
9 "strings": { 9 "strings": {
10 "type": "array", 10 "type": "array",
11 "items": {"type": "string"} 11 "items": {"type": "string"}
12 }, 12 },
13 "booleans": { 13 "booleans": {
(...skipping 27 matching lines...) Expand all
41 "type": "array", 41 "type": "array",
42 "items": { "$ref": "Item" } 42 "items": { "$ref": "Item" }
43 } 43 }
44 } 44 }
45 } 45 }
46 ], 46 ],
47 "functions": [ 47 "functions": [
48 { 48 {
49 "name": "integerArray", 49 "name": "integerArray",
50 "type": "function", 50 "type": "function",
51 "description": "Increments the given integer.", 51 "description": "Takes some integers.",
52 "parameters": [ 52 "parameters": [
53 { 53 {
54 "name": "nums", 54 "name": "nums",
55 "type": "array", 55 "type": "array",
56 "items": {"type": "integer"} 56 "items": {"type": "integer"}
57 }, 57 },
58 { 58 {
59 "name": "callback", 59 "name": "callback",
60 "type": "function", 60 "type": "function",
61 "parameters": [] 61 "parameters": []
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 "type": "array", 111 "type": "array",
112 "items": {"$ref": "Item"} 112 "items": {"$ref": "Item"}
113 } 113 }
114 ] 114 ]
115 } 115 }
116 ] 116 ]
117 } 117 }
118 ] 118 ]
119 } 119 }
120 ] 120 ]
OLDNEW
« no previous file with comments | « tools/json_schema_compiler/test/array_unittest.cc ('k') | tools/json_schema_compiler/test/arrays_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698