Emberfold

Home / Documentation / Formula Export

Formula Export

An export carries the settled formula, not the batch notes. Two layouts are shown below: one with rows, one with nested fields.

Row layout

Each ingredient line is one row. The header names every column, so the file can be read on its own.

formula_id,revision,step,item,quantity_g,yield_g
EF-0417,3,01,stone flour,6250,12500
EF-0417,3,02,water,3900,12500
EF-0417,3,03,salt,120,12500

Structured layout

The same formula as nested fields. Revision, yield, and steps stay together in one small block.

{
  "formula": "EF-0417",
  "revision": 3,
  "yield_g": 12500,
  "steps": [
    { "step": "01", "item": "stone flour", "grams": 6250 },
    { "step": "02", "item": "water", "grams": 3900 },
    { "step": "03", "item": "salt", "grams": 120 }
  ]
}

In these examples, app.example.com/export stands in for the place an export would be prepared. All values are invented.

What travels

Included

Formula code, revision, ingredient lines, quantities, units, and the ordered method steps.

Left behind

Measured batch values, deviation notes, and retain sample labels stay on the batch sheet.

Reading it

Keep the unit on each line. A quantity without its unit is easy to misread in another kitchen.

Set up the source formula in Getting Started.