- add sources.
[platform/framework/web/crosswalk.git] / src / chrome / common / extensions / docs / server2 / test_data / test_json / ref_test.json
1 [
2   {
3     "namespace": "ref_test",
4     "description": "An API for testing ref's",
5     "types": [
6       {
7         "id": "type1",
8         "type": "string",
9         "description": "$ref:type2"
10       },
11       {
12         "id": "type2",
13         "type": "string",
14         "description": "A $ref:type3, or $ref:type2"
15       },
16       {
17         "id": "type3",
18         "type": "string",
19         "description": "$ref:other.type2 != $ref:ref_test.type2"
20       }
21     ],
22     "events": [
23       {
24         "name": "event1",
25         "type": "function",
26         "description": "We like $ref:type1",
27         "parameters": [
28           {
29             "name": "param1",
30             "type": "string"
31           }
32         ]
33       }
34     ],
35     "properties": {
36       "prop1": {
37         "$ref": "type3"
38       }
39     },
40     "functions": [
41       {
42         "name": "func1",
43         "type": "function",
44         "parameters": [
45           {
46             "name": "param1",
47             "type": "string"
48           }
49         ]
50       }
51     ]
52   }
53 ]