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 "default": null
}, },
"dns": { "dns": {
"description": "This contains the domains(Keys) and the DNS-Servers(values) that are responsible for it.",
"type": "object", "type": "object",
"additionalProperties": { "additionalProperties": {
"$ref": "#/$defs/DnsBuilder" "$ref": "#/$defs/Builder"
} }
}, },
"certificates_path": { "certificates_path": {
@ -29,6 +30,7 @@
"default": "certificates" "default": "certificates"
}, },
"ca": { "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", "type": "object",
"additionalProperties": { "additionalProperties": {
"$ref": "#/$defs/CA" "$ref": "#/$defs/CA"
@ -37,7 +39,7 @@
}, },
"additionalProperties": false, "additionalProperties": false,
"$defs": { "$defs": {
"DnsBuilder": { "Builder": {
"oneOf": [ "oneOf": [
{ {
"type": "object", "type": "object",
@ -64,19 +66,6 @@
"server" "server"
] ]
}, },
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "dnsupdate"
}
},
"additionalProperties": false,
"required": [
"type"
]
},
{ {
"type": "object", "type": "object",
"properties": { "properties": {
@ -118,7 +107,7 @@
"type": "string" "type": "string"
}, },
"renew_before": { "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", "type": "integer",
"format": "uint32", "format": "uint32",
"minimum": 1, "minimum": 1,

Datei anzeigen

@ -66,13 +66,19 @@
}, },
"owner": { "owner": {
"description": "Owner of the Certificate and private key", "description": "Owner of the Certificate and private key",
"type": "string", "type": [
"default": "" "string",
"null"
],
"default": null
}, },
"group": { "group": {
"description": "Group of the Certificate and private key", "description": "Group of the Certificate and private key",
"type": "string", "type": [
"default": "" "string",
"null"
],
"default": null
} }
}, },
"additionalProperties": false, "additionalProperties": false,
@ -81,7 +87,7 @@
"domains" "domains"
], ],
"$defs": { "$defs": {
"DnsBuilder": { "Builder": {
"oneOf": [ "oneOf": [
{ {
"type": "object", "type": "object",
@ -108,19 +114,6 @@
"server" "server"
] ]
}, },
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "dnsupdate"
}
},
"additionalProperties": false,
"required": [
"type"
]
},
{ {
"type": "object", "type": "object",
"properties": { "properties": {
@ -162,7 +155,7 @@
"type": "string" "type": "string"
}, },
"renew_before": { "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", "type": "integer",
"format": "uint32", "format": "uint32",
"minimum": 1, "minimum": 1,