{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/bigcommerce/main/json-schema/bigcommerce-storefront-search-settings-schema.json",
  "title": "StorefrontSearchSettings",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bigcommerce-storefront-search-api-openapi.yml#/components/schemas/StorefrontSearchSettings",
  "type": "object",
  "properties": {
    "content_product_sort": {
      "$ref": "#/$defs/ContentSortEnumValues"
    },
    "default_product_sort": {
      "$ref": "#/$defs/ProductSortEnumValues"
    },
    "product_filtering_enabled": {
      "description": "Controls whether Product Filtering feature is active on the storefront. Only supports manipulation on a global level.",
      "type": "boolean"
    },
    "search_suggest": {
      "type": "boolean"
    }
  },
  "required": [
    "content_product_sort",
    "default_product_sort",
    "product_filtering_enabled",
    "search_suggest"
  ],
  "x-internal": false,
  "$defs": {
    "ContentSortEnumValues": {
      "type": "string",
      "default": "relevance",
      "enum": [
        "relevance",
        "alphaasc",
        "alphadesc"
      ],
      "title": "ContentSortEnumValues",
      "x-internal": false
    },
    "ProductSortEnumValues": {
      "description": "The available sorts for PLP pages.",
      "type": "string",
      "default": "bestselling",
      "enum": [
        "featured",
        "bestselling",
        "newest",
        "alphaasc",
        "alphadesc",
        "pricedesc",
        "priceasc",
        "avgcustomerreview",
        "relevance"
      ],
      "title": "ProductSortEnumValues",
      "x-internal": false
    }
  }
}