11 lines
805 B
JSON
11 lines
805 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#", "type": "object",
|
|
"required": ["method-role-id", "method-id", "step-id", "gate-id", "criterion", "reviewed-artifact-id", "reviewed-artifact-sha256", "reviewer-role-id", "verdict", "findings"],
|
|
"properties": {
|
|
"method-role-id": {"type": "string", "minLength": 1}, "method-id": {"type": "string", "minLength": 1},
|
|
"step-id": {"type": "string", "minLength": 1}, "gate-id": {"type": "string", "minLength": 1}, "criterion": {"type": "string", "minLength": 1},
|
|
"reviewed-artifact-id": {"type": "string", "minLength": 1}, "reviewed-artifact-sha256": {"type": "string", "pattern": "^[0-9a-f]{64}$"},
|
|
"reviewer-role-id": {"type": "string", "minLength": 1}, "verdict": {"enum": ["Passed", "Failed"]}, "findings": {"type": "array"}
|
|
}
|
|
}
|