{
 "openapi": "3.1.0",
 "info": {
  "title": "Yew Signal API",
  "version": "1.1.0",
  "summary": "Live product demand data for the UK and 25 regions.",
  "description": "Open JSON API for Yew Signal: a daily attention index, week-on-week momentum, spikes and the 0-100 Yew Score for consumer products, brands and services, plus trending searches for 25 regions and AI agent activity. No key. Free under CC BY 4.0: credit \"Yew Signal (yewdata.co.uk)\". The same data is available as an MCP server at https://yewdata.co.uk/mcp.",
  "contact": {
   "name": "Yew Signal",
   "url": "https://yewdata.co.uk/developers",
   "email": "hello@yewdata.co.uk"
  },
  "license": {
   "name": "CC BY 4.0",
   "identifier": "CC-BY-4.0"
  }
 },
 "servers": [
  {
   "url": "https://yewdata.co.uk"
  }
 ],
 "externalDocs": {
  "description": "Agent guide",
  "url": "https://yewdata.co.uk/llms-full.txt"
 },
 "tags": [
  {
   "name": "Products"
  },
  {
   "name": "Discovery"
  },
  {
   "name": "Searches"
  },
  {
   "name": "Agents"
  }
 ],
 "paths": {
  "/api/summary": {
   "get": {
    "operationId": "getDemandSummary",
    "tags": [
     "Products"
    ],
    "summary": "How a product is doing",
    "description": "One-shot demand verdict for a product, brand or service: a plain-English summary, verdict, Yew Score, week-on-week and 4-week change, category rank, 90-day peak, weekly attention and headlines. Untracked products are added on request.",
    "parameters": [
     {
      "name": "q",
      "in": "query",
      "required": true,
      "description": "Product, brand or service name, e.g. \"Nintendo Switch 2\"",
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DemandSummary"
        }
       }
      }
     },
     "404": {
      "description": "Not tracked and could not be added; includes suggestions",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DemandSummary"
        }
       }
      }
     }
    }
   }
  },
  "/api/lookup": {
   "get": {
    "operationId": "lookupProducts",
    "tags": [
     "Products"
    ],
    "summary": "Find and disambiguate a product",
    "description": "Fuzzy name search over tracked products, brands and services. Returns the best match with its kind, close alternatives and, for a brand, its tracked products. Read-only.",
    "parameters": [
     {
      "name": "q",
      "in": "query",
      "required": true,
      "description": "Name to find, e.g. \"galaxy fold\"",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "category",
      "in": "query",
      "required": false,
      "description": "Optional category",
      "schema": {
       "type": "string",
       "enum": [
        "products",
        "tech",
        "gaming",
        "ai",
        "vehicles",
        "home",
        "retail",
        "subscriptions",
        "health",
        "finance",
        "legal"
       ]
      }
     },
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "description": "Maximum matches",
      "schema": {
       "type": "integer",
       "minimum": 1,
       "maximum": 10,
       "default": 5
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Lookup"
        }
       }
      }
     }
    }
   }
  },
  "/api/topic/{slug}": {
   "get": {
    "operationId": "getTopic",
    "tags": [
     "Products"
    ],
    "summary": "Full signal for one product",
    "description": "Everything for one product or topic: attention, momentum, spike, Yew Score and its history, 90 days of daily attention, search appearances, regions and headlines. Accepts a slug or a name; untracked products are added on request.",
    "parameters": [
     {
      "name": "slug",
      "in": "path",
      "required": true,
      "description": "Slug (e.g. nintendo-switch-2) or name",
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/TopicDetail"
        }
       }
      }
     },
     "404": {
      "description": "Not tracked",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Error"
        }
       }
      }
     }
    }
   }
  },
  "/api/search": {
   "get": {
    "operationId": "searchTopics",
    "tags": [
     "Products"
    ],
    "summary": "Search tracked topics",
    "description": "Tracked topics whose name, brand or slug contains the query, most attention first.",
    "parameters": [
     {
      "name": "q",
      "in": "query",
      "required": true,
      "description": "Search text",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "description": "Maximum results",
      "schema": {
       "type": "integer",
       "minimum": 1,
       "maximum": 100,
       "default": 25
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/TopicList"
        }
       }
      }
     }
    }
   }
  },
  "/api/compare": {
   "get": {
    "operationId": "compareTopics",
    "tags": [
     "Products"
    ],
    "summary": "Compare two products",
    "description": "Full signals for two products side by side. Names or slugs.",
    "parameters": [
     {
      "name": "a",
      "in": "query",
      "required": true,
      "description": "First product",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "b",
      "in": "query",
      "required": true,
      "description": "Second product",
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Compare"
        }
       }
      }
     }
    }
   }
  },
  "/api/products": {
   "get": {
    "operationId": "listRisingProducts",
    "tags": [
     "Discovery"
    ],
    "summary": "Rising products board",
    "description": "Products ranked by week-on-week change in attention (or by attention, spike or Yew Score), optionally in one category.",
    "parameters": [
     {
      "name": "category",
      "in": "query",
      "required": false,
      "description": "Optional category",
      "schema": {
       "type": "string",
       "enum": [
        "products",
        "tech",
        "gaming",
        "ai",
        "vehicles",
        "home",
        "retail",
        "subscriptions"
       ]
      }
     },
     {
      "name": "sort",
      "in": "query",
      "required": false,
      "description": "Ranking",
      "schema": {
       "type": "string",
       "enum": [
        "momentum",
        "views",
        "spike",
        "score"
       ],
       "default": "momentum"
      }
     },
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "description": "Maximum results",
      "schema": {
       "type": "integer",
       "minimum": 1,
       "maximum": 100,
       "default": 25
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ProductBoard"
        }
       }
      }
     }
    }
   }
  },
  "/api/leaders": {
   "get": {
    "operationId": "getCategoryLeaders",
    "tags": [
     "Discovery"
    ],
    "summary": "Top products in a category",
    "description": "Category leaders by Yew Score, by 7-day attention (with share of the category) or by momentum among products with at least the category median attention.",
    "parameters": [
     {
      "name": "category",
      "in": "query",
      "required": true,
      "description": "Category id",
      "schema": {
       "type": "string",
       "enum": [
        "products",
        "tech",
        "gaming",
        "ai",
        "vehicles",
        "home",
        "retail",
        "subscriptions"
       ]
      }
     },
     {
      "name": "by",
      "in": "query",
      "required": false,
      "description": "Ranking measure",
      "schema": {
       "type": "string",
       "enum": [
        "score",
        "attention",
        "momentum"
       ],
       "default": "score"
      }
     },
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "description": "Maximum results",
      "schema": {
       "type": "integer",
       "minimum": 1,
       "maximum": 25,
       "default": 10
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Leaders"
        }
       }
      }
     }
    }
   }
  },
  "/api/new": {
   "get": {
    "operationId": "getNewlyEmerged",
    "tags": [
     "Discovery"
    ],
    "summary": "Newly emerged products",
    "description": "Products whose attention emerged from a low base within the last N days and are still gaining: launches, reveals and seasonal returns.",
    "parameters": [
     {
      "name": "days",
      "in": "query",
      "required": false,
      "description": "Look-back window",
      "schema": {
       "type": "integer",
       "minimum": 7,
       "maximum": 60,
       "default": 30
      }
     },
     {
      "name": "category",
      "in": "query",
      "required": false,
      "description": "Optional category",
      "schema": {
       "type": "string",
       "enum": [
        "products",
        "tech",
        "gaming",
        "ai",
        "vehicles",
        "home",
        "retail",
        "subscriptions"
       ]
      }
     },
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "description": "Maximum results",
      "schema": {
       "type": "integer",
       "minimum": 1,
       "maximum": 25,
       "default": 10
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/WhatsNew"
        }
       }
      }
     }
    }
   }
  },
  "/api/breakouts": {
   "get": {
    "operationId": "getBreakouts",
    "tags": [
     "Discovery"
    ],
    "summary": "Products taking off",
    "description": "By day, products whose Yew Score rose 15+ points in 7 days to 55 or more.",
    "parameters": [
     {
      "name": "days",
      "in": "query",
      "required": false,
      "description": "Days of history",
      "schema": {
       "type": "integer",
       "minimum": 1,
       "maximum": 30,
       "default": 7
      }
     },
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "description": "Maximum per day",
      "schema": {
       "type": "integer",
       "minimum": 1,
       "maximum": 100,
       "default": 25
      }
     },
     {
      "name": "vertical",
      "in": "query",
      "required": false,
      "description": "Optional vertical",
      "schema": {
       "type": "string",
       "enum": [
        "healthcare",
        "finance",
        "legal"
       ]
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Breakouts"
        }
       }
      }
     }
    }
   }
  },
  "/api/trends": {
   "get": {
    "operationId": "getTrendingSearches",
    "tags": [
     "Searches"
    ],
    "summary": "Trending searches by region",
    "description": "What a region is searching for, with approximate daily searches, category and whether it is a product.",
    "parameters": [
     {
      "name": "geo",
      "in": "query",
      "required": false,
      "description": "Region code or ALL",
      "schema": {
       "type": "string",
       "enum": [
        "GB",
        "GB-ENG",
        "GB-SCT",
        "GB-WLS",
        "GB-NIR",
        "US",
        "CA",
        "MX",
        "BR",
        "IE",
        "DE",
        "FR",
        "ES",
        "IT",
        "NL",
        "SE",
        "PL",
        "IN",
        "JP",
        "KR",
        "AU",
        "SG",
        "AE",
        "ZA",
        "NG",
        "ALL"
       ],
       "default": "GB"
      }
     },
     {
      "name": "hours",
      "in": "query",
      "required": false,
      "description": "Look-back window in hours",
      "schema": {
       "type": "integer",
       "minimum": 1,
       "maximum": 168,
       "default": 24
      }
     },
     {
      "name": "category",
      "in": "query",
      "required": false,
      "description": "Optional category",
      "schema": {
       "type": "string",
       "enum": [
        "products",
        "tech",
        "gaming",
        "ai",
        "vehicles",
        "home",
        "retail",
        "subscriptions",
        "entertainment",
        "sport",
        "news",
        "people",
        "finance",
        "travel",
        "health",
        "legal",
        "other"
       ]
      }
     },
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "description": "Maximum results",
      "schema": {
       "type": "integer",
       "minimum": 1,
       "maximum": 100,
       "default": 25
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Trends"
        }
       }
      }
     }
    }
   }
  },
  "/api/regions": {
   "get": {
    "operationId": "getRegionalSpread",
    "tags": [
     "Searches"
    ],
    "summary": "Trends spreading between regions",
    "description": "Trends seen in several regions with the order they appeared, plus what is trending abroad but not yet in the UK.",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Regions"
        }
       }
      }
     }
    }
   }
  },
  "/api/agents": {
   "get": {
    "operationId": "getAgentIndex",
    "tags": [
     "Agents"
    ],
    "summary": "AI agent index",
    "description": "Which AI crawlers and assistants are fetching pages: UK market share by agent and crawl purpose, plus verified counts from the Yew sensor network over 30 days.",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Object"
        }
       }
      }
     }
    }
   }
  },
  "/api/status": {
   "get": {
    "operationId": "getStatus",
    "tags": [
     "Agents"
    ],
    "summary": "Dataset status",
    "description": "Counts of tracked topics and products, recent search observations and the time of the last update.",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Object"
        }
       }
      }
     }
    }
   }
  }
 },
 "components": {
  "schemas": {
   "Object": {
    "type": "object",
    "additionalProperties": true
   },
   "Error": {
    "type": "object",
    "properties": {
     "error": {
      "type": "string"
     },
     "search": {
      "type": "string",
      "format": "uri"
     }
    }
   },
   "Attention": {
    "type": [
     "object",
     "null"
    ],
    "properties": {
     "attention_7d": {
      "type": "integer",
      "description": "Attention over the last 7 complete days"
     },
     "attention_prev_7d": {
      "type": [
       "integer",
       "null"
      ]
     },
     "week_on_week_change": {
      "type": [
       "number",
       "null"
      ],
      "description": "Ratio: 0.12 = +12%"
     },
     "last_day_vs_28d_median": {
      "type": [
       "number",
       "null"
      ],
      "description": "Latest day / 28-day median"
     }
    }
   },
   "Topic": {
    "type": "object",
    "properties": {
     "slug": {
      "type": "string"
     },
     "title": {
      "type": "string"
     },
     "url": {
      "type": "string",
      "format": "uri",
      "description": "Public page to cite"
     },
     "category": {
      "type": [
       "string",
       "null"
      ]
     },
     "is_product": {
      "type": "boolean"
     },
     "brands": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "description": {
      "type": [
       "string",
       "null"
      ]
     },
     "attention": {
      "$ref": "#/components/schemas/Attention"
     },
     "yew_score": {
      "type": [
       "integer",
       "null"
      ],
      "description": "0-100 daily demand score"
     },
     "yew_score_change_7d": {
      "type": [
       "integer",
       "null"
      ]
     },
     "vertical": {
      "type": [
       "string",
       "null"
      ]
     },
     "uk_search": {
      "type": [
       "object",
       "null"
      ],
      "properties": {
       "peak_daily_searches": {
        "type": "integer"
       },
       "times_trending": {
        "type": [
         "integer",
         "null"
        ]
       },
       "first_seen": {
        "type": [
         "string",
         "null"
        ]
       },
       "last_seen": {
        "type": [
         "string",
         "null"
        ]
       }
      }
     }
    }
   },
   "TopicDetail": {
    "allOf": [
     {
      "$ref": "#/components/schemas/Topic"
     },
     {
      "type": "object",
      "properties": {
       "daily_views": {
        "type": "array",
        "items": {
         "type": "object",
         "properties": {
          "day": {
           "type": "string",
           "format": "date"
          },
          "views": {
           "type": "integer",
           "description": "Daily attention"
          }
         }
        }
       },
       "uk_search_appearances": {
        "type": "array",
        "items": {
         "type": "object",
         "properties": {
          "hour": {
           "type": "string"
          },
          "approx_searches": {
           "type": "integer"
          }
         }
        }
       },
       "trending_in_regions": {
        "type": "array",
        "items": {
         "type": "object",
         "properties": {
          "region": {
           "type": "string"
          },
          "name": {
           "type": "string"
          },
          "peak_approx_searches": {
           "type": "integer"
          },
          "times": {
           "type": "integer"
          },
          "first_seen_hour": {
           "type": "string"
          },
          "last_seen_hour": {
           "type": "string"
          }
         }
        }
       },
       "news": {
        "type": "array",
        "items": {
         "type": "object",
         "properties": {
          "title": {
           "type": "string"
          },
          "source": {
           "type": [
            "string",
            "null"
           ]
          },
          "url": {
           "type": "string"
          }
         }
        }
       },
       "ai_agent_attention_30d": {
        "type": "object",
        "additionalProperties": true
       },
       "yew_score_history": {
        "type": "array",
        "items": {
         "type": "object",
         "properties": {
          "day": {
           "type": "string",
           "format": "date"
          },
          "score": {
           "type": "integer"
          }
         }
        }
       },
       "source": {
        "type": "string"
       }
      }
     }
    ]
   },
   "TopicList": {
    "type": "object",
    "properties": {
     "q": {
      "type": "string"
     },
     "items": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/Topic"
      }
     }
    }
   },
   "ProductBoard": {
    "type": "object",
    "properties": {
     "generated_at": {
      "type": "string",
      "format": "date-time"
     },
     "category": {
      "type": "string"
     },
     "items": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/Topic"
      }
     }
    }
   },
   "Compare": {
    "type": "object",
    "properties": {
     "a": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/TopicDetail"
       },
       {
        "type": "null"
       }
      ]
     },
     "b": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/TopicDetail"
       },
       {
        "type": "null"
       }
      ]
     }
    }
   },
   "Match": {
    "type": "object",
    "properties": {
     "title": {
      "type": "string"
     },
     "kind": {
      "type": "string",
      "enum": [
       "product",
       "brand_or_company",
       "topic"
      ]
     },
     "category": {
      "type": [
       "string",
       "null"
      ]
     },
     "description": {
      "type": [
       "string",
       "null"
      ]
     },
     "yew_score": {
      "type": [
       "integer",
       "null"
      ]
     },
     "attention_7d": {
      "type": [
       "integer",
       "null"
      ]
     },
     "week_on_week_change_pct": {
      "type": [
       "integer",
       "null"
      ]
     },
     "url": {
      "type": "string",
      "format": "uri"
     },
     "slug": {
      "type": "string"
     }
    }
   },
   "Lookup": {
    "type": "object",
    "properties": {
     "summary": {
      "type": "string"
     },
     "query": {
      "type": "string"
     },
     "best_match": {
      "oneOf": [
       {
        "$ref": "#/components/schemas/Match"
       },
       {
        "type": "null"
       }
      ]
     },
     "ambiguous": {
      "type": "boolean"
     },
     "matches": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/Match"
      }
     },
     "brand_products": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/Match"
      }
     }
    }
   },
   "DemandSummary": {
    "type": "object",
    "properties": {
     "found": {
      "type": "boolean"
     },
     "summary": {
      "type": "string",
      "description": "Plain-English summary, quotable as is"
     },
     "title": {
      "type": "string"
     },
     "verdict": {
      "type": "string",
      "enum": [
       "surging",
       "rising",
       "steady",
       "falling",
       "dropping",
       "spiking",
       "unknown"
      ]
     },
     "category": {
      "type": [
       "string",
       "null"
      ]
     },
     "description": {
      "type": [
       "string",
       "null"
      ]
     },
     "key_numbers": {
      "type": "object",
      "properties": {
       "yew_score": {
        "type": [
         "integer",
         "null"
        ]
       },
       "yew_score_change_7d": {
        "type": [
         "integer",
         "null"
        ]
       },
       "attention_7d": {
        "type": [
         "integer",
         "null"
        ]
       },
       "attention_prev_7d": {
        "type": [
         "integer",
         "null"
        ]
       },
       "week_on_week_change_pct": {
        "type": [
         "integer",
         "null"
        ]
       },
       "change_vs_4_weeks_ago_pct": {
        "type": [
         "integer",
         "null"
        ]
       },
       "latest_day_vs_28d_median": {
        "type": [
         "number",
         "null"
        ]
       },
       "category_rank_by_attention": {
        "type": [
         "object",
         "null"
        ],
        "properties": {
         "rank": {
          "type": "integer"
         },
         "of": {
          "type": "integer"
         }
        }
       },
       "category_rank_by_yew_score": {
        "type": [
         "object",
         "null"
        ],
        "properties": {
         "rank": {
          "type": "integer"
         },
         "of": {
          "type": "integer"
         }
        }
       },
       "category_median_week_on_week_pct": {
        "type": [
         "integer",
         "null"
        ]
       },
       "peak_day_90d": {
        "type": [
         "object",
         "null"
        ],
        "properties": {
         "day": {
          "type": "string",
          "format": "date"
         },
         "attention": {
          "type": "integer"
         }
        }
       }
      }
     },
     "weekly_attention": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "week_ending": {
         "type": "string",
         "format": "date"
        },
        "attention": {
         "type": "integer"
        }
       }
      }
     },
     "trending_regions": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "headlines": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "title": {
         "type": "string"
        },
        "source": {
         "type": [
          "string",
          "null"
         ]
        },
        "url": {
         "type": "string"
        }
       }
      }
     },
     "data_to": {
      "type": [
       "string",
       "null"
      ]
     },
     "url": {
      "type": "string",
      "format": "uri"
     },
     "cite_as": {
      "type": "string"
     },
     "suggestions": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "title": {
         "type": "string"
        },
        "url": {
         "type": "string"
        }
       }
      }
     }
    }
   },
   "Leaders": {
    "type": "object",
    "properties": {
     "summary": {
      "type": "string"
     },
     "category": {
      "type": "string"
     },
     "category_name": {
      "type": "string"
     },
     "ranked_by": {
      "type": "string"
     },
     "method": {
      "type": "string"
     },
     "data_to": {
      "type": [
       "string",
       "null"
      ]
     },
     "tracked_in_category": {
      "type": "integer"
     },
     "page": {
      "type": "string",
      "format": "uri"
     },
     "items": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "rank": {
         "type": "integer"
        },
        "title": {
         "type": "string"
        },
        "description": {
         "type": [
          "string",
          "null"
         ]
        },
        "yew_score": {
         "type": [
          "integer",
          "null"
         ]
        },
        "yew_score_change_7d": {
         "type": [
          "integer",
          "null"
         ]
        },
        "attention_7d": {
         "type": "integer"
        },
        "share_of_category_attention_pct": {
         "type": [
          "number",
          "null"
         ]
        },
        "week_on_week_change_pct": {
         "type": [
          "integer",
          "null"
         ]
        },
        "url": {
         "type": "string",
         "format": "uri"
        }
       }
      }
     }
    }
   },
   "WhatsNew": {
    "type": "object",
    "properties": {
     "summary": {
      "type": "string"
     },
     "window_days": {
      "type": "integer"
     },
     "category": {
      "type": [
       "string",
       "null"
      ]
     },
     "method": {
      "type": "string"
     },
     "data_to": {
      "type": [
       "string",
       "null"
      ]
     },
     "items": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "title": {
         "type": "string"
        },
        "category": {
         "type": "string"
        },
        "description": {
         "type": [
          "string",
          "null"
         ]
        },
        "emerged_on": {
         "type": "string",
         "format": "date"
        },
        "attention_7d": {
         "type": "integer"
        },
        "daily_attention_now": {
         "type": "integer"
        },
        "daily_attention_before": {
         "type": [
          "number",
          "null"
         ]
        },
        "growth_multiple": {
         "type": [
          "number",
          "null"
         ]
        },
        "week_on_week_change_pct": {
         "type": [
          "integer",
          "null"
         ]
        },
        "yew_score": {
         "type": [
          "integer",
          "null"
         ]
        },
        "url": {
         "type": "string",
         "format": "uri"
        }
       }
      }
     }
    }
   },
   "Breakouts": {
    "type": "object",
    "properties": {
     "method": {
      "type": "string"
     },
     "days": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "day": {
         "type": "string",
         "format": "date"
        },
        "items": {
         "type": "array",
         "items": {
          "type": "object",
          "properties": {
           "title": {
            "type": "string"
           },
           "url": {
            "type": "string"
           },
           "category": {
            "type": [
             "string",
             "null"
            ]
           },
           "vertical": {
            "type": [
             "string",
             "null"
            ]
           },
           "yew_score": {
            "type": "integer"
           },
           "jump_7d": {
            "type": "integer"
           },
           "week_on_week_change": {
            "type": [
             "number",
             "null"
            ]
           }
          }
         }
        }
       }
      }
     }
    }
   },
   "Trends": {
    "type": "object",
    "properties": {
     "generated_at": {
      "type": "string"
     },
     "region": {
      "type": "string"
     },
     "region_name": {
      "type": "string"
     },
     "items": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "slug": {
         "type": "string"
        },
        "title": {
         "type": "string"
        },
        "url": {
         "type": "string"
        },
        "category": {
         "type": [
          "string",
          "null"
         ]
        },
        "is_product": {
         "type": "boolean"
        },
        "peak_approx_searches": {
         "type": "integer"
        },
        "times_captured": {
         "type": "integer"
        },
        "first_seen_hour": {
         "type": "string"
        },
        "last_seen_hour": {
         "type": "string"
        }
       }
      }
     }
    }
   },
   "Regions": {
    "type": "object",
    "properties": {
     "regions": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "code": {
         "type": "string"
        },
        "name": {
         "type": "string"
        },
        "group": {
         "type": "string"
        }
       }
      }
     },
     "spreading": {
      "type": "array",
      "items": {
       "type": "object",
       "additionalProperties": true
      }
     },
     "coming_to_uk": {
      "type": "array",
      "items": {
       "type": "object",
       "additionalProperties": true
      }
     }
    }
   }
  }
 }
}