Slack Block Kit 的 JSON 模式在哪里?
Where is the JSON schema for Slack Block Kit?
block kit builder (slack.com) 能够验证 json 输入,因此架构在某处可用:
但是我在 Slack 文档中找到的 schema (github.com) 没有块的定义:
"blocks": {
"description": "This is a very loose definition, in the future, we'll populate this with deeper schema in this definition namespace.",
"items": {
"additionalProperties": true,
"properties": {
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
},
"title": "Block Kit blocks",
"type": "array"
},
那么,这在任何地方都可用吗?
谢谢
我不认为现在任何地方都可以使用块架构。 Slack 的 github 存储库中有一个未决的 issue 谈到了完全相同的问题。上次官方回复是一年多前发的
block kit builder (slack.com) 能够验证 json 输入,因此架构在某处可用:
但是我在 Slack 文档中找到的 schema (github.com) 没有块的定义:
"blocks": {
"description": "This is a very loose definition, in the future, we'll populate this with deeper schema in this definition namespace.",
"items": {
"additionalProperties": true,
"properties": {
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
},
"title": "Block Kit blocks",
"type": "array"
},
那么,这在任何地方都可用吗?
谢谢
我不认为现在任何地方都可以使用块架构。 Slack 的 github 存储库中有一个未决的 issue 谈到了完全相同的问题。上次官方回复是一年多前发的