{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/helena-bio/json-schema/helena-bio-settings-list-response-schema.json",
  "title": "SettingsListResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/helena-bio-platform-settings-api-openapi.yml#/components/schemas/SettingsListResponse",
  "properties": {
    "settings": {
      "items": {
        "$ref": "#/$defs/SettingResponse"
      },
      "type": "array",
      "title": "Settings"
    }
  },
  "type": "object",
  "required": [
    "settings"
  ],
  "$defs": {
    "SettingResponse": {
      "properties": {
        "key": {
          "type": "string",
          "title": "Key"
        },
        "service": {
          "type": "string",
          "title": "Service"
        },
        "config_path": {
          "type": "string",
          "title": "Config Path"
        },
        "value_type": {
          "type": "string",
          "title": "Value Type"
        },
        "default": {
          "title": "Default"
        },
        "effective_value": {
          "title": "Effective Value"
        },
        "apply": {
          "type": "string",
          "title": "Apply"
        },
        "clinical_relevant": {
          "type": "boolean",
          "title": "Clinical Relevant"
        },
        "label": {
          "type": "string",
          "title": "Label"
        },
        "description": {
          "type": "string",
          "title": "Description"
        },
        "minimum": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Minimum"
        },
        "maximum": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Maximum"
        },
        "allowed_values": {
          "anyOf": [
            {
              "items": {},
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "title": "Allowed Values"
        },
        "is_overridden": {
          "type": "boolean",
          "title": "Is Overridden",
          "default": false
        },
        "updated_by_user_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Updated By User Id"
        },
        "updated_by_user_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Updated By User Name"
        },
        "updated_by_user_email": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Updated By User Email"
        },
        "updated_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Updated At"
        },
        "change_reason": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Change Reason"
        },
        "degrading_consequence": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Degrading Consequence"
        },
        "degrading_target_value": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Degrading Target Value"
        }
      },
      "type": "object",
      "required": [
        "key",
        "service",
        "config_path",
        "value_type",
        "default",
        "effective_value",
        "apply",
        "clinical_relevant",
        "label",
        "description"
      ],
      "title": "SettingResponse"
    }
  }
}