feat: синтетическая спецификация для сквозных прогонов (BHL-018)
- examples/synthetic-spec: полный набор сущностей, профилей, пресета и антипаттерна - bhl validate и profile resolve проходят пример без диагностик - тест сверяет копию схем с spec/schemas и порядок разрешения - README карты лаборатории дополнен spec/ и examples/
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://baseline-harness.dev/spec/schemas/capability.schema.json",
|
||||
"title": "Capability",
|
||||
"description": "Средний уровень иерархии Domain → Capability → Atomic Requirement (D-009).",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["id", "domain", "title", "description"],
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string",
|
||||
"pattern": "^cap-[a-z0-9]+(-[a-z0-9]+)*$",
|
||||
"description": "Постоянный идентификатор (D-031)."
|
||||
},
|
||||
"domain": {
|
||||
"type": "string",
|
||||
"pattern": "^dom-[a-z0-9]+(-[a-z0-9]+)*$",
|
||||
"description": "Ссылка на существующий домен; целостность проверяет валидатор (BHL-011)."
|
||||
},
|
||||
"title": { "type": "string", "minLength": 3 },
|
||||
"description": { "type": "string", "minLength": 10 }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user