153 lines
2.7 KiB
JSON
153 lines
2.7 KiB
JSON
{
|
|
"nullable": false,
|
|
"type": "object",
|
|
"properties": {
|
|
"user": {
|
|
"nullable": false,
|
|
"type": "string",
|
|
"default": "owncloud"
|
|
},
|
|
"directory": {
|
|
"nullable": false,
|
|
"type": "string",
|
|
"default": "/opt/owncloud"
|
|
},
|
|
"version": {
|
|
"nullable": false,
|
|
"type": "string",
|
|
"default": "7.2.0"
|
|
},
|
|
"platform": {
|
|
"nullable": false,
|
|
"type": "string",
|
|
"default": "linux-amd64"
|
|
},
|
|
"domain": {
|
|
"nullable": false,
|
|
"type": "string"
|
|
},
|
|
"admin_password": {
|
|
"nullable": false,
|
|
"type": "string"
|
|
},
|
|
"authentication": {
|
|
"anyOf": [
|
|
{
|
|
"nullable": false,
|
|
"type": "object",
|
|
"properties": {
|
|
"kind": {
|
|
"type": "string",
|
|
"enum": ["internal"],
|
|
"default": "internal"
|
|
},
|
|
"data": {
|
|
"nullable": false,
|
|
"type": "object",
|
|
"properties": {
|
|
},
|
|
"additionalProperties": false,
|
|
"required": [
|
|
],
|
|
"default": {
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"kind",
|
|
"data"
|
|
]
|
|
},
|
|
{
|
|
"nullable": false,
|
|
"type": "object",
|
|
"properties": {
|
|
"kind": {
|
|
"type": "string",
|
|
"enum": ["authelia"],
|
|
"default": "authelia"
|
|
},
|
|
"data": {
|
|
"nullable": false,
|
|
"type": "object",
|
|
"properties": {
|
|
"url_base": {
|
|
"nullable": false,
|
|
"type": "string"
|
|
},
|
|
"web": {
|
|
"nullable": true,
|
|
"type": "object",
|
|
"properties": {
|
|
"client_id": {
|
|
"type": "string",
|
|
"mandatory": false,
|
|
"default": "owncloud_web"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"client_id"
|
|
],
|
|
"default": {
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"url_base",
|
|
"web"
|
|
]
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"kind",
|
|
"data"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"public_share": {
|
|
"nullable": false,
|
|
"type": "object",
|
|
"properties": {
|
|
"password_necessity": {
|
|
"nullable": false,
|
|
"type": "string",
|
|
"enum": [
|
|
"nothing",
|
|
"writable",
|
|
"all"
|
|
],
|
|
"default": "writable"
|
|
},
|
|
"password_policy_active": {
|
|
"nullable": false,
|
|
"type": "boolean",
|
|
"default": true
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"password_necessity",
|
|
"password_policy_active"
|
|
],
|
|
"default": {
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"user",
|
|
"directory",
|
|
"version",
|
|
"platform",
|
|
"domain",
|
|
"admin_password",
|
|
"authentication",
|
|
"public_share"
|
|
]
|
|
}
|