{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/folio/json-schema/folio-feature-config-schema.json",
  "title": "featureConfig",
  "description": "Feature config request value",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/folio-config-api-openapi.yml#/components/schemas/featureConfig",
  "additionalProperties": false,
  "properties": {
    "feature": {
      "$ref": "#/$defs/tenantConfiguredFeature"
    },
    "enabled": {
      "description": "Action - enable or disable option",
      "type": "boolean"
    }
  },
  "required": [
    "enabled",
    "feature"
  ],
  "type": "object",
  "$defs": {
    "tenantConfiguredFeature": {
      "description": "The feature name.",
      "enum": [
        "search.all.fields",
        "browse.contributors",
        "browse.subjects",
        "browse.classifications",
        "browse.call-numbers"
      ],
      "type": "string"
    }
  }
}