blob: 304404a46ec07b9690d20348a90f0cfe50faf00b [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",
21 "description",
22 "origin",
23 "permissions",
24 "featuresRepo",
25 "features",
26 "requiredApps",
27 "state"
28 ],
29 "properties": {
30 "name": {
31 "type": "string",
32 "example": "org.onosproject.distributedprimitives"
33 },
34 "id": {
35 "type": "integer",
36 "format": "int64",
37 "example": 1
38 },
39 "version": {
40 "type": "string",
Brian O'Connor372658e2015-12-04 23:17:41 -080041 "example": "1.2.3"
andrea1ce2bc82015-11-18 16:58:10 -080042 },
43 "description": {
44 "type": "string",
45 "example": "ONOS app to test distributed primitives"
46 },
47 "origin": {
48 "type": "string",
49 "example": "ON.Lab"
50 },
51 "permissions": {
52 "type": "array",
53 "xml": {
54 "name": "hosts",
55 "wrapped": true
56 },
57 "items": {
58 "type": "string",
59 "example": ""
60 }
61 },
62 "featuresRepo": {
63 "type": "string",
Brian O'Connor372658e2015-12-04 23:17:41 -080064 "example": "mvn:org.onosproject/onos-app-cip/1.2.3/xml/features"
andrea1ce2bc82015-11-18 16:58:10 -080065 },
66 "features": {
67 "type": "array",
68 "xml": {
69 "name": "features",
70 "wrapped": true
71 },
72 "items": {
73 "type": "string",
74 "example": "onos-app-distributed-primitives"
75 }
76 },
77 "requiredApps": {
78 "type": "array",
79 "xml": {
80 "name": "requiredApps",
81 "wrapped": true
82 },
83 "items": {
84 "type": "string",
85 "example": ""
86 }
87 },
88 "state": {
89 "type": "string",
90 "example": "ACTIVE"
91 }
92 }
93 }
94 }
95 }
96}