posh-providers/slack-go/slack/config.schema.json
2025-09-22 10:25:50 +02:00

46 lines
979 B
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/foomo/posh-providers/slack-go/slack",
"$ref": "#/$defs/Config",
"$defs": {
"Config": {
"properties": {
"token": {
"$ref": "#/$defs/Secret"
},
"channels": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"webhooks": {
"additionalProperties": {
"$ref": "#/$defs/Secret"
},
"type": "object"
}
},
"additionalProperties": false,
"type": "object"
},
"Secret": {
"properties": {
"account": {
"type": "string"
},
"vault": {
"type": "string"
},
"item": {
"type": "string"
},
"field": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
}
}
}