【发布时间】:2020-09-30 17:18:44
【问题描述】:
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 jsonschema slack-api