init: company-haness 설계
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"type": "object",
|
||||
"required": ["summary", "source-revision", "primary-artifacts", "acceptance-criteria-coverage", "verification-receipt-ids", "remaining-risks"],
|
||||
"properties": {
|
||||
"summary": {"type": "string", "minLength": 1},
|
||||
"source-revision": {
|
||||
"type": "object",
|
||||
"required": ["kind", "sha256"],
|
||||
"properties": {
|
||||
"kind": {"enum": ["git-tree", "workspace-tree", "source-bundle"]},
|
||||
"sha256": {"type": "string", "pattern": "^[0-9a-f]{64}$"}
|
||||
}
|
||||
},
|
||||
"primary-artifacts": {
|
||||
"type": "array", "minItems": 1,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": ["path", "kind", "sha256"],
|
||||
"properties": {
|
||||
"path": {"type": "string", "minLength": 1},
|
||||
"kind": {"type": "string", "minLength": 1},
|
||||
"sha256": {"type": "string", "pattern": "^[0-9a-f]{64}$"}
|
||||
}
|
||||
}
|
||||
},
|
||||
"acceptance-criteria-coverage": {
|
||||
"type": "array", "minItems": 1,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": ["criterion-id", "status", "evidence-receipt-ids"],
|
||||
"properties": {
|
||||
"criterion-id": {"type": "string", "minLength": 1},
|
||||
"status": {"enum": ["Passed", "Failed", "NotApplicable"]},
|
||||
"evidence-receipt-ids": {"type": "array", "minItems": 1, "items": {"type": "string", "minLength": 1}}
|
||||
}
|
||||
}
|
||||
},
|
||||
"verification-receipt-ids": {
|
||||
"type": "array", "minItems": 1, "uniqueItems": true,
|
||||
"items": {"type": "string", "minLength": 1}
|
||||
},
|
||||
"remaining-risks": {"type": "array"}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user