TheCocktailDB · Schema

CocktailsResponse

Response containing a list of cocktails

CocktailsDrinksRecipesFood And BeverageOpen Data

Properties

Name Type Description
drinks array Array of cocktail objects; null if no results found
View JSON Schema on GitHub

JSON Schema

thecocktaildb-cocktails-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/thecocktaildb/refs/heads/main/json-schema/thecocktaildb-cocktails-response-schema.json",
  "title": "CocktailsResponse",
  "description": "Response containing a list of cocktails",
  "type": "object",
  "properties": {
    "drinks": {
      "type": "array",
      "description": "Array of cocktail objects; null if no results found",
      "items": {
        "$ref": "thecocktaildb-drink-schema.json"
      },
      "nullable": true
    }
  }
}