| 1 | { |
| 2 | "$schema" "https://json-schema.org/draft/2020-12/schema", |
| 3 | "$id" "https://cascade.dev/intercom-wire/v1/extensions/code-doc-link-v1.schema.json", |
| 4 | "title" "CodeDocLinkV1", |
| 5 | "description" "Связка документации (KB, ADR, spec) с фрагментом кода.", |
| 6 | "type" "object", |
| 7 | "required" ["doc_path", "code_ref", "link_kind"], |
| 8 | "properties" { |
| 9 | "doc_path" { "type": "string" }, |
| 10 | "doc_anchor" { |
| 11 | "type" "string", |
| 12 | "description" "Heading id or line range within doc" |
| 13 | }, |
| 14 | "code_ref" { "$ref": "../common/attachment-anchor.schema.json" }, |
| 15 | "link_kind" { |
| 16 | "type" "string", |
| 17 | "enum" ["specifies", "explains", "tests", "deprecates", "see_also"] |
| 18 | }, |
| 19 | "bidirectional" { "type": "boolean", "default": false } |
| 20 | }, |
| 21 | "additionalProperties" true |
| 22 | } |
| 23 | |
View only · write via MCP/CIDE