Reapply "Fix wrong memorystore nats schema"

This reverts commit ea7660ddb3.
This commit is contained in:
Michael Panzlaff
2025-10-28 13:14:33 +01:00
parent 3c1a7e0171
commit 2287f4493a

View File

@@ -51,6 +51,8 @@ const configSchema = `{
}, },
"nats": { "nats": {
"description": "Configuration for accepting published data through NATS.", "description": "Configuration for accepting published data through NATS.",
"type": "array",
"items": {
"type": "object", "type": "object",
"properties": { "properties": {
"address": { "address": {
@@ -71,6 +73,8 @@ const configSchema = `{
}, },
"subscriptions": { "subscriptions": {
"description": "Array of various subscriptions. Allows to subscibe to different subjects and publishers.", "description": "Array of various subscriptions. Allows to subscibe to different subjects and publishers.",
"type": "array",
"items": {
"type": "object", "type": "object",
"properties": { "properties": {
"subscribe-to": { "subscribe-to": {
@@ -86,4 +90,6 @@ const configSchema = `{
} }
} }
} }
}
}
}` }`