mirror of
https://github.com/netdata/netdata.git
synced 2025-04-13 09:11:50 +00:00
Fix exporter schema to support multiple entries per file. (#15649)
This commit is contained in:
parent
6bab67ff6c
commit
6ae2593a25
1 changed files with 47 additions and 32 deletions
|
@ -1,7 +1,20 @@
|
|||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"type": "object",
|
||||
"title": "Netdata Agent data exporter metadata.",
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/$defs/entry"
|
||||
},
|
||||
{
|
||||
"type": "array",
|
||||
"minLength": 1,
|
||||
"items": {
|
||||
"$ref": "#/$defs/entry"
|
||||
}
|
||||
}
|
||||
],
|
||||
"$defs": {
|
||||
"entry": {
|
||||
"properties": {
|
||||
"id": {
|
||||
"$ref": "./shared.json#/$defs/id"
|
||||
|
@ -41,4 +54,6 @@
|
|||
"overview",
|
||||
"setup"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue