Yelp · JSON Structure

Yelp Category Structure

Category schema from Yelp Fusion API

Type: object Properties: 5
RestaurantLocal SearchReviewsBusiness DataLocation

Category is a JSON Structure definition published by Yelp, describing 5 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

alias title parent_aliases country_whitelist country_blacklist

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/yelp/refs/heads/main/json-structure/yelp-category-structure.json",
  "name": "Category",
  "description": "Category schema from Yelp Fusion API",
  "type": "object",
  "properties": {
    "alias": {
      "type": "string",
      "description": "Unique category identifier.",
      "example": "rickys-tacos-san-francisco"
    },
    "title": {
      "type": "string",
      "description": "Localized category title.",
      "example": "Tacos"
    },
    "parent_aliases": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Aliases of parent categories."
    },
    "country_whitelist": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Countries where this category is available."
    },
    "country_blacklist": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Countries where this category is restricted."
    }
  }
}