Brian Stanke | b8ff641 | 2016-02-25 14:16:19 -0500 | [diff] [blame] | 1 | { |
| 2 | "type": "object", |
| 3 | "title": "Devicekeys", |
| 4 | "required": [ |
| 5 | "keys" |
| 6 | ], |
| 7 | "properties": { |
| 8 | "keys": { |
| 9 | "type": "array", |
| 10 | "xml": { |
| 11 | "name": "keys", |
| 12 | "wrapped": true |
| 13 | }, |
| 14 | "items": { |
| 15 | "type": "object", |
| 16 | "title": "key", |
| 17 | "required": [ |
| 18 | "id", |
| 19 | "type", |
| 20 | "label" |
| 21 | ], |
| 22 | "properties": { |
| 23 | "id": { |
| 24 | "type": "String", |
| 25 | "example": "Device key unique identifier" |
| 26 | }, |
| 27 | "type": { |
| 28 | "type": "String", |
| 29 | "example": "COMMUNITY_NAME, OR USERNAME_PASSWORD" |
| 30 | }, |
| 31 | "label": { |
| 32 | "type": "String", |
| 33 | "example": "Device key user label" |
| 34 | }, |
| 35 | "community_name": { |
| 36 | "type": "String", |
| 37 | "example": "Device key community name" |
| 38 | }, |
| 39 | "username": { |
| 40 | "type": "String", |
| 41 | "example": "Device key username" |
| 42 | }, |
| 43 | "password": { |
| 44 | "type": "String", |
| 45 | "example": "Device key password" |
| 46 | } |
| 47 | } |
| 48 | } |
| 49 | } |
| 50 | } |
| 51 | } |