Add radicale and gitea config to schema (#41)

This commit is contained in:
Patrick Stevens
2025-10-12 10:35:07 +01:00
committed by GitHub
parent 3706de1a14
commit d42652dc43
3 changed files with 159 additions and 0 deletions

View File

@@ -41,6 +41,72 @@
},
"remoteUsername": {
"type": "string"
},
"radicaleConfig": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/definitions/SerialisedRadicaleConfig"
}
]
},
"giteaConfig": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/definitions/SerialisedGiteaConfig"
}
]
}
},
"definitions": {
"SerialisedRadicaleConfig": {
"type": "object",
"additionalProperties": false,
"required": [
"user",
"password",
"gitEmail"
],
"properties": {
"user": {
"type": "string"
},
"password": {
"type": "string"
},
"gitEmail": {
"type": "string"
}
}
},
"SerialisedGiteaConfig": {
"type": "object",
"additionalProperties": false,
"required": [
"serverPassword",
"adminPassword",
"adminEmailAddress",
"adminUsername"
],
"properties": {
"serverPassword": {
"type": "string"
},
"adminPassword": {
"type": "string"
},
"adminEmailAddress": {
"type": "string"
},
"adminUsername": {
"type": "string"
}
}
}
}
}