summaryrefslogtreecommitdiffstats
path: root/config/schema.json
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-10-21 16:45:36 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-10-21 16:45:36 +0200
commit42d69a95f3276a2d6089ca68f635c4e2f6aa7a23 (patch)
tree6a17fd7998f291e6dec1d996c1e7c724b92b8e58 /config/schema.json
parent0e6598b0734fb927109f745d9c0f3a8605a30ca5 (diff)
convert tabs indention to indention with 4 spaces because of mixing of both variants in code and better readability on github and websites because you cant set the indention width there and 8 spaces will be used for a tab
Diffstat (limited to 'config/schema.json')
-rw-r--r--config/schema.json326
1 files changed, 163 insertions, 163 deletions
diff --git a/config/schema.json b/config/schema.json
index c65a1c8dd..13dca5132 100644
--- a/config/schema.json
+++ b/config/schema.json
@@ -1,182 +1,182 @@
{
- "title": "ownCloud App Schema",
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "id": {
- "type": "string",
- "pattern": "^[a-z_]+$"
- },
- "description": {
- "type": "string"
- },
- "licence": {
- "type": "string",
- "enum": ["AGPL", "MIT", "GPL", "LGPL", "BSD","Apache"]
- },
- "admin": {
- "type": "boolean"
- },
- "version": {
- "type": "string",
- "pattern": "^[0-9]+(\\.[0-9]+)*$"
- },
- "authors": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "name": {
+ "title": "ownCloud App Schema",
+ "type": "object",
+ "properties": {
+ "name": {
"type": "string"
- },
- "email": {
- "type": "string",
- "pattern": "^.+@.+\\..+$"
- },
- "homepage": {
+ },
+ "id": {
"type": "string",
- "pattern": "^https?://.*$"
- }
+ "pattern": "^[a-z_]+$"
},
- "required": ["name", "email"],
- "additionalProperties": false
- }
- },
- "repository": {
- "type": "object",
- "properties": {
- "type": {
- "type": "string"
+ "description": {
+ "type": "string"
},
- "url": {
- "type": "string"
- }
- },
- "required": ["type", "url"],
- "additionalProperties": false
- },
- "homepage": {
- "type": "string",
- "pattern": "^https?://.*$"
- },
- "bugs": {
- "type": "string",
- "pattern": "^https?://.*$"
- },
- "documentation": {
- "type": "object",
- "properties": {
- "user": {
- "type": "string",
- "pattern": "^https?://.*$"
+ "licence": {
+ "type": "string",
+ "enum": ["AGPL", "MIT", "GPL", "LGPL", "BSD","Apache"]
},
"admin": {
- "type": "string",
- "pattern": "^https?://.*$"
+ "type": "boolean"
},
- "developer": {
- "type": "string",
- "pattern": "^https?://.*$"
- }
- },
- "additionalProperties": false
- },
- "jobs": {
- "type": "array",
- "items": {
- "type": "string",
- "pattern": "^[a-zA-Z-_:\\\\]+$"
- }
- },
- "hooks": {
- "type": "object",
- "patternProperties": {
- "^[a-zA-Z-_:\\\\]+$": {
- "type": "string",
- "pattern": "^[a-zA-Z-_:\\\\]+$"
- }
- }
- },
- "navigation": {
- "type": "object",
- "properties": {
- "route": {
- "type": "string",
- "pattern": "^([a-z]+(\\.[a-z]+)*)*|(/.+/.*)$"
+ "version": {
+ "type": "string",
+ "pattern": "^[0-9]+(\\.[0-9]+)*$"
},
- "icon": {
- "type": "string"
+ "authors": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "email": {
+ "type": "string",
+ "pattern": "^.+@.+\\..+$"
+ },
+ "homepage": {
+ "type": "string",
+ "pattern": "^https?://.*$"
+ }
+ },
+ "required": ["name", "email"],
+ "additionalProperties": false
+ }
},
- "name": {
- "type": "string"
+ "repository": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": ["type", "url"],
+ "additionalProperties": false
},
- "order": {
- "type": "integer"
- }
- },
- "additionalProperties": false
- },
- "categories": {
- "type": "array",
- "items": {
- "type": "string",
- "enum": ["Filesystem", "Authentication", "PIM", "Multimedia",
- "Productivity", "Games", "Tools", "Other"]
- },
- "minItems": 1,
- "uniqueItems": true
- },
- "dependencies": {
- "type": "object",
- "properties": {
- "databases": {
- "type": "array",
- "items": {
+ "homepage": {
"type": "string",
- "enum": ["pgsql", "mysql", "sqlite3", "mssql", "oracle"]
- },
- "uniqueItems": true
+ "pattern": "^https?://.*$"
},
- "php": {
- "type": "string",
- "pattern": "^((=|<|>|<=|>=)?[0-9]+(\\.[0-9]+)*(,(=|<|>|<=|>=)?[0-9]+(\\.[0-9]+)*)*|\\*)$"
+ "bugs": {
+ "type": "string",
+ "pattern": "^https?://.*$"
},
- "apps": {
- "type": "object",
- "patternProperties": {
- "^[a-z_]+$": {
- "type": "string",
- "pattern": "^((=|<|>|<=|>=)?[0-9]+(\\.[0-9]+)*(,(=|<|>|<=|>=)?[0-9]+(\\.[0-9]+)*)*|\\*)$"
- }
- }
+ "documentation": {
+ "type": "object",
+ "properties": {
+ "user": {
+ "type": "string",
+ "pattern": "^https?://.*$"
+ },
+ "admin": {
+ "type": "string",
+ "pattern": "^https?://.*$"
+ },
+ "developer": {
+ "type": "string",
+ "pattern": "^https?://.*$"
+ }
+ },
+ "additionalProperties": false
},
- "libs": {
- "type": "object",
- "patternProperties": {
- "^[a-z_]+$": {
- "type": "string",
- "pattern": "^((=|<|>|<=|>=)?[0-9]+(\\.[0-9]+)*(,(=|<|>|<=|>=)?[0-9]+(\\.[0-9]+)*)*|\\*)$"
+ "jobs": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "pattern": "^[a-zA-Z-_:\\\\]+$"
+ }
+ },
+ "hooks": {
+ "type": "object",
+ "patternProperties": {
+ "^[a-zA-Z-_:\\\\]+$": {
+ "type": "string",
+ "pattern": "^[a-zA-Z-_:\\\\]+$"
+ }
}
- }
},
- "owncloud": {
- "type": "string",
- "pattern": "^((=|<|>|<=|>=)?[0-9]+(\\.[0-9]+)*(,(=|<|>|<=|>=)?[0-9]+(\\.[0-9]+)*)*|\\*)$"
+ "navigation": {
+ "type": "object",
+ "properties": {
+ "route": {
+ "type": "string",
+ "pattern": "^([a-z]+(\\.[a-z]+)*)*|(/.+/.*)$"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "order": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false
+ },
+ "categories": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "enum": ["Filesystem", "Authentication", "PIM", "Multimedia",
+ "Productivity", "Games", "Tools", "Other"]
+ },
+ "minItems": 1,
+ "uniqueItems": true
+ },
+ "dependencies": {
+ "type": "object",
+ "properties": {
+ "databases": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "enum": ["pgsql", "mysql", "sqlite3", "mssql", "oracle"]
+ },
+ "uniqueItems": true
+ },
+ "php": {
+ "type": "string",
+ "pattern": "^((=|<|>|<=|>=)?[0-9]+(\\.[0-9]+)*(,(=|<|>|<=|>=)?[0-9]+(\\.[0-9]+)*)*|\\*)$"
+ },
+ "apps": {
+ "type": "object",
+ "patternProperties": {
+ "^[a-z_]+$": {
+ "type": "string",
+ "pattern": "^((=|<|>|<=|>=)?[0-9]+(\\.[0-9]+)*(,(=|<|>|<=|>=)?[0-9]+(\\.[0-9]+)*)*|\\*)$"
+ }
+ }
+ },
+ "libs": {
+ "type": "object",
+ "patternProperties": {
+ "^[a-z_]+$": {
+ "type": "string",
+ "pattern": "^((=|<|>|<=|>=)?[0-9]+(\\.[0-9]+)*(,(=|<|>|<=|>=)?[0-9]+(\\.[0-9]+)*)*|\\*)$"
+ }
+ }
+ },
+ "owncloud": {
+ "type": "string",
+ "pattern": "^((=|<|>|<=|>=)?[0-9]+(\\.[0-9]+)*(,(=|<|>|<=|>=)?[0-9]+(\\.[0-9]+)*)*|\\*)$"
+ }
+ },
+ "additionalProperties": false
}
- },
- "additionalProperties": false
- }
- },
- "required": [
- "name",
- "id",
- "description",
- "licence",
- "version",
- "authors",
- "repository"
- ],
- "additionalProperties": false
+ },
+ "required": [
+ "name",
+ "id",
+ "description",
+ "licence",
+ "version",
+ "authors",
+ "repository"
+ ],
+ "additionalProperties": false
} \ No newline at end of file