andrea | 1ce2bc8 | 2015-11-18 16:58:10 -0800 | [diff] [blame] | 1 | { |
| 2 | "type": "object", |
| 3 | "title": "applications", |
| 4 | "required": [ |
| 5 | "applications" |
| 6 | ], |
| 7 | "properties": { |
| 8 | "applications": { |
| 9 | "type": "array", |
| 10 | "xml": { |
| 11 | "name": "applications", |
| 12 | "wrapped": true |
| 13 | }, |
| 14 | "items": { |
| 15 | "type": "object", |
| 16 | "title": "application", |
| 17 | "required": [ |
| 18 | "name", |
| 19 | "id", |
| 20 | "version", |
Jian Li | 6282c80 | 2016-01-19 19:38:40 -0800 | [diff] [blame] | 21 | "category", |
andrea | 1ce2bc8 | 2015-11-18 16:58:10 -0800 | [diff] [blame] | 22 | "description", |
Jian Li | 6282c80 | 2016-01-19 19:38:40 -0800 | [diff] [blame] | 23 | "readme", |
andrea | 1ce2bc8 | 2015-11-18 16:58:10 -0800 | [diff] [blame] | 24 | "origin", |
Jian Li | 6282c80 | 2016-01-19 19:38:40 -0800 | [diff] [blame] | 25 | "url", |
andrea | 1ce2bc8 | 2015-11-18 16:58:10 -0800 | [diff] [blame] | 26 | "permissions", |
| 27 | "featuresRepo", |
| 28 | "features", |
| 29 | "requiredApps", |
| 30 | "state" |
| 31 | ], |
| 32 | "properties": { |
| 33 | "name": { |
| 34 | "type": "string", |
| 35 | "example": "org.onosproject.distributedprimitives" |
| 36 | }, |
| 37 | "id": { |
| 38 | "type": "integer", |
| 39 | "format": "int64", |
| 40 | "example": 1 |
| 41 | }, |
| 42 | "version": { |
| 43 | "type": "string", |
Brian O'Connor | 372658e | 2015-12-04 23:17:41 -0800 | [diff] [blame] | 44 | "example": "1.2.3" |
andrea | 1ce2bc8 | 2015-11-18 16:58:10 -0800 | [diff] [blame] | 45 | }, |
Jian Li | 6282c80 | 2016-01-19 19:38:40 -0800 | [diff] [blame] | 46 | "category": { |
| 47 | "type": "string", |
| 48 | "example": "default" |
| 49 | }, |
andrea | 1ce2bc8 | 2015-11-18 16:58:10 -0800 | [diff] [blame] | 50 | "description": { |
| 51 | "type": "string", |
| 52 | "example": "ONOS app to test distributed primitives" |
| 53 | }, |
Jian Li | 6282c80 | 2016-01-19 19:38:40 -0800 | [diff] [blame] | 54 | "readme": { |
| 55 | "type": "string", |
| 56 | "example": "ONOS app to test distributed primitives." |
| 57 | }, |
andrea | 1ce2bc8 | 2015-11-18 16:58:10 -0800 | [diff] [blame] | 58 | "origin": { |
| 59 | "type": "string", |
Thomas Vachuska | a10137c | 2018-04-03 16:45:59 -0700 | [diff] [blame] | 60 | "example": "Open Networking Foundation" |
andrea | 1ce2bc8 | 2015-11-18 16:58:10 -0800 | [diff] [blame] | 61 | }, |
Jian Li | 6282c80 | 2016-01-19 19:38:40 -0800 | [diff] [blame] | 62 | "url": { |
| 63 | "type": "string", |
| 64 | "example": "http://onosproject.org" |
| 65 | }, |
andrea | 1ce2bc8 | 2015-11-18 16:58:10 -0800 | [diff] [blame] | 66 | "permissions": { |
| 67 | "type": "array", |
| 68 | "xml": { |
Jian Li | c67ca3c | 2016-01-21 13:42:19 -0800 | [diff] [blame] | 69 | "name": "permissions", |
andrea | 1ce2bc8 | 2015-11-18 16:58:10 -0800 | [diff] [blame] | 70 | "wrapped": true |
| 71 | }, |
| 72 | "items": { |
| 73 | "type": "string", |
| 74 | "example": "" |
| 75 | } |
| 76 | }, |
| 77 | "featuresRepo": { |
| 78 | "type": "string", |
Brian O'Connor | 372658e | 2015-12-04 23:17:41 -0800 | [diff] [blame] | 79 | "example": "mvn:org.onosproject/onos-app-cip/1.2.3/xml/features" |
andrea | 1ce2bc8 | 2015-11-18 16:58:10 -0800 | [diff] [blame] | 80 | }, |
| 81 | "features": { |
| 82 | "type": "array", |
| 83 | "xml": { |
| 84 | "name": "features", |
| 85 | "wrapped": true |
| 86 | }, |
| 87 | "items": { |
| 88 | "type": "string", |
| 89 | "example": "onos-app-distributed-primitives" |
| 90 | } |
| 91 | }, |
| 92 | "requiredApps": { |
| 93 | "type": "array", |
| 94 | "xml": { |
| 95 | "name": "requiredApps", |
| 96 | "wrapped": true |
| 97 | }, |
| 98 | "items": { |
| 99 | "type": "string", |
| 100 | "example": "" |
| 101 | } |
| 102 | }, |
| 103 | "state": { |
| 104 | "type": "string", |
| 105 | "example": "ACTIVE" |
| 106 | } |
| 107 | } |
| 108 | } |
| 109 | } |
| 110 | } |
| 111 | } |