blob: a8013d1085bfa7040c61a9e3793893da92f6defd [file] [log] [blame]
andrea1ce2bc82015-11-18 16:58:10 -08001{
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 Li6282c802016-01-19 19:38:40 -080021 "category",
andrea1ce2bc82015-11-18 16:58:10 -080022 "description",
Jian Li6282c802016-01-19 19:38:40 -080023 "readme",
andrea1ce2bc82015-11-18 16:58:10 -080024 "origin",
Jian Li6282c802016-01-19 19:38:40 -080025 "url",
andrea1ce2bc82015-11-18 16:58:10 -080026 "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'Connor372658e2015-12-04 23:17:41 -080044 "example": "1.2.3"
andrea1ce2bc82015-11-18 16:58:10 -080045 },
Jian Li6282c802016-01-19 19:38:40 -080046 "category": {
47 "type": "string",
48 "example": "default"
49 },
andrea1ce2bc82015-11-18 16:58:10 -080050 "description": {
51 "type": "string",
52 "example": "ONOS app to test distributed primitives"
53 },
Jian Li6282c802016-01-19 19:38:40 -080054 "readme": {
55 "type": "string",
56 "example": "ONOS app to test distributed primitives."
57 },
andrea1ce2bc82015-11-18 16:58:10 -080058 "origin": {
59 "type": "string",
Thomas Vachuskaa10137c2018-04-03 16:45:59 -070060 "example": "Open Networking Foundation"
andrea1ce2bc82015-11-18 16:58:10 -080061 },
Jian Li6282c802016-01-19 19:38:40 -080062 "url": {
63 "type": "string",
64 "example": "http://onosproject.org"
65 },
andrea1ce2bc82015-11-18 16:58:10 -080066 "permissions": {
67 "type": "array",
68 "xml": {
Jian Lic67ca3c2016-01-21 13:42:19 -080069 "name": "permissions",
andrea1ce2bc82015-11-18 16:58:10 -080070 "wrapped": true
71 },
72 "items": {
73 "type": "string",
74 "example": ""
75 }
76 },
77 "featuresRepo": {
78 "type": "string",
Brian O'Connor372658e2015-12-04 23:17:41 -080079 "example": "mvn:org.onosproject/onos-app-cip/1.2.3/xml/features"
andrea1ce2bc82015-11-18 16:58:10 -080080 },
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}