Yelp · Schema

AutocompleteResponse

AutocompleteResponse schema from Yelp Fusion API

RestaurantLocal SearchReviewsBusiness DataLocation

Properties

Name Type Description
terms array
businesses array
categories array
View JSON Schema on GitHub

JSON Schema

yelp-autocomplete-response-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-autocomplete-response-schema.json",
  "title": "AutocompleteResponse",
  "description": "AutocompleteResponse schema from Yelp Fusion API",
  "type": "object",
  "properties": {
    "terms": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string"
          }
        }
      }
    },
    "businesses": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        }
      }
    },
    "categories": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/Category"
      }
    }
  }
}