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