- spec/schemas: evidence, audit-finding, audit-report (BHL-019) - spec/schemas: profile, preset с явным relax_to (BHL-012) - packages/bhl: resolve.ts + bhl profile resolve — порядок не влияет, конфликты параметров и ослаблений, provenance и applicability (BHL-012, BHL-013) - tests: корневые схемы 13/13, пакет 17/17
21 lines
833 B
JSON
21 lines
833 B
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://baseline-harness.dev/spec/schemas/preset.schema.json",
|
|
"title": "Preset",
|
|
"description": "Именованная композиция профилей (D-013): разворачивается в набор профилей до разрешения.",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["id", "title", "description", "profiles"],
|
|
"properties": {
|
|
"id": { "type": "string", "pattern": "^preset-[a-z0-9]+(-[a-z0-9]+)*$" },
|
|
"title": { "type": "string", "minLength": 3 },
|
|
"description": { "type": "string", "minLength": 10 },
|
|
"profiles": {
|
|
"type": "array",
|
|
"minItems": 1,
|
|
"uniqueItems": true,
|
|
"items": { "type": "string", "pattern": "^prof-[a-z0-9]+(-[a-z0-9]+)*$" }
|
|
}
|
|
}
|
|
}
|