Skip to content

Commit b46104f

Browse files
committed
update jsonschemas
1 parent 37387c3 commit b46104f

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

jsonschemas/chat/attachment.schema.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"$schema": "https://json-schema.org/draft/2020-12/schema",
33
"$id": "attachment.schema.json",
44
"type": "object",
5-
"additionalProperties": false,
65
"properties": {
76
"type": { "type": "string" },
87
"image_url": { "type": "string", "format": "uri", "pattern": "^https://", "description": "Must be HTTPS and accessible" },

jsonschemas/chat/message.schema.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818
"created_at": { "type": "string", "format": "date-time" },
1919
"deleted_at": { "type": "string", "format": "date-time" },
2020
"mentioned_users_ids": { "type": "array", "items": { "type": "string" } },
21+
"mentioned_roles": { "type": "array", "items": { "type": "string" } },
22+
"mentioned_channel": { "type": "boolean" },
23+
"mentioned_here": { "type": "boolean" },
24+
"restricted_visibility": { "type": "array", "items": { "type": "string" } },
2125
"quoted_message_id": { "type": "string" },
2226
"pinned_at": { "type": "string", "format": "date-time" },
2327
"pinned_by_id": { "type": "string" },

0 commit comments

Comments
 (0)