Skip to documentation

FROM THE RECIPE BOX

A little FYI.
A little TMI.

Read the cooking notes, know what is still missing, or get straight to the recipe data.

FYI

For cooks

Recipes and kitchen notes do not all have the same amount of detail. Read the status and notes before deciding what to cook.

Complete is not the same as tested

  • Complete: the ingredients and method are documented as a full recipe. It can still be untested.
  • Documented batch: a particular batch is recorded. Keep its quantities, yield and timing together rather than assuming they describe every batch size.
  • In progress: some recipe facts are missing or unresolved. Treat it as kitchen notes, not a dependable set of cooking instructions.

A reported successful cook is a separate claim. It does not supply a missing quantity, temperature or cooking time, and it does not guarantee the same result in another kitchen.

Missing means missing

We do not fill gaps with plausible measurements. If an amount, pan size, yield or timing is not known, it should stay unknown and be called out in the notes. Do not assume a kitchen note has enough detail to cook safely.

Components and alternatives

Ingredient headings keep things like a filling and a topping separate. Optional additions still belong in the ingredient list. Oven and air-fryer alternatives should be clearly labeled as alternatives, not read as consecutive steps.

Check packaged ingredients for plant-based suitability. A recipe's vegan flag does not replace reading a product label, and it is not an allergen guarantee.

TMI

Notes for nerds and bots

The native record is JSON for one recipe. Its current record version is "schemaVersion": "1.2". The authoritative definition is the site's actual recipe schema, not a second schema copied into this guide.

Schema checks and content checks are different

The schema checks required fields, types and allowed status values. It allows extra top-level properties and only loosely constrains ingredient-group objects. A schema-valid record can still have mismatched groups, a wrong canonical URL or missing cooking facts.

The downloadable validator adds the cross-field checks described below. It does not prove kitchen safety, completeness, testing, compatibility with every consumer or permission to publish.

Required native fields

schemaVersion, slug, title
Strings. Use current native version 1.2. Slugs use lowercase ASCII letters and digits separated by single hyphens, with no spaces. The schema itself does not enforce that version or slug pattern.
status
Exactly complete, documented-batch or in-progress. Documentation completeness and reported testing remain separate.
url, dataUrl
Absolute canonical strings using the same slug:
https://francespopsicle.com/recipes/{slug}/
https://francespopsicle.com/recipes/data/{slug}.json
ingredients, instructions
Flat arrays of strings. Ingredient strings are the canonical display text. Instructions are the main sequential method, not method-group objects.
vegan
A boolean, not the string "true". Record the supported fact rather than guessing.

Optional native fields

Presentation and context
description, category, icon, eyebrow, statusLabel, recipeYield, francesNote and editorialNote are strings. Use statusLabel or notes for an accurately qualified testing report. meta, notes, servingSuggestions and tags are string arrays. mealPlanWeeks is an integer array, and amcInspired is a boolean.
Source fields
sourceType and sourceDocument are strings in the native schema. They are not an invitation to include private source material, identities, attachment references or internal logs. Omit them when there is no suitable public attribution.
image and social
Optional objects. image permits string keys src and alt. social permits string keys title, description, image and imageAlt. Other keys inside these objects are not allowed by the schema.
ingredientGroups
An array of component objects with string title and string-array items. Flattening all items must equal the ingredients multiset: exact strings, the same duplicate counts, and optional additions included. This equality is a semantic check, not a schema guarantee.
ingredientDetails
If supplied, one object per ingredient, in the same display order. Each object's text must exactly match its ingredient string. Required keys are text, name, quantity, unit, category and boolean optional. The first five are strings. Optional keys are string group, boolean approximate and normalizationConfidence, whose values are high, medium or low. Other detail keys are not allowed.

Unknown normalized quantities and units can be empty strings. Use low confidence when appropriate, or omit confidence. Do not invent amounts, conversions or grocery arithmetic to make the data look more complete.

Import without losing meaning

  1. Start with source-supported cooking facts. Preserve quantities, ranges, optionality and batch-specific timing. Flag gaps instead of inventing measurements.
  2. Keep a single main method in instructions. Put each alternative method in a separate, clearly labeled notes string. Method-group objects are not supported by the current recipe renderer.
  3. Keep component headings in ingredientGroups and all component items in the canonical flat ingredients array. Keep any ingredientDetails aligned one-to-one.
  4. Choose a unique slug and matching URLs. The validator detects duplicate slugs within the input only, not collisions with the existing recipe box.
  5. Remove personal identities, private attachments, conversation excerpts and operational details. Review for cooking safety and unresolved facts separately from data validation.
  6. Save UTF-8 JSON and run validation. A file ending in .bin can still be JSON text used for transport. Its extension alone does not tell you what is inside. Prefer .json for clarity; renaming a file does not convert its contents.

One recipe or a transport batch

The native schema describes one recipe, not an import envelope. For exchanging several records, this guide documents a versioned wrapper with "batchVersion": "1.0" and a nonempty recipes array. Each element is a native recipe with its own schemaVersion.

For compatibility, the validator also accepts "schemaVersion": "1.0" on an existing batch envelope. New exports should use batchVersion so the transport version is distinct from each recipe's native version. Conflicting version fields are rejected.

A batch may declare a publicationHolds array of objects with a recipe slug and a nonempty reason. The validator checks these references and reports the holds. Passing validation does not clear a hold or authorize publication.

This is a documented transport convention, not a promised API acceptance format. The examples and validator do not upload, import or publish anything.

TAKE WHAT YOU NEED

Downloads and validation

The template and batch contain an explicitly in-progress placeholder, not a fabricated real recipe. Their empty ingredient and method arrays are intentional. They are not cooking instructions. Example URLs show the naming pattern and do not point to published recipes.

Read the authoritative native schema →

Run locally

Use Python 3 with an already installed jsonschema. The script installs nothing. By default it retrieves the authoritative schema over HTTPS. For offline validation, save that schema and pass its local filename explicitly.

python3 validate_recipe.py recipe-template.json
python3 validate_recipe.py batch-example.json
python3 validate_recipe.py input.json --schema recipe.schema.json

Exit 0 means the schema and listed semantic checks passed. Exit 1 means invalid content. Exit 2 means an input, schema-loading or configuration error. Input is read as UTF-8 JSON regardless of the filename extension.

Additional semantic checks cover the current record version, canonical slug and URLs, duplicate slugs in the input, ingredient-group shape and multiset equality, and ingredient-detail text alignment when details are supplied. No validation result establishes that a dish was cooked or that a placeholder is ready to use.