add card and schema

This commit is contained in:
Mark Eaton
2025-11-15 23:13:16 -05:00
parent 7fa7b4eeff
commit fc655e2dd9
2 changed files with 69 additions and 0 deletions
+46
View File
@@ -0,0 +1,46 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Adaptive Card payload (compat, no pattern/patternProperties)",
"type": "object",
"required": [
"type",
"version",
"body"
],
"properties": {
"type": {
"type": "string"
},
"version": {
"type": "string"
},
"$schema": {
"type": "string"
},
"body": {
"type": "array",
"items": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string"
},
"text": {
"type": "string"
}
},
"additionalProperties": true
}
},
"actions": {
"type": "array",
"items": {
"type": "object"
}
}
},
"additionalProperties": true
}