{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/yentaknows-ai/json-schema/yentaknows-ai-facet-vocabulary-schema.json",
  "title": "FacetVocabulary",
  "description": "The closed facet vocabulary (one sorted array per FacetType) plus today's live cuisine/price_band/neighbourhood values across published venues (the 'live' key) — the exact values search_venues' matching filters accept.",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dev-openapi.json#/components/schemas/FacetVocabulary",
  "type": "object",
  "properties": {
    "vibe": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The controlled 'vibe' vocabulary, sorted."
    },
    "good_for": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The controlled 'good_for' vocabulary, sorted."
    },
    "not_good_for": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The controlled 'not_good_for' vocabulary, sorted."
    },
    "feature": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The controlled 'feature' vocabulary, sorted."
    },
    "noise_level": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The controlled 'noise_level' vocabulary, sorted."
    },
    "view": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The controlled 'view' vocabulary, sorted."
    },
    "dress_code": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The controlled 'dress_code' vocabulary, sorted."
    },
    "meal_period": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The controlled 'meal_period' vocabulary, sorted."
    },
    "cuisine": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The controlled 'cuisine' vocabulary, sorted."
    },
    "dietary": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The controlled 'dietary' vocabulary, sorted."
    },
    "accessibility": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The controlled 'accessibility' vocabulary, sorted."
    },
    "live": {
      "type": "object",
      "description": "Distinct essentials values in use today, folded + one display each.",
      "properties": {
        "cuisine": {
          "type": "array",
          "items": {
            "type": "object",
            "description": "One live essentials value: the folded value search_venues' matching filter accepts (canonical) and one representative spelling (display).",
            "properties": {
              "canonical": {
                "type": "string"
              },
              "display": {
                "type": "string"
              }
            },
            "required": [
              "canonical",
              "display"
            ]
          }
        },
        "price_band": {
          "type": "array",
          "items": {
            "type": "object",
            "description": "One live essentials value: the folded value search_venues' matching filter accepts (canonical) and one representative spelling (display).",
            "properties": {
              "canonical": {
                "type": "string"
              },
              "display": {
                "type": "string"
              }
            },
            "required": [
              "canonical",
              "display"
            ]
          }
        },
        "neighbourhood": {
          "type": "array",
          "items": {
            "type": "object",
            "description": "One live essentials value: the folded value search_venues' matching filter accepts (canonical) and one representative spelling (display).",
            "properties": {
              "canonical": {
                "type": "string"
              },
              "display": {
                "type": "string"
              }
            },
            "required": [
              "canonical",
              "display"
            ]
          }
        }
      },
      "required": [
        "cuisine",
        "price_band",
        "neighbourhood"
      ]
    }
  },
  "required": [
    "vibe",
    "good_for",
    "not_good_for",
    "feature",
    "noise_level",
    "view",
    "dress_code",
    "meal_period",
    "cuisine",
    "dietary",
    "accessibility",
    "live"
  ]
}