Yelp · Schema

Category

Category schema from Yelp Fusion API

RestaurantLocal SearchReviewsBusiness DataLocation

Properties

Name Type Description
alias string Unique category identifier.
title string Localized category title.
parent_aliases array Aliases of parent categories.
country_whitelist array Countries where this category is available.
country_blacklist array Countries where this category is restricted.
View JSON Schema on GitHub

JSON Schema

yelp-category-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/yelp/refs/heads/main/json-schema/yelp-category-schema.json",
  "title": "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."
    }
  }
}