2022-08-09 13:23:30 +02:00
|
|
|
{
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
|
|
"additionalProperties": false,
|
|
|
|
"properties": {
|
|
|
|
"base": {
|
|
|
|
"title": "Base url from which to base current cuddle plan on",
|
|
|
|
"description": "Base url from which to construct current cuddle plan, is recursive",
|
|
|
|
"oneOf": [
|
|
|
|
{
|
|
|
|
"type": "string",
|
|
|
|
"title": "The url of the parameter"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
2022-08-09 13:26:41 +02:00
|
|
|
"title": "Whether it is enabled or not"
|
2022-08-09 13:23:30 +02:00
|
|
|
}
|
|
|
|
]
|
2022-08-09 17:53:53 +02:00
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"type": "object",
|
|
|
|
"title": "Scripts the cuddle cli can execute",
|
|
|
|
"description": "Scripts the cuddle cli can execute 'cuddle x my-awesome-script'",
|
|
|
|
"patternProperties": {
|
|
|
|
"^.*$": {
|
|
|
|
"required": [
|
|
|
|
"type"
|
|
|
|
],
|
|
|
|
"properties": {
|
|
|
|
"type": {
|
|
|
|
"enum": [
|
|
|
|
"shell",
|
|
|
|
"dagger"
|
|
|
|
]
|
2022-08-10 12:34:04 +02:00
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "string"
|
2022-08-09 17:53:53 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-08-09 13:23:30 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": [
|
|
|
|
"base"
|
|
|
|
],
|
|
|
|
"type": "object",
|
|
|
|
"title": "Cuddle base schema"
|
|
|
|
}
|