| 1 | { |
| 2 | "$schema" "https://json-schema.org/draft/2020-12/schema", |
| 3 | "$id" "https://cascade.dev/intercom-wire/v1/common/attachment-anchor.schema.json", |
| 4 | "title" "AttachmentAnchor", |
| 5 | "description" "Structured code attach (ADR 0128). snake_case on wire.", |
| 6 | "type" "object", |
| 7 | "required" ["file"], |
| 8 | "properties" { |
| 9 | "id" { "type": "string" }, |
| 10 | "attachment_shape" { "type": "string" }, |
| 11 | "display_label" { "type": "string" }, |
| 12 | "file" { "type": "string" }, |
| 13 | "line_start" { "type": "integer" }, |
| 14 | "line_end" { "type": "integer" }, |
| 15 | "member_key" { "type": "string" }, |
| 16 | "syntax_scope" { "type": "object" }, |
| 17 | "excerpt" { "type": "string" }, |
| 18 | "prose_start" { "type": "integer" }, |
| 19 | "prose_length" { "type": "integer" }, |
| 20 | "resolved_at_utc" { "type": "string", "format": "date-time" }, |
| 21 | "resolve_outcome" { "type": "string" } |
| 22 | }, |
| 23 | "additionalProperties" true |
| 24 | } |
| 25 | |