feat: Generate Schema Files - 18113073 (no-changelog) (#12927)

Co-authored-by: Elias Meire <elias@meire.dev>
This commit is contained in:
Jon
2025-01-30 14:59:04 +00:00
committed by GitHub
parent cdfa22593b
commit 9d027339fd
661 changed files with 76670 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"channel": {
"type": "string"
},
"message_timestamp": {
"type": "string"
}
}
}

View File

@@ -0,0 +1,164 @@
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"channel": {
"type": "string"
},
"message": {
"type": "object",
"properties": {
"user": {
"type": "string"
},
"type": {
"type": "string"
},
"ts": {
"type": "string"
},
"bot_id": {
"type": "string"
},
"app_id": {
"type": "string"
},
"text": {
"type": "string"
},
"team": {
"type": "string"
},
"bot_profile": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"app_id": {
"type": "string"
},
"name": {
"type": "string"
},
"icons": {
"type": "object",
"properties": {
"image_36": {
"type": "string"
},
"image_48": {
"type": "string"
},
"image_72": {
"type": "string"
}
},
"required": [
"image_36",
"image_48",
"image_72"
]
},
"deleted": {
"type": "boolean"
},
"updated": {
"type": "integer"
},
"team_id": {
"type": "string"
}
},
"required": [
"id",
"app_id",
"name",
"icons",
"deleted",
"updated",
"team_id"
]
},
"blocks": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"block_id": {
"type": "string"
},
"elements": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"elements": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"text": {
"type": "string"
},
"url": {
"type": "string"
},
"style": {
"type": "object",
"properties": {
"italic": {
"type": "boolean"
}
}
}
},
"required": [
"type"
]
}
}
},
"required": [
"type"
]
}
}
},
"required": [
"type",
"block_id"
]
}
}
},
"required": [
"type",
"ts",
"bot_id",
"app_id",
"text"
]
},
"message_timestamp": {
"type": "string"
}
},
"required": [
"ok",
"channel",
"message",
"message_timestamp"
]
}

View File

@@ -0,0 +1,152 @@
{
"type": "object",
"properties": {
"iid": {
"type": "string"
},
"team": {
"type": "string"
},
"score": {
"type": "integer"
},
"channel": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"is_channel": {
"type": "boolean"
},
"is_group": {
"type": "boolean"
},
"is_im": {
"type": "boolean"
},
"is_mpim": {
"type": "boolean"
},
"is_shared": {
"type": "boolean"
},
"is_org_shared": {
"type": "boolean"
},
"is_ext_shared": {
"type": "boolean"
},
"is_private": {
"type": "boolean"
},
"name": {
"type": "string"
},
"is_pending_ext_shared": {
"type": "boolean"
}
},
"required": [
"id",
"is_channel",
"is_group",
"is_im",
"is_mpim",
"is_shared",
"is_org_shared",
"is_ext_shared",
"is_private",
"name"
]
},
"type": {
"type": "string"
},
"username": {
"type": "string"
},
"ts": {
"type": "string"
},
"blocks": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"block_id": {
"type": "string"
},
"elements": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"elements": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"user_id": {
"type": "string"
},
"text": {
"type": "string"
},
"name": {
"type": "string"
},
"unicode": {
"type": "string"
}
},
"required": [
"type"
]
}
}
},
"required": [
"type"
]
}
}
},
"required": [
"type",
"block_id"
]
}
},
"text": {
"type": "string"
},
"permalink": {
"type": "string"
},
"no_reactions": {
"type": "boolean"
}
},
"required": [
"iid",
"team",
"score",
"channel",
"type",
"user",
"username",
"ts",
"text",
"permalink"
]
}

View File

@@ -0,0 +1,13 @@
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"approved": {
"type": "boolean"
}
}
}
}
}

View File

@@ -0,0 +1,189 @@
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"channel": {
"type": "string"
},
"text": {
"type": "string"
},
"message": {
"type": "object",
"properties": {
"user": {
"type": "string"
},
"type": {
"type": "string"
},
"edited": {
"type": "object",
"properties": {
"user": {
"type": "string"
},
"ts": {
"type": "string"
}
},
"required": [
"user",
"ts"
]
},
"bot_id": {
"type": "string"
},
"app_id": {
"type": "string"
},
"text": {
"type": "string"
},
"team": {
"type": "string"
},
"bot_profile": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"app_id": {
"type": "string"
},
"name": {
"type": "string"
},
"icons": {
"type": "object",
"properties": {
"image_36": {
"type": "string"
},
"image_48": {
"type": "string"
},
"image_72": {
"type": "string"
}
},
"required": [
"image_36",
"image_48",
"image_72"
]
},
"deleted": {
"type": "boolean"
},
"updated": {
"type": "integer"
},
"team_id": {
"type": "string"
}
},
"required": [
"id",
"app_id",
"name",
"icons",
"deleted",
"updated",
"team_id"
]
},
"blocks": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"block_id": {
"type": "string"
},
"elements": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"elements": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"text": {
"type": "string"
},
"style": {
"type": "object",
"properties": {
"italic": {
"type": "boolean"
},
"bold": {
"type": "boolean"
}
},
"required": [
"italic"
]
},
"url": {
"type": "string"
},
"name": {
"type": "string"
},
"unicode": {
"type": "string"
},
"user_id": {
"type": "string"
}
},
"required": [
"type"
]
}
}
},
"required": [
"type"
]
}
}
},
"required": [
"type",
"block_id"
]
}
}
},
"required": [
"user",
"type",
"edited",
"text",
"team",
"blocks"
]
},
"message_timestamp": {
"type": "string"
}
}
}