summaryrefslogtreecommitdiffstats
path: root/config/schema.json
diff options
context:
space:
mode:
Diffstat (limited to 'config/schema.json')
-rw-r--r--config/schema.json182
1 files changed, 0 insertions, 182 deletions
diff --git a/config/schema.json b/config/schema.json
deleted file mode 100644
index 13dca5132..000000000
--- a/config/schema.json
+++ /dev/null
@@ -1,182 +0,0 @@
-{
- "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": {
- "type": "string"
- },
- "email": {
- "type": "string",
- "pattern": "^.+@.+\\..+$"
- },
- "homepage": {
- "type": "string",
- "pattern": "^https?://.*$"
- }
- },
- "required": ["name", "email"],
- "additionalProperties": false
- }
- },
- "repository": {
- "type": "object",
- "properties": {
- "type": {
- "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?://.*$"
- },
- "admin": {
- "type": "string",
- "pattern": "^https?://.*$"
- },
- "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]+)*)*|(/.+/.*)$"
- },
- "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
- }
- },
- "required": [
- "name",
- "id",
- "description",
- "licence",
- "version",
- "authors",
- "repository"
- ],
- "additionalProperties": false
-} \ No newline at end of file