15 lines
926 B
JSON
15 lines
926 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"type": "object",
|
|
"required": ["release-decision", "unresolved-critical-risks", "reviewed-completion-artifact-id", "reviewed-completion-artifact-sha256", "reviewed-quality-event-id", "reviewed-quality-artifact-id", "reviewed-quality-artifact-sha256"],
|
|
"properties": {
|
|
"release-decision": {"type": "object", "required": ["status"], "properties": {"status": {"enum": ["Approved", "Held", "Rejected"]}}},
|
|
"unresolved-critical-risks": {"type": "boolean"},
|
|
"reviewed-completion-artifact-id": {"type": "string", "minLength": 1},
|
|
"reviewed-completion-artifact-sha256": {"type": "string", "pattern": "^[0-9a-f]{64}$"},
|
|
"reviewed-quality-event-id": {"type": "string", "minLength": 1},
|
|
"reviewed-quality-artifact-id": {"type": "string", "minLength": 1},
|
|
"reviewed-quality-artifact-sha256": {"type": "string", "pattern": "^[0-9a-f]{64}$"}
|
|
}
|
|
}
|