Spoonacular · JSON Structure

Spoonacular Taste Information Structure

Type: object Properties: 7 Required: 7
RestaurantFood And DrinkRecipesNutritionMeal PlanningPublic APIs

TasteInformation is a JSON Structure definition published by Spoonacular, describing 7 properties, of which 7 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

sweetness saltiness sourness bitterness savoriness fattiness spiciness

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/spoonacular/refs/heads/main/json-structure/spoonacular-taste-information-structure.json",
  "name": "TasteInformation",
  "description": "",
  "type": "object",
  "properties": {
    "sweetness": {
      "type": "double",
      "example": 1.0
    },
    "saltiness": {
      "type": "double",
      "example": 1.0
    },
    "sourness": {
      "type": "double",
      "example": 1.0
    },
    "bitterness": {
      "type": "double",
      "example": 1.0
    },
    "savoriness": {
      "type": "double",
      "example": 1.0
    },
    "fattiness": {
      "type": "double",
      "example": 1.0
    },
    "spiciness": {
      "type": "double",
      "example": 1.0
    }
  },
  "required": [
    "sweetness",
    "saltiness",
    "sourness",
    "bitterness",
    "savoriness",
    "fattiness",
    "spiciness"
  ],
  "example": {
    "sweetness": 28.79,
    "saltiness": 26.74,
    "sourness": 6.22,
    "bitterness": 12.38,
    "savoriness": 11.8,
    "fattiness": 100,
    "spiciness": 0
  }
}