mirror of
https://github.com/foomo/posh-providers.git
synced 2025-10-16 12:35:41 +00:00
57 lines
1.1 KiB
JSON
57 lines
1.1 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://github.com/foomo/posh-providers/slack-go/slack/config",
|
|
"$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",
|
|
"required": [
|
|
"token",
|
|
"channels",
|
|
"webhooks"
|
|
]
|
|
},
|
|
"Secret": {
|
|
"properties": {
|
|
"account": {
|
|
"type": "string"
|
|
},
|
|
"vault": {
|
|
"type": "string"
|
|
},
|
|
"item": {
|
|
"type": "string"
|
|
},
|
|
"field": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"account",
|
|
"vault",
|
|
"item",
|
|
"field"
|
|
]
|
|
}
|
|
}
|
|
} |