{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/folio/json-schema/folio-browse-config-schema.json",
  "title": "browseConfig",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/folio-config-api-openapi.yml#/components/schemas/browseConfig",
  "properties": {
    "id": {
      "$ref": "#/$defs/browseOptionType"
    },
    "shelvingAlgorithm": {
      "$ref": "#/$defs/shelvingOrderAlgorithmType"
    },
    "typeIds": {
      "description": "Type IDs that should be used by the option",
      "items": {
        "description": "Type ID",
        "format": "uuid",
        "type": "string"
      },
      "type": "array"
    }
  },
  "required": [
    "id",
    "shelvingAlgorithm"
  ],
  "type": "object",
  "$defs": {
    "browseOptionType": {
      "description": "Browse option type",
      "enum": [
        "all",
        "lc",
        "dewey",
        "nlm",
        "sudoc",
        "other"
      ],
      "type": "string"
    },
    "shelvingOrderAlgorithmType": {
      "description": "Shelving order algorithm",
      "enum": [
        "lc",
        "dewey",
        "nlm",
        "sudoc",
        "default"
      ],
      "type": "string"
    }
  }
}