mirror of
https://github.com/netdata/netdata.git
synced 2025-04-27 22:26:21 +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"
|
||||
|
@ -42,3 +55,5 @@
|
|||
"setup"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue