blob: fb5bbeb9b8e0d20fa4e6386f91d4632fd246ab32 [file] [log] [blame]
andrea1ce2bc82015-11-18 16:58:10 -08001{
2 "type": "object",
3 "title": "application",
4 "required": [
5 "name",
6 "id",
7 "version",
8 "description",
9 "origin",
10 "permissions",
11 "featuresRepo",
12 "features",
13 "requiredApps",
14 "state"
15 ],
16 "properties": {
17 "name": {
18 "type": "string",
19 "example": "org.onosproject.distributedprimitives"
20 },
21 "id": {
22 "type": "integer",
23 "format": "int64",
24 "example": 1
25 },
26 "version": {
27 "type": "string",
Brian O'Connor372658e2015-12-04 23:17:41 -080028 "example": "1.2.3"
andrea1ce2bc82015-11-18 16:58:10 -080029 },
30 "description": {
31 "type": "string",
32 "example": "ONOS app to test distributed primitives"
33 },
34 "origin": {
35 "type": "string",
36 "example": "ON.Lab"
37 },
38 "permissions": {
39 "type": "array",
40 "xml": {
41 "name": "hosts",
42 "wrapped": true
43 },
44 "items": {
45 "type": "string",
46 "example": ""
47 }
48 },
49 "featuresRepo": {
50 "type": "string",
Brian O'Connor372658e2015-12-04 23:17:41 -080051 "example": "mvn:org.onosproject/onos-app-cip/1.2.3/xml/features"
andrea1ce2bc82015-11-18 16:58:10 -080052 },
53 "features": {
54 "type": "array",
55 "xml": {
56 "name": "features",
57 "wrapped": true
58 },
59 "items": {
60 "type": "string",
61 "example": "onos-app-distributed-primitives"
62 }
63 },
64 "requiredApps": {
65 "type": "array",
66 "xml": {
67 "name": "requiredApps",
68 "wrapped": true
69 },
70 "items": {
71 "type": "string",
72 "example": ""
73 }
74 },
75 "state": {
76 "type": "string",
77 "example": "ACTIVE"
78 }
79 }
80}