SAP Commerce Cloud · Schema

FacetValue

B2BB2CCommerceCustomer ExperienceEcommerceOmnichannelRetail

Properties

Name Type Description
name string Facet value name
count integer Number of results
selected boolean Whether this value is selected
query object
View JSON Schema on GitHub

JSON Schema

sap-commerce-cloud-facetvalue-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/FacetValue",
  "title": "FacetValue",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Facet value name"
    },
    "count": {
      "type": "integer",
      "description": "Number of results"
    },
    "selected": {
      "type": "boolean",
      "description": "Whether this value is selected"
    },
    "query": {
      "type": "object",
      "properties": {
        "query": {
          "type": "object",
          "properties": {
            "value": {
              "type": "string"
            }
          }
        },
        "url": {
          "type": "string"
        }
      }
    }
  }
}