Wailok Shum | ee90c13 | 2021-03-11 21:00:11 +0800 | [diff] [blame] | 1 | { |
| 2 | "type": "object", |
| 3 | "title": "redirect-policy-creation", |
| 4 | "required": [ |
| 5 | "spinesToEnforce" |
| 6 | ], |
| 7 | "properties": { |
| 8 | "spinesToEnforce": { |
| 9 | "type": "object", |
| 10 | "title": "spinesToEnforce", |
| 11 | "required": [ |
| 12 | "deviceId" |
| 13 | ], |
| 14 | "properties": { |
| 15 | "deviceId": { |
| 16 | "type": "array", |
| 17 | "xml": { |
| 18 | "name": "deviceId", |
| 19 | "wrapped": true |
| 20 | }, |
| 21 | "items": { |
| 22 | "type": "string", |
| 23 | "title": "deviceId", |
| 24 | "example": "of:0000000000000001", |
| 25 | "description": "deviceId of spines to enforce" |
| 26 | }, |
| 27 | "description": "Array of deviceId" |
| 28 | } |
| 29 | } |
| 30 | } |
| 31 | } |
| 32 | } |