mirror of
https://github.com/netdata/netdata.git
synced 2025-04-09 23:57:55 +00:00
Add additional variable section to instance data in schema. (#15627)
This commit is contained in:
parent
b1601fc805
commit
d5535e699e
1 changed files with 23 additions and 0 deletions
|
@ -30,6 +30,29 @@
|
|||
"icon_filename": {
|
||||
"type": "string",
|
||||
"description": "The filename of the integration's icon, as sourced from https://github.com/netdata/website/tree/master/themes/tailwind/static/img."
|
||||
},
|
||||
"variables": {
|
||||
"type": "object",
|
||||
"description": "A mapping of variables to be used when templating other keys.",
|
||||
"patternProperties": {
|
||||
"^[a-zA-Z_][a-zA-Z0-9_]*$": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
|
|
Loading…
Add table
Reference in a new issue