- add sources.
[platform/framework/web/crosswalk.git] / src / tools / json_schema_compiler / test / json_schema_test.json
1 [
2   {
3     "namespace": "compile",
4     "description": "The compile API.",
5     "functions": [],
6     "types":     {}
7   },
8
9   {
10     "namespace": "nocompile",
11     "description": "The nocompile API.",
12     "nocompile": true,
13     "functions": [],
14     "types":     {}
15   },
16
17   {
18     "namespace": "functions",
19     "description": "The functions API.",
20     "functions": [
21       {
22         "id": "one",
23         "nocompile": true
24       },
25       {
26         "id": "two"
27       },
28       {
29         "id": "three",
30         "nocompile": true
31       },
32       {
33         "id": "four"
34       }
35     ],
36
37     "types": {
38       "one": { "key": "value" }
39     }
40   },
41
42   {
43     "namespace": "types",
44     "description": "The types API.",
45     "functions": [
46       { "id": "one" }
47     ],
48     "types": {
49       "one": {
50         "key": "value",
51         "nocompile": true
52       },
53       "two": {
54         "key": "value"
55       },
56       "three": {
57         "key": "value",
58         "nocompile": true
59       },
60       "four": {
61         "key": "value"
62       }
63     }
64   },
65
66   {
67     "namespace": "nested",
68     "description": "The nested API.",
69     "properties": {
70       "sync": {
71         "functions": [
72           {
73             "id": "one",
74             "nocompile": true
75           },
76           {
77             "id": "two"
78           },
79           {
80             "id": "three",
81             "nocompile": true
82           },
83           {
84             "id": "four"
85           }
86         ],
87         "types": {
88           "one": {
89             "key": "value",
90             "nocompile": true
91           },
92           "two": {
93             "key": "value"
94           },
95           "three": {
96             "key": "value",
97             "nocompile": true
98           },
99           "four": {
100             "key": "value"
101           }
102         }
103       }
104     }
105   }
106 ]