{
  "name": "SmartChoice Rules API",
  "version": "0.1.0",
  "docs": "See /docs/openapi.yaml in the repo for the full spec.",
  "disclaimer": "SmartChoice verdicts are opinions based on publicly available science and regulatory data. They are not medical, dietary, or regulatory advice.",
  "endpoints": [
    "GET  /v1/verdict/barcode/:upc",
    "POST /v1/verdict/ingredients",
    "GET  /v1/ingredients/:name",
    "GET  /v1/ingredients?jurisdiction=EU&status=banned",
    "GET  /v1/jurisdictions",
    "GET  /v1/categories            — ingredient classes (e.g. artificial-dye)",
    "GET  /v1/product-categories    — product-type slugs used by alternatives (olive_oil, honey, …)",
    "GET  /v1/alternatives?category=X — approved yummylogy products in that category",
    "GET  /v1/videos?context=featured|category|ingredient|asin&value=…  — YouTube content paired to scan contexts",
    "GET  /v1/articles?context=featured|category|ingredient|asin&value=…  — editorial articles paired to scan contexts",
    "POST /v1/admin/recommendations  (admin only)",
    "POST /v1/admin/videos           (admin only) — upsert YouTube video + attachments",
    "POST /v1/admin/articles         (admin only) — upsert editorial article + attachments"
  ]
}