{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bookmyhost/json-schema/bookmyhost-coordination-redis-settings-response-schema.json",
  "title": "CoordinationRedisSettingsResponse",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bookmyhost-coordination-redis-settings-api-openapi.yml#/components/schemas/CoordinationRedisSettingsResponse",
  "properties": {
    "values": {
      "additionalProperties": true,
      "type": "object",
      "title": "Values",
      "description": "Current coordination Redis settings, with credentials redacted"
    },
    "fields": {
      "items": {
        "$ref": "#/$defs/CoordinationRedisSettingsField"
      },
      "type": "array",
      "title": "Fields",
      "description": "List of all configurable coordination Redis settings with metadata"
    },
    "source": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "coordination_redis",
            "cache_backend",
            "environment"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Source",
      "description": "Where the proxy's coordination Redis comes from; null when it has none"
    }
  },
  "type": "object",
  "required": [
    "values",
    "fields",
    "source"
  ],
  "$defs": {
    "CoordinationRedisSettingsField": {
      "properties": {
        "field_name": {
          "type": "string",
          "title": "Field Name"
        },
        "field_type": {
          "type": "string",
          "title": "Field Type"
        },
        "field_value": {
          "anyOf": [
            {},
            {
              "type": "null"
            }
          ],
          "title": "Field Value"
        },
        "field_description": {
          "type": "string",
          "title": "Field Description"
        },
        "field_default": {
          "anyOf": [
            {},
            {
              "type": "null"
            }
          ],
          "title": "Field Default"
        },
        "ui_field_name": {
          "type": "string",
          "title": "Ui Field Name"
        },
        "section": {
          "type": "string",
          "enum": [
            "connection",
            "cluster",
            "sentinel"
          ],
          "title": "Section"
        }
      },
      "type": "object",
      "required": [
        "field_name",
        "field_type",
        "field_description",
        "ui_field_name",
        "section"
      ],
      "title": "CoordinationRedisSettingsField"
    }
  }
}