Jian Li | c132c11 | 2016-01-28 20:27:34 -0800 | [diff] [blame] | 1 | { |
| 2 | "type": "object", |
Jian Li | ba6b117 | 2016-02-01 22:40:42 -0800 | [diff] [blame] | 3 | "title": "disks", |
Jian Li | c132c11 | 2016-01-28 20:27:34 -0800 | [diff] [blame] | 4 | "required": [ |
Jian Li | ba6b117 | 2016-02-01 22:40:42 -0800 | [diff] [blame] | 5 | "disks" |
Jian Li | c132c11 | 2016-01-28 20:27:34 -0800 | [diff] [blame] | 6 | ], |
| 7 | "properties": { |
Jian Li | ba6b117 | 2016-02-01 22:40:42 -0800 | [diff] [blame] | 8 | "disks": { |
| 9 | "type": "array", |
| 10 | "xml": { |
| 11 | "name": "disks", |
| 12 | "wrapped": true |
| 13 | }, |
| 14 | "items": { |
| 15 | "type": "object", |
| 16 | "title": "disks", |
| 17 | "required": [ |
| 18 | "resourceName", |
| 19 | "readBytes", |
| 20 | "writeBytes" |
| 21 | ], |
| 22 | "properties": { |
| 23 | "resourceName": { |
| 24 | "type": "string", |
| 25 | "example": "disk1" |
| 26 | }, |
| 27 | "readBytes": { |
| 28 | "type": "integer", |
| 29 | "format": "int64", |
| 30 | "example": "500" |
| 31 | }, |
| 32 | "writeBytes": { |
| 33 | "type": "integer", |
| 34 | "format": "int64", |
| 35 | "example": "300" |
| 36 | } |
| 37 | } |
| 38 | } |
Jian Li | c132c11 | 2016-01-28 20:27:34 -0800 | [diff] [blame] | 39 | } |
| 40 | } |
| 41 | } |