generated from coulomb/repo-seed
106 lines
2.5 KiB
JSON
106 lines
2.5 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://example.local/repo-scoping/quality-criteria-registry.schema.json",
|
|
"title": "Repository Scoping Quality Criteria Registry",
|
|
"type": "object",
|
|
"required": [
|
|
"schema_version",
|
|
"criteria_version",
|
|
"status",
|
|
"updated_at",
|
|
"criteria"
|
|
],
|
|
"properties": {
|
|
"schema_version": {
|
|
"const": "quality-criteria-registry/v1"
|
|
},
|
|
"criteria_version": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"status": {
|
|
"enum": ["draft", "active", "deprecated"]
|
|
},
|
|
"updated_at": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"criteria": {
|
|
"type": "array",
|
|
"minItems": 1,
|
|
"items": {
|
|
"type": "object",
|
|
"required": [
|
|
"id",
|
|
"title",
|
|
"category",
|
|
"severity",
|
|
"applies_to",
|
|
"description",
|
|
"deterministic_action",
|
|
"deterministic_action_when",
|
|
"reviewer_guidance"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"type": "string",
|
|
"pattern": "^RREG-QC-[0-9]{3}$"
|
|
},
|
|
"title": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"category": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"severity": {
|
|
"enum": ["low", "medium", "high", "critical"]
|
|
},
|
|
"applies_to": {
|
|
"type": "array",
|
|
"minItems": 1,
|
|
"items": {
|
|
"enum": ["ability", "capability", "feature", "evidence"]
|
|
}
|
|
},
|
|
"description": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"deterministic_action": {
|
|
"enum": [
|
|
"pass",
|
|
"requires_review",
|
|
"downgraded",
|
|
"rejected",
|
|
"invalidated",
|
|
"merged",
|
|
"flagged"
|
|
]
|
|
},
|
|
"deterministic_action_when": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"reviewer_guidance": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"agentic_guidance": {
|
|
"type": "string"
|
|
},
|
|
"examples": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|