blob: 7ab7a1196d93e682cf4fb5f7e49a91067f1f7b7d [file] [log] [blame]
Jian Li0c451802016-02-24 22:39:25 +09001{
2 "type": "object",
3 "title": "regions",
4 "required": [
5 "regions"
6 ],
7 "properties": {
8 "regions": {
9 "type": "array",
10 "xml": {
11 "name": "regions",
12 "wrapped": true
13 },
14 "items": {
15 "type": "object",
16 "title": "region",
17 "required": [
18 "id",
19 "name",
20 "type",
21 "masters"
22 ],
23 "properties": {
24 "id": {
25 "type": "string",
26 "example": "1"
27 },
28 "name": {
29 "type": "string",
30 "example": "region"
31 },
32 "type": {
33 "type": "string",
34 "example": "ROOM"
35 },
36 "masters": {
37 "type": "array",
38 "xml": {
39 "name": "masters",
40 "wrapped": true
41 },
42 "items": {
43 "type": "array",
44 "xml": {
45 "name": "masters",
46 "wrapped": true
47 },
48 "items": {
49 "type": "string",
50 "example": "1"
51 }
52 }
53 }
54 }
55 }
56 }
57 }
58}