{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://baseline-harness.dev/spec/schemas/normative-change.schema.json", "title": "Normative Change", "description": "Запись канонического журнала нормативных изменений BHS (D-011). История в требованиях не дублируется: требование несёт только history_ref.", "type": "object", "additionalProperties": false, "required": ["id", "release", "date", "type", "requirements", "description"], "properties": { "id": { "type": "string", "pattern": "^chg-[a-z0-9]+(-[a-z0-9]+)*$", "description": "Постоянный идентификатор (D-031)." }, "release": { "type": "string", "pattern": "^\\d+\\.\\d+\\.\\d+(-[0-9A-Za-z.-]+)?$", "description": "Версия спецификации, в которой изменение опубликовано." }, "date": { "type": "string", "pattern": "^\\d{4}-\\d{2}-\\d{2}$" }, "type": { "enum": ["ADDED", "STRENGTHENED", "RELAXED", "CLARIFIED", "DEPRECATED", "REMOVED"] }, "requirements": { "type": "array", "minItems": 1, "items": { "type": "string", "pattern": "^req-[a-z0-9]+(-[a-z0-9]+)*$" } }, "description": { "type": "string", "minLength": 10 }, "motivation": { "type": "string", "minLength": 3 }, "migration": { "type": "string", "minLength": 3, "description": "Инструкция переноса для потребителей при REMOVED/STRENGTHENED." } } }