53 lines
1.3 KiB
JSON
53 lines
1.3 KiB
JSON
{
|
|
"type": "object",
|
|
"properties": {
|
|
"description": {
|
|
"type": ["string", "null"],
|
|
"description": "backend description"
|
|
},
|
|
"default_backend_param": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"description": "default backend parameter"
|
|
},
|
|
"default_run_command": {
|
|
"type": ["string", "null"],
|
|
"description": "default start command"
|
|
},
|
|
"health_check_path": {
|
|
"type": ["string", "null"],
|
|
"description": "health check path"
|
|
},
|
|
"version_configs": {
|
|
"type": "object",
|
|
"patternProperties": {
|
|
"^[a-zA-Z0-9._-]+$": {
|
|
"type": "object",
|
|
"properties": {
|
|
"image_name": {
|
|
"type": "string",
|
|
"description": "image name"
|
|
},
|
|
"run_command": {
|
|
"type": ["string", "null"],
|
|
"description": "start command"
|
|
},
|
|
"custom_framework": {
|
|
"type": ["string", "null"],
|
|
"description": "custom framework"
|
|
}
|
|
},
|
|
"required": ["image_name", "run_command"],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"description": "multiple backend versions"
|
|
}
|
|
},
|
|
"required": ["version_configs"],
|
|
"additionalProperties": false
|
|
}
|