The block kit builder (slack.com) is able to validate json input, so the schema is available somewhere :
But the schema (github.com) I found in Slack docs has no definitions for the blocks:
"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"
},
So, is this available anywhere ?
Thank you
I don't think that block schema is available anywhere right now. There is a pending issue on Slack's github repo that speaks about exactly the same problem. The last official response was sent more than a year ago.