init: company-haness 설계
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"type": "object",
|
||||
"required": ["basis-artifact-id", "basis-artifact-sha256", "criteria"],
|
||||
"properties": {
|
||||
"basis-artifact-id": {"type": "string", "minLength": 1},
|
||||
"basis-artifact-sha256": {"type": "string", "pattern": "^[0-9a-f]{64}$"},
|
||||
"criteria": {
|
||||
"type": "array", "minItems": 1,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": ["criterion-id", "preconditions", "input", "expected-result", "risk-level", "verification-method"],
|
||||
"properties": {
|
||||
"criterion-id": {"type": "string", "minLength": 1},
|
||||
"preconditions": {"type": "array"},
|
||||
"input": {"type": "object"},
|
||||
"expected-result": {"type": "string", "minLength": 1},
|
||||
"risk-level": {"enum": ["Low", "Med", "High", "Critical"]},
|
||||
"verification-method": {"enum": ["automated-test", "experiment", "manual-review", "inspection"]}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user