Forge
jsondeeb25a2
1{
2 "$schema" "https://json-schema.org/draft/2020-12/schema",
3 "$id" "https://cascade.dev/intercom-wire/v1/payloads/message.schema.json",
4 "title" "IntercomMessagePayload",
5 "description" "message_added / message_completed payload (aligns with CIDE ChatHistoryMessagePayload, snake_case).",
6 "type" "object",
7 "required" ["message_id", "role", "content", "thread_id"],
8 "properties" {
9 "message_id" { "type": "string" },
10 "role" { "type": "string", "enum": ["user", "assistant", "system"] },
11 "content" { "type": "string" },
12 "thread_id" { "type": "string" },
13 "parent_message_id" { "type": "string" },
14 "slash_command_path" { "type": "string" },
15 "slash_command_args" { "type": "string" },
16 "slash_command_status" { "type": "string" },
17 "attachments" {
18 "type" "array",
19 "items" { "$ref": "../common/attachment-anchor.schema.json" }
20 },
21 "sender_workspace_context" {
22 "type" "object",
23 "properties" {
24 "branch" { "type": "string" },
25 "commit" { "type": "string" },
26 "solution_path" { "type": "string" }
27 },
28 "additionalProperties" true
29 },
30 "audience" {
31 "type" "string",
32 "enum" ["channel", "self_only"],
33 "description" "self_only MUST NOT be synced to team transport"
34 },
35 "relates_to" {
36 "type" "array",
37 "description" "Extension relates_to v1 (optional)",
38 "items" { "$ref": "../extensions/relates-to-v1.schema.json" }
39 },
40 "code_doc_links" {
41 "type" "array",
42 "description" "Extension code_doc_link v1 (optional)",
43 "items" { "$ref": "../extensions/code-doc-link-v1.schema.json" }
44 }
45 },
46 "additionalProperties" true
47}
48
View only · write via MCP/CIDE