{"query":"allium cepa","localMatches":[{"slug":"onion","commonName":"Onion","scientificName":"Allium cepa","category":"vegetable","profile":{"aliases":[],"lifecycle":"annual","roles":["food"],"habit":"garden crop","edibleParts":["harvest"],"squareFootUse":"Excellent for tight repeat sowing in small squares.","varietyNotes":"Favor varieties that match your season length and available bed space.","varieties":[],"externalNames":{"gbif":"Allium cepa","inaturalist":"Allium cepa","perenual":"Onion","trefle":"Allium cepa"}},"recordScore":{"totalScore":79,"verdict":"strong garden record","rows":[{"key":"taxonomy","label":"Taxonomy confidence","weight":18,"score":94,"detail":"Allium cepa in Amaryllidaceae; 2 cached source references."},{"key":"garden-fit","label":"Square-foot usefulness","weight":22,"score":94,"detail":"9 per square with none support."},{"key":"timing","label":"Timing and care depth","weight":20,"score":84,"detail":"2 planting windows, 35F minimum soil, 2 cautions."},{"key":"varieties","label":"Species and variety drill-down","weight":16,"score":40,"detail":"0 variety or cultivar options attached."},{"key":"flowers","label":"Annual flower intelligence","weight":12,"score":70,"detail":"Food crop with companion context."},{"key":"sources","label":"Source readiness","weight":12,"score":82,"detail":"Ready for 4 external lookup paths."}]},"drilldown":{"taxonomy":{"scientificName":"Allium cepa","family":"Amaryllidaceae","genus":"Allium","species":"Allium cepa","rank":"species","confidence":"derived","lookupNames":["Onion","Allium cepa"],"sourceRefs":["msu-smart-garden","cornell-vegetable-guides"],"note":"This record is anchored to a stable botanical name, then adjusted for square-foot garden decisions."},"gardenRows":[{"key":"spacing","label":"Square-foot fit","value":"9 per square","score":94,"detail":"Excellent for tight repeat sowing in small squares. Support: none."},{"key":"season","label":"Season behavior","value":"semi-hardy","score":84,"detail":"Indoor start. Transplant. One main planting."},{"key":"care","label":"Care load","value":"moderate water","score":76,"detail":"Day length matters. Keep weeds away while bulbs size up. Soil minimum 35F."},{"key":"ecosystem","label":"Bed ecosystem role","value":"food","score":70,"detail":"Food-first crop with companion context."},{"key":"varieties","label":"Variety depth","value":"0 options","score":40,"detail":"Favor varieties that match your season length and available bed space."}],"varieties":[],"sourceLayer":[{"id":"local-cache","label":"FVF reviewed cache","mode":"cached","use":"Spacing, timing, variety, companion, and FVF notes used by the planner."},{"id":"gbif-inaturalist","label":"GBIF and iNaturalist","mode":"live no-key","use":"No-key taxonomy, common-name, and community context checks through the enrichment route."},{"id":"usda-downloads","label":"USDA PLANTS downloads","mode":"reference","use":"Periodic identity, distribution, native status, and conservation reference layer."},{"id":"perenual-trefle","label":"Perenual or Trefle","mode":"optional key","use":"Optional species images, care data, cultivar/synonym cleanup, then cache only reviewed fields."}]}}],"external":[{"ok":true,"status":200,"source":"gbif","data":{"usageKey":2857697,"scientificName":"Allium cepa L.","canonicalName":"Allium cepa","rank":"SPECIES","status":"ACCEPTED","confidence":99,"matchType":"EXACT","kingdom":"Plantae","phylum":"Tracheophyta","order":"Asparagales","family":"Amaryllidaceae","genus":"Allium","species":"Allium cepa","kingdomKey":6,"phylumKey":7707728,"classKey":196,"orderKey":1169,"familyKey":7682,"genusKey":9624496,"speciesKey":2857697,"class":"Liliopsida"}},{"ok":true,"status":200,"source":"inaturalist","data":{"total_results":6,"page":1,"per_page":5,"results":[{"id":899551},{"id":48592},{"id":484762},{"id":239137},{"id":360182}]}}],"sourceFits":[{"id":"perenual","name":"Perenual API","score":88,"role":"Optional care, images, hardiness, and variety/cultivar detail.","bestFor":"Flower and ornamental drill-down, plant photos, care flags, toxicity, bloom data.","limits":"Requires an API key and plan-aware caching, so it should enrich records without blocking the app.","integration":"optional key"},{"id":"trefle","name":"Trefle API","score":84,"role":"Optional taxonomy plus botanical traits.","bestFor":"Scientific names, subspecies, varieties, hybrids, synonyms, and broader botanical cleanup.","limits":"Requires a token and should be treated as a reviewed import layer, not a live page dependency.","integration":"optional key"},{"id":"usda-plants","name":"USDA PLANTS downloads","score":82,"role":"Authority cache for U.S. plant identity and regional context.","bestFor":"Standard names, plant symbols, distribution, native status, and conservation flags.","limits":"Best consumed as periodic downloaded data instead of one-off runtime requests.","integration":"download cache"},{"id":"gbif","name":"GBIF Species API","score":78,"role":"Live public taxonomy matching.","bestFor":"Accepted scientific names, synonyms, family/genus cleanup, and occurrence context.","limits":"Not a gardening advice source; pair it with local square-foot growing data.","integration":"live public"},{"id":"inaturalist","name":"iNaturalist taxa API","score":72,"role":"Live public species/photo/community context.","bestFor":"Common-name discovery, taxon IDs, and regional biodiversity context.","limits":"Observation data is not the same thing as garden suitability or crop timing.","integration":"live public"}],"recommendation":"Use GBIF and iNaturalist live for no-key lookup, then cache reviewed names. Add PERENUAL_API_KEY or TREFLE_TOKEN later for richer care, image, cultivar, and synonym imports."}