- examples/synthetic-spec: полный набор сущностей, профилей, пресета и антипаттерна - bhl validate и profile resolve проходят пример без диагностик - тест сверяет копию схем с spec/schemas и порядок разрешения - README карты лаборатории дополнен spec/ и examples/
27 lines
1.1 KiB
JSON
27 lines
1.1 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://baseline-harness.dev/spec/schemas/evidence.schema.json",
|
|
"title": "Evidence",
|
|
"description": "Доказательство для Audit Finding (D-005, D-019). Класс доказательств отличает наблюдение от интерпретации.",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["kind", "locator", "description"],
|
|
"properties": {
|
|
"kind": {
|
|
"enum": ["file", "command-output", "test-run", "session-observation", "review-note", "hash", "other"]
|
|
},
|
|
"locator": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"description": "Путь, команда или идентификатор наблюдения."
|
|
},
|
|
"description": { "type": "string", "minLength": 3 },
|
|
"fingerprint": {
|
|
"type": "string",
|
|
"pattern": "^sha256:[a-f0-9]{64}$",
|
|
"description": "Отпечаток состояния источника доказательства (D-019)."
|
|
},
|
|
"captured_at": { "type": "string", "pattern": "^\\d{4}-\\d{2}-\\d{2}$" }
|
|
}
|
|
}
|