blob: f2d32a8413f825fdd46c9ebae886da0546f30fb1 [file] [log] [blame]
andrea1ce2bc82015-11-18 16:58:10 -08001{
2 "type": "object",
3 "title": "cluster",
4 "required": [
5 "nodes"
6 ],
7 "properties": {
8 "nodes": {
9 "type": "array",
10 "xml": {
11 "name": "nodes",
12 "wrapped": true
13 },
14 "items": {
15 "type": "object",
16 "title": "nodes",
17 "required": [
18 "id",
19 "ip",
20 "tcpPort",
21 "status"
22 ],
23 "properties": {
24 "id": {
25 "type": "string",
26 "example": "127.0.0.1"
27 },
28 "ip": {
29 "type": "string",
30 "example": "127.0.0.1"
31 },
32 "tcpPort": {
33 "type": "integer",
34 "format": "int64",
35 "example": 9876
36 },
37 "status": {
38 "type": "string",
39 "example": "ACTIVE"
40 }
41 }
42 }
43 }
44 }
45}