fixed the schemata

Dieser Commit ist enthalten in:
Sebastian Tobie 2025-06-25 19:51:20 +02:00
Ursprung 51a1e0c9bd
Commit 67790007ce
2 geänderte Dateien mit 17 neuen und 35 gelöschten Zeilen

Datei anzeigen

@ -19,9 +19,10 @@
"default": null
},
"dns": {
"description": "This contains the domains(Keys) and the DNS-Servers(values) that are responsible for it.",
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/DnsBuilder"
"$ref": "#/$defs/Builder"
}
},
"certificates_path": {
@ -29,6 +30,7 @@
"default": "certificates"
},
"ca": {
"description": "The Key of this table describe an nickname for an CA.\nLetsencrypt Prod and Staging are builtin configured, so they doesn't have to be configured.",
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/CA"
@ -37,7 +39,7 @@
},
"additionalProperties": false,
"$defs": {
"DnsBuilder": {
"Builder": {
"oneOf": [
{
"type": "object",
@ -64,19 +66,6 @@
"server"
]
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "dnsupdate"
}
},
"additionalProperties": false,
"required": [
"type"
]
},
{
"type": "object",
"properties": {
@ -118,7 +107,7 @@
"type": "string"
},
"renew_before": {
"description": "Amount of days the certificate is renewed before the Certificate is outdated\n TODO: give to processor",
"description": "Amount of days the certificate is renewed before the Certificate is outdated\nTODO: give to processor",
"type": "integer",
"format": "uint32",
"minimum": 1,

Datei anzeigen

@ -66,13 +66,19 @@
},
"owner": {
"description": "Owner of the Certificate and private key",
"type": "string",
"default": ""
"type": [
"string",
"null"
],
"default": null
},
"group": {
"description": "Group of the Certificate and private key",
"type": "string",
"default": ""
"type": [
"string",
"null"
],
"default": null
}
},
"additionalProperties": false,
@ -81,7 +87,7 @@
"domains"
],
"$defs": {
"DnsBuilder": {
"Builder": {
"oneOf": [
{
"type": "object",
@ -108,19 +114,6 @@
"server"
]
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "dnsupdate"
}
},
"additionalProperties": false,
"required": [
"type"
]
},
{
"type": "object",
"properties": {
@ -162,7 +155,7 @@
"type": "string"
},
"renew_before": {
"description": "Amount of days the certificate is renewed before the Certificate is outdated\n TODO: give to processor",
"description": "Amount of days the certificate is renewed before the Certificate is outdated\nTODO: give to processor",
"type": "integer",
"format": "uint32",
"minimum": 1,