Skip to main content
Version: v4

search_response_FacetAggregation

Per-value count for one filter field. Implementations MAY truncate to a top-N for high-cardinality facets.

  • Array [
  • value objectrequired

    anyOf, not oneOf: a JSON integer matches both number and a hypothetical integer branch, so a oneOf over both rejects every integer facet value (same rationale as the request schema's Scalar).

    anyOf
    string
    countintegerrequired

    Possible values: >= 0

  • ]
  • search_response_FacetAggregation
    [
    {
    "value": "string",
    "count": 0
    }
    ]