11 lines
664 B
JSON
11 lines
664 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#", "type": "object",
|
|
"required": ["basis-artifact-id", "basis-artifact-sha256", "phases", "rollback-plan", "validation-plan", "data-loss-tolerance", "cutover-criteria"],
|
|
"properties": {
|
|
"basis-artifact-id": {"type": "string", "minLength": 1}, "basis-artifact-sha256": {"type": "string", "pattern": "^[0-9a-f]{64}$"},
|
|
"phases": {"type": "array", "minItems": 1}, "rollback-plan": {"type": "object", "minProperties": 1},
|
|
"validation-plan": {"type": "array", "minItems": 1}, "data-loss-tolerance": {"type": "string", "minLength": 1},
|
|
"cutover-criteria": {"type": "array", "minItems": 1}
|
|
}
|
|
}
|