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

Side by Side Diff: tools/json_schema_compiler/test/dependency_tester.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 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 [ 5 [
6 { 6 {
7 "namespace": "dependencyTester", 7 "namespace": "dependencyTester",
8 "description": "An API for testing dependencies.",
8 "dependencies": [ "browserAction", "fontSettings" ], 9 "dependencies": [ "browserAction", "fontSettings" ],
9 "types": [], 10 "types": [],
10 "functions": [ 11 "functions": [
11 { 12 {
12 "name": "setTitle", 13 "name": "setTitle",
13 "type": "function", 14 "type": "function",
14 "description": "hi", 15 "description": "hi",
15 "parameters": [ 16 "parameters": [
16 { 17 {
17 "name": "details", 18 "name": "details",
18 "type": "object", 19 "type": "object",
19 "properties": { 20 "properties": {
20 "color": { 21 "color": {
21 "$ref": "browserAction.ColorArray" 22 "$ref": "browserAction.ColorArray"
22 }, 23 },
23 "scriptCode": { 24 "scriptCode": {
24 "$ref": "fontSettings.FakeStringType" 25 "$ref": "fontSettings.FakeStringType"
25 } 26 }
26 } 27 }
27 } 28 }
28 ] 29 ]
29 } 30 }
30 ] 31 ]
31 } 32 }
32 ] 33 ]
OLDNEW
« no previous file with comments | « tools/json_schema_compiler/test/crossref.json ('k') | tools/json_schema_compiler/test/enums.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698