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

Side by Side Diff: chrome/common/extensions/docs/server2/test_data/test_json/ref_test.json

Issue 11315018: Extensions Docs Server: Generalize $ref's to work for any schema node (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup Created 8 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 | Annotate | Revision Log
OLDNEW
1 [ 1 [
2 { 2 {
3 "namespace": "ref_test", 3 "namespace": "ref_test",
4 "types": [ 4 "types": [
5 { 5 {
6 "id": "type1", 6 "id": "type1",
7 "type": "string", 7 "type": "string",
8 "description": "$ref:type2" 8 "description": "$ref:type2"
9 }, 9 },
10 { 10 {
11 "id": "type2", 11 "id": "type2",
12 "type": "string", 12 "type": "string",
13 "description": "A $ref:type3, or $ref:type2" 13 "description": "A $ref:type3, or $ref:type2"
14 }, 14 },
15 { 15 {
16 "id": "type3", 16 "id": "type3",
17 "type": "string", 17 "type": "string",
18 "description": "$ref:other.type2 != $ref:ref_test.type2" 18 "description": "$ref:other.type2 != $ref:ref_test.type2"
19 } 19 }
20 ],
21 "events": [
22 {
23 "name": "event1",
24 "type": "function",
25 "description": "We like $ref:type1",
26 "parameters": [
27 {
28 "name": "param1",
29 "type": "string"
30 }
31 ]
32 }
33 ],
34 "properties": {
35 "prop1": {
36 "$ref": "type3"
37 }
38 },
39 "functions": [
40 {
41 "name": "func1",
42 "type": "function",
43 "parameters": [
44 {
45 "name": "param1",
46 "type": "string"
47 }
48 ]
49 }
20 ] 50 ]
21 } 51 }
22 ] 52 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698