0
0
Fork 0
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. ()

This commit is contained in:
Austin S. Hemmelgarn 2023-07-28 12:18:53 -04:00 committed by GitHub
parent b1601fc805
commit d5535e699e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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": [