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

This commit is contained in:
Austin S. Hemmelgarn 2023-07-31 08:04:52 -04:00 committed by GitHub
parent 6bab67ff6c
commit 6ae2593a25
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"
]
}
}
}