Laszlo Papp | da059e7 | 2017-10-23 11:39:31 +0100 | [diff] [blame] | 1 | { |
| 2 | "type": "object", |
| 3 | "title": "powerConfigPorts", |
| 4 | "additionalProperties": { |
| 5 | "type": "object", |
| 6 | "title": "powerConfigPort", |
| 7 | "additionalProperties": { |
| 8 | "type": "object", |
| 9 | "title": "powerConfigComponent", |
| 10 | "required": [ |
| 11 | "currentPower", |
| 12 | "targetPower", |
| 13 | "inputPowerRange", |
| 14 | "targetPowerRange" |
| 15 | ], |
| 16 | "properties": { |
| 17 | "currentPower": { |
| 18 | "type": "integer", |
| 19 | "format": "int64", |
| 20 | "example": -755 |
| 21 | }, |
| 22 | "targetPower": { |
| 23 | "type": "integer", |
| 24 | "format": "int64", |
| 25 | "example": -800 |
| 26 | }, |
| 27 | "inputPowerRange": { |
| 28 | "type": "string", |
| 29 | "example": "[-6000..2800]" |
| 30 | }, |
| 31 | "targetPowerRange": { |
| 32 | "type": "string", |
| 33 | "example": "[-6000..2800]" |
| 34 | } |
| 35 | } |
| 36 | } |
| 37 | } |
| 38 | } |