blob: ea6c3ea25a85ab5dea77326dd95f520f15203fe9 [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",
28 "example": "1.4.0.SNAPSHOT"
29 },
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",
51 "example": "mvn:org.onosproject/onos-app-cip/1.4.0-SNAPSHOT/xml/features"
52 },
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}