mirror of
https://github.com/Smaug123/PulumiConfig
synced 2025-10-11 11:38:40 +00:00
114 lines
2.1 KiB
JSON
114 lines
2.1 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
"title": "SerialisedConfig",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"name",
|
|
"privateKey",
|
|
"acmeEmail",
|
|
"domain",
|
|
"cnames",
|
|
"remoteUsername"
|
|
],
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"privateKey": {
|
|
"type": "string"
|
|
},
|
|
"publicKey": {
|
|
"type": "string"
|
|
},
|
|
"acmeEmail": {
|
|
"type": "string"
|
|
},
|
|
"domain": {
|
|
"type": "string"
|
|
},
|
|
"cnames": {
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"subdomains": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"remoteUsername": {
|
|
"type": "string"
|
|
},
|
|
"giteaConfig": {
|
|
"oneOf": [
|
|
{
|
|
"type": "null"
|
|
},
|
|
{
|
|
"$ref": "#/definitions/SerialisedGiteaConfig"
|
|
}
|
|
]
|
|
},
|
|
"radicaleConfig": {
|
|
"oneOf": [
|
|
{
|
|
"type": "null"
|
|
},
|
|
{
|
|
"$ref": "#/definitions/SerialisedRadicaleConfig"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"definitions": {
|
|
"SerialisedGiteaConfig": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"serverPassword",
|
|
"adminPassword",
|
|
"adminUsername",
|
|
"adminEmailAddress"
|
|
],
|
|
"properties": {
|
|
"serverPassword": {
|
|
"type": "string"
|
|
},
|
|
"adminPassword": {
|
|
"type": "string"
|
|
},
|
|
"adminUsername": {
|
|
"type": "string"
|
|
},
|
|
"adminEmailAddress": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"SerialisedRadicaleConfig": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"user",
|
|
"password"
|
|
],
|
|
"properties": {
|
|
"user": {
|
|
"type": "string"
|
|
},
|
|
"password": {
|
|
"type": "string"
|
|
},
|
|
"gitEmail": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |