packages/plugin-redis-sentinel/schemas/redisSentinel.json
{
"$id": "redisSentinel",
"type": "object",
"required": [
"sentinels",
"name"
],
"properties": {
"name": {
"type": "string",
"minLength": 1
},
"sentinels": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"required": [
"host",
"port"
],
"properties": {
"host": {
"type": "string",
"anyOf": [
{
"format": "hostname"
},
{
"format": "ipv4"
},
{
"format": "ipv6"
}
]
},
"port": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
]
}
}
}
},
"options": {
"type": "object",
"properties": {
"keyPrefix": {
"type": "string"
},
"dropBufferSupport": {
"type": "boolean"
}
}
}
}
}