blob: 9be4fe44a6aab86e93c64f3d09d543e76cf6f42f [file] [log] [blame]
andrea1ce2bc82015-11-18 16:58:10 -08001{
2 "type": "object",
3 "title": "application",
4 "required": [
5 "name",
6 "id",
7 "version",
Jian Li6282c802016-01-19 19:38:40 -08008 "category",
andrea1ce2bc82015-11-18 16:58:10 -08009 "description",
Jian Li6282c802016-01-19 19:38:40 -080010 "readme",
andrea1ce2bc82015-11-18 16:58:10 -080011 "origin",
Jian Li6282c802016-01-19 19:38:40 -080012 "url",
andrea1ce2bc82015-11-18 16:58:10 -080013 "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'Connor372658e2015-12-04 23:17:41 -080031 "example": "1.2.3"
andrea1ce2bc82015-11-18 16:58:10 -080032 },
Jian Li6282c802016-01-19 19:38:40 -080033 "category": {
34 "type": "string",
35 "example": "default"
36 },
andrea1ce2bc82015-11-18 16:58:10 -080037 "description": {
38 "type": "string",
39 "example": "ONOS app to test distributed primitives"
40 },
Jian Li6282c802016-01-19 19:38:40 -080041 "readme": {
42 "type": "string",
43 "example": "ONOS app to test distributed primitives."
44 },
andrea1ce2bc82015-11-18 16:58:10 -080045 "origin": {
46 "type": "string",
47 "example": "ON.Lab"
48 },
Jian Li6282c802016-01-19 19:38:40 -080049 "url": {
50 "type": "string",
51 "example": "http://onosproject.org"
52 },
andrea1ce2bc82015-11-18 16:58:10 -080053 "permissions": {
54 "type": "array",
55 "xml": {
56 "name": "hosts",
57 "wrapped": true
58 },
59 "items": {
60 "type": "string",
61 "example": ""
62 }
63 },
64 "featuresRepo": {
65 "type": "string",
Brian O'Connor372658e2015-12-04 23:17:41 -080066 "example": "mvn:org.onosproject/onos-app-cip/1.2.3/xml/features"
andrea1ce2bc82015-11-18 16:58:10 -080067 },
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}