Setup file
A setup file, binbox-setup.json, holds a report’s settings, its slide list and, when the data on screen has a setup,
that setup with its grouping files. When you send it to a colleague, their copy of the data opens the same way, with
the same dates, groups, numbers and slides.
Download one
Section titled “Download one”Open the Report menu, the sliders icon at the top right, and choose Report setup (.json), under Setup file.
When you are signed in, the file carries your client account’s default highlight and peers as its own, because the file leaves the account.
Import one
Section titled “Import one”Choose Import report setup… in the same menu. The file’s settings replace every setting on screen.
When the file holds a data setup, it is kept in this browser as the newest version of its dataset. The next data file with the same columns opens through it, with no questions. If this browser already has the very same setup, nothing is added.
Fields
Section titled “Fields”The app writes the file, but you can edit the data setup in it by hand, for example to rename a figure, and import it again.
| Field | Required | What it holds |
|---|---|---|
_type |
No | "binbox-setup". A file without it is read when it has at least one setting. |
_version |
No | 2. A higher number is refused, because a newer version of the app wrote the file. |
appVersion |
No | The version of the app that wrote the file. Ignored on import. |
deck |
No | The slide list: each slide’s id, whether it is in the report, and each chart’s settings. |
dataset |
No | The data setup, field by field below. |
Every other field is a setting of the report, as the app writes it, such as basis or savedAt. A setting the app
does not know is dropped on import.
The view level and the highlight
Section titled “The view level and the highlight”Two settings say what the report is cut by and who it calls out.
| Setting | What it holds |
|---|---|
viewLevel |
The level the report’s rows are cut at, by the level’s name, such as "Brand". It is where the report opens. |
subject |
The entity the report calls out, such as { "level": "Brand", "name": "Aster Phone" }. { "level": null, "name": null } means no highlight. |
The two are independent. A highlight below the view level has its parent at that level called out. A highlight above that
level has nothing called out. A file written before viewLevel opens at its highlight’s level, with the highlight kept,
so it looks the same. A level the data does not have is dropped.
A chart’s dataset
Section titled “A chart’s dataset”A report can hold charts from more than one dataset. A chart you added names its dataset in its own settings.
| Setting | What it holds |
|---|---|
dataset |
On a chart, the id of the dataset it reads, such as "store-sales". An id is letters, digits, ., _ and -, up to 80 characters. When the field is left out, the chart reads the report’s own dataset. |
The chart’s figure, levels and filters are that dataset’s. The report’s own dataset is never named, so the app drops the field from a chart that names it. A file written before this field has none, and opens the same. A chart keeps a dataset that is not open, and it then shows “Not available for this data” with the reason until that data is added.
The file-level dataset field is a different thing. It is the data setup of the report’s own dataset.
How each dataset was answered
Section titled “How each dataset was answered”A saved report’s setup can hold answeredBy, one entry for each of the report’s datasets, by the dataset’s id. Each
entry is { "path": "compiler", "version": 1, "distinct": "addedMonths" }. The app writes it when the report is saved,
and it is not a setting to change by hand.
| Field | What it holds |
|---|---|
path |
How the dataset was answered: file, compiler (a Live table), extract, on-demand or on-demand-extract. |
version |
The version of that way, a whole number from 1. A number newer than the app knows is dropped. |
distinct |
How a count of each value once was worked out over several months: addedMonths (the months’ counts added) or exact. Absent is addedMonths. |
An entry the app cannot read is dropped on import. A setup without answeredBy opens the way its datasets are read now.
A slide of words only
Section titled “A slide of words only”A slide you added can be words only: a statement, a big number, a quote, a short list or a cover. Its words setting
holds them:
| Setting | What it holds |
|---|---|
kind |
"statement", "number", "quote", "list" or "cover". Any other kind drops words, and the slide is an ordinary added slide. |
text |
The statement, the number, the quote, the list with one point a line (up to 6 are shown), or a cover’s title. Up to 300 characters, and a cover’s title up to 120. |
sub |
Optional. The line under a statement, what a number counts, who said a quote, or a cover’s subtitle. Up to 200 characters. A list keeps none. |
kicker |
Optional, a cover only. The short line above its title, shown in capitals. Up to 60 characters. |
body |
Optional, a cover only. Its paragraph. Up to 400 characters. |
facts |
Optional, a cover only. Up to 3 short facts, side by side, each up to 60 characters. |
For example, { "kind": "number", "text": "$4.2M", "sub": "Annual recurring revenue" }, or a cover:
{ "kind": "cover", "kicker": "Seed pitch — November 2026", "text": "Reports that arrive finished", "facts": ["Raising $1,000,000 — seed"] }.
Another kind drops kicker, body and facts. A slide with words keeps no charts, because the app drops its
visuals. A file written before these settings has none of them, and opens the same.
A slide’s design
Section titled “A slide’s design”Any slide, built in or added, can have a design under its entry in slides, keyed by the slide’s id. A design holds
a background, and shapes and icons.
| Setting | What it holds |
|---|---|
bg |
A background color, 6 hex digits, kept in capitals. |
accent |
true takes the theme’s accent color as the background, and follows the theme. It wins over bg. |
picture |
A picture behind the slide: one of the account’s pictures. An object with id, crop and probe, below. |
items |
Up to 12 shapes and icons. An item the app cannot read is dropped. |
A picture holds the picture’s id (the account’s pictures route’s id, never a link or the picture itself), crop
and probe:
| Picture setting | What it holds |
|---|---|
id |
The picture’s id, a UUID. Any other id drops picture. |
crop |
"fill" covers the slide and cuts the rest, and "fit" shows the whole picture on the slide’s background. Any other value is "fill". |
probe |
Optional. 144 whole numbers from 0 to 255: the picture’s brightness in a 16 x 9 grid, read when the picture was chosen. The wordmark and the legal line get a panel behind them only where it shows they would not read. Anything but exactly 144 such numbers is dropped, and both get a panel. |
Each item holds id, layer, shape, box, colour and, for an icon, a picture or a marker, one more:
| Item setting | What it holds |
|---|---|
id |
A name of 1 to 24 letters, digits, - or _, not used by another item on the slide. |
layer |
"under" (beneath the slide’s data) or "over" (on it). |
shape |
"rect", "round", "ellipse", "line", "arrow", "icon", "picture" or "marker". |
box |
[x, y, width, height] in whole units of 1/48 of the slide’s width, on the slide, at least 1 wide and 1 tall. |
colour |
A theme color: "accent", "text", "muted", "s1", "s2", "s3" or "s4". It is never a free color. |
icon |
An icon’s name, such as "chart-bar". Kept only on an icon. A name the app does not have draws nothing. |
picture |
A picture item’s picture: one of the account’s pictures by its id (a UUID), never a link or the picture itself. It is required on a "picture", which is dropped without a valid one, and it is dropped on any other shape. |
crop |
On a picture item, "fill" covers its box and cuts the rest, and "fit" shows the whole picture in it. Any other value is "fill". |
n |
A marker’s number, a whole number from 1 to 9, shown in its circle. It is required on a "marker", which is dropped without one, and it is dropped on any other shape. |
For example, { "bg": "0B1F33", "items": [{ "id": "d1", "layer": "over", "shape": "icon", "icon": "check", "box": [2, 22, 2, 2], "colour": "accent" }] }.
A slide whose items would cover the wordmark, the page number or the legal line, or cover its data when they are over
it, leaves those items out when it is drawn, but the file keeps them. A file written before this setting has none, and
opens the same.
A text card can be a Space, in which case its visual has "space": true with "dim": "text". A Space holds its cell
on the card grid and draws nothing. space is kept only on a text card.
A pitch visual
Section titled “A pitch visual”A chart you added can be one of the pitch visuals. Its dim names it, and it reads its
level and metric as other charts do:
| Setting | What it holds |
|---|---|
dim |
"quadrant" (a 2x2), "compare" (a comparison of yes and no marks), "circles" (nested circles), "roadmap" or "team" (a team grid). |
quadrants |
A 2x2 only: the four corners’ names, top left, top right, bottom left, bottom right. Up to 40 characters each, and an empty one is named from the measures. Dropped from any other chart, and when all four are empty. |
metrics |
A comparison: its columns, up to 8 measure ids. |
words |
A comparison only: its columns of words, after the measures, each a filter or the level below its rows, by name. With the measures, 8 columns at most, and one the dataset does not have is dropped. |
featured |
A comparison only: the featured row, by the member’s name, up to 120 characters. Left out, the report’s highlight is featured. |
by |
A roadmap: the level below its phases, or a filter, whose names are each phase’s items. A team grid: the same for each person’s role. |
inside |
A roadmap only: the id of a measure of yes and no. Items whose value is above zero are written in their phase’s chevron; the others are listed under it. Left out, every item is listed under it. |
inclusive |
Nested circles only: true when the values already include the circles inside, like a market, the part you can serve and the part you can win. Each circle is then drawn on its own value. Left out, each circle is its value plus the values of the circles inside it. Anything but true is dropped. |
photos |
A team grid only: each person’s photo, keyed by their name, as the id of one of the client account’s pictures (a uuid). Up to 12. A link or anything else is dropped. |
For example, { "metric": "ease_of_use", "dim": "quadrant", "metric2": "depth", "level": "Competitor", "quadrants": ["", "Leaders", "", ""], "scope": {} }.
A file written before these views has none, and opens the same.
A picture slide
Section titled “A picture slide”A slide you added can show one of the client account’s pictures. Its picture setting names the picture, never its
file or a link to it:
| Setting | What it holds |
|---|---|
id |
The picture’s id in the client account, a uuid. Anything else drops picture, and the slide is an ordinary added slide. |
crop |
"fit" shows the whole picture, and "fill" fills the box and cuts the picture’s edges. Any other value reads as "fit". |
caption |
Optional. A line under the picture. Up to 200 characters. |
For example, { "id": "6f1c2a3b-4d5e-4f60-8a7b-9c0d1e2f3a4b", "crop": "fill", "caption": "The founding team" }. A slide
with picture keeps no charts, because the app drops its visuals. A slide with words keeps its words and drops
picture. Opened in another client account, the slide says the picture is not available, since that account does not
have it. A file written before this setting has none, and opens the same.
An email block can be a picture too, as in { "id": "em-3", "kind": "picture", "picture": "<the picture's id>" }. A
picture block without a picture id is dropped. A picture block counts with the charts toward the email’s 8.
The data setup
Section titled “The data setup”dataset is what the Data view sets. Unlike the settings, it is checked whole, so a field it does
not know, or a value of the wrong kind, keeps the whole data setup out, and the message says which.
Required:
| Field | What it holds |
|---|---|
id |
The dataset’s id: small letters, digits and -, up to 80 characters. |
version |
1 or more. Each saved change is the next version. |
name |
The dataset’s name, up to 120 characters. |
header |
The data file’s column names, in order. A file opens through the setup when it has these names, in any order and case. |
shape |
"transaction" for one row per event, "aggregate" for rows already summed. |
time |
The date: its column and the periods the report offers ("day", "week", "month"). Optionally the order of day and month, what a date stands for (grain: its month, its year, or "own" for rows each at their own period, with grainColumn the column that says each row’s kind), the month the year starts, a retail week calendar, working days and a period table. alternates lists up to 8 other date columns the report can be dated by instead, each with column and optionally its own dateOrder, grain ("day", "month" or "year") and periods; the calendar is shared. Switching the report’s date swaps one into time and the old date into the list, and sets combineBy to the date the setup was set up by: files added to the data take older files’ months by it, and switching back clears it. |
rootLabel |
What everything together is called: All stores. Up to 60 characters. |
hierarchies |
The groups, each a name, a kind and its levels, broadest first. Each level is a column and a label. An empty list for no groups. A group may name ownRows, a column whose values are its level labels. Each row then counts at that level only, as in a table of states and counties, and a level the column never names adds up the rows under it. The levels of such a group may share one column, as Reshape steps describes. A level may also say how a map draws it: geo for the kind of place, geoAreas for your own regions as state or county codes, or geoShapes for your own map file, its shapes kept in the setup as BInbox simplified them, with the file name and the property (key) that names each shape. |
measures |
The figures read from the file, at least one. Each has an id, a label, how it adds up (agg), a format and when it is good. A total or a count may name a walkWeight, the id of another total or count its Bridge is weighted by. hidden: true keeps a measure out of every list of figures, while ratios, shares and weights still use it; at least one figure stays shown. A total may carry looks, one of price, percent, ratio, year or date: the field pane marks it with a gray ? until someone picks how it adds up, and the pick removes it. |
Optional:
| Field | What it holds |
|---|---|
headerRow |
false when the file’s first row is data. Its columns are then Column 1 onward, matched by their number. |
assumed |
true while the setup is what BInbox assumed and no one has confirmed it. |
read |
For a table in a warehouse, the rows to read: a date column of the table and from, a day written YYYY-MM-DD. Rows dated that day or later are read. A file is read whole. |
readColumns |
For a table in a warehouse, the columns to read when some were turned off: 1 to 2,000 names of columns the setup has, each once. Only these are read. Without it, every column is read. A file is read whole. |
figures |
Up to 3 figures the setup was checked against, each a name, a period and a value as typed. |
rows |
A small table’s rows under header, up to 200, each a list of cells as text in the header’s order: numbers plain (1200000, 12.5), dates YYYY-MM-DD, an empty cell "". The dataset is read from them, so no data file opens through this setup. |
moved |
How many moves were made on the small table’s people tree since it was last pasted. Each move wrote a person’s cell in the column that points to another row, in rows and not in the sheet. Pasting the table again warns that it replaces them, and drops moved. A whole number from 1. Only a setup with rows has one. |
range |
Where a small table’s rows were read in a workbook: the file name, the sheet and the cells (B3:F20). Only a setup with rows has one. |
grid |
"phases" for a roadmap’s grid typed a column a phase. Its rows are kept a step a row under Phase, Step, In the chevron (1 or 0) and Row (the grid’s row, from 1), every cell of the grid, a blank one too. Only a setup with rows has one. |
span |
Each row’s start and end dates: start and end, each a column of the file. Either may be the time column too. A setup may name one before the other; each row’s start and end are read only when it names both. |
rowParent |
A column that points to another row: column holds, on each row, the key of the row above it (a Manager ID holding another row’s Employee ID), and name, which may be left out, is the column each row is named by. All three are columns of the file. column has no other use in the setup. See A column that points to another row. |
bands |
Up to 4 sets of bands of a measure by the line. Each has name, the column a filter or a level reads (it must not be a column of the file); measure, the id of a measure read from a column of numbers; cuts, 1 to 19 numbers that go up; and how, "every", "equal" or "own", with n, the band’s width or how many bands, for the first two. Each line goes in the band of its own value of the measure: under the first cut, from one cut up to the next, or the last cut and over. A line with no value is in “(blank)”. how and n only say how the cuts were chosen. See Filter, highlight or band a card from its header. |
dateParts |
Up to 8 other date columns read as a dimension or a filter. Each has name, the column a filter or a level reads (it must not be a column of the file, a band or another part); column, a date column of the file; and grain, "day", "week", "month", "quarter" or "year". Each line goes in the day, week, month, quarter or year of its own date in that column, written as 2024-01-07, 2024-W02, 2024-01, 2024-Q1 or 2024. A line with no date there is in “(blank)”. The report’s own date is still time. |
groups |
Up to 8 fields of groups, where a member of one level can be in any number of groups, such as a store in several programs. Each has name, the field’s name in the report (Store programs), and level, the column of any level of a hierarchy. The groups come from the data in one of two ways. columns lists yes/no columns of the file, up to 60, each a column and a label, the group’s name, which may be left out for the column’s name. A column says yes in 1, y, yes, true, t or x, in any case, and no in anything else, a blank too. Every row of one member must say the same in each column, or the data does not open: The store Store 05 says yes and no to Loyalty; fix those rows. pairs lists up to 25,000 pairs, each a member of the level and the group it is in; labels may rename a group, by its value in the list. The level keeps its place in its hierarchy. A pick of groups keeps the rows whose member is in any group picked in a field, each row once, and in a group of each field picked. The app does not offer the groups yet. |
latest |
Keep only the latest row for each key: key is the column that names what the rows are versions of (an order number), by is the column that says which row is the latest, and as says how by is read, "date" (to the day) or "number". Of the rows that share a key, the one with the largest by stays and the others are left out before anything is added up. Rows that tie all stay, a row with a blank key always stays, and a blank by is earlier than any value. The rule runs after steps and before totalRows. With read, it ranks the rows read and not the whole table. |
onDemand |
The ways to split the data that are worked out when a chart asks, not as the file loads: "h:" and its first level’s column for a group or a chain, "f:" and its column for a few-valued one, such as ["h:Customer", "f:Payment"]. A setup made before November 2026 may list the ways to split its author left unticked on the guided start. Each one is still in the report with the same numbers; the first chart that asks for one waits while it is added up. Left out, everything is added up as the file loads. The first group, a group of rows at their own level, a group that shares a column with another, and every way to split a setup with a column that points to another row are always added up as the file loads. A table in a warehouse ignores it. |
beside |
Up to 4 tables beside this one, so a setup holds 5 tables at most, such as a store list with each store’s floor area, a voter count by county, or a budget by region and month beside sales. Each is a name, what the report calls it (store list), and a definition, the table’s own data setup in the same fields as this one, with no beside of its own and no figure id another table uses. shared lists the levels it shares with this table, each as this setup’s level and the table’s level as. Values match when they are the same once spaces at the ends and upper and lower case are set aside, and a shared level’s match is a match list for values the two files write differently, as columns, rows of two values and a source. A shared level has 25,000 values at most in each table. figures lists figures from this table and that one, each like an entry of calculated with a ratio or an expression formula that reads at least one figure of that table and none of another table in beside, such as revenue over floor area. Each table is added up on its own, and only the totals at a shared level are set beside this table’s, so no row of one table is matched to a row of another, and the tables in beside never line up with each other. A figure of another table asked for by a level the two do not share shows Not available for this data: Budget is by region only., and in a filter that table does not have, Not available for this data: Budget is not split by channel. A table with no date column counts in every period. With dates in both, only the months both have count. The app does not open the other tables’ files yet, so a setup with beside opens its own table as before. |
kind |
What one row is: "transaction", "roster", "aggregate", "series" or "tables". |
answers |
"on-demand" for a table in a warehouse answered on demand: only the combinations of filters a report asks for are added up, so the setup may hold more than 3 filters. Left out, the data is added up as it opens, and a file, a saved table or an extract with more than 3 filters does not open: The setup has 4 filters. Data added up as it opens holds 3 at most, because every combination of their values is added up when it loads; only data answered on demand from a warehouse holds more. |
filters |
Up to 3 filters, each a column and a label. A setup with answers set to "on-demand" holds up to 24. |
calculated |
Ratios, shares and figures per day, worked out from the measures. |
totalRows |
Rows left out, each a column and the values that mark them. |
steps |
Up to 20 reshape steps, run in order before the rows are added up. Each is a step and its fields. A levels step (rows at their own level) names the column of names, the level column it writes and the levels top first; then one of by, the column that names each row’s level, form, parent for names with their parent after a comma (the column is split into one column per level), county for counties and cities told apart by the name’s ending, or filled for a column per level where a row fills its level’s column and leaves the finer ones blank (then columns lists them, coarsest first, one per level, the first being column), and flag, a column of 0/1 or yes/no values and the level its marked rows are at. A setup saved with the earlier places step opens as a levels step with the parent form. |
residualThresholds |
For each average a walk explains, the gap at which the gray Residual bar shows. |
lookups |
The grouping files, each with its rows. |
Messages
Section titled “Messages”| Message | When |
|---|---|
| Report setup imported. | The file was imported. |
| Its data setup and grouping files are saved: the data file opens with them. | Added after the first message when the file holds a data setup. |
| Its data setup could not be read ({why}). | The data setup does not check. The settings are imported all the same. |
| That file is not a valid report setup. | The file is not a setup file. It is not JSON, is another kind of file, has a version too new, or has no setting in it. |
| That report setup was saved by the prototype, which this app no longer opens. Set up the report here and download its setup again. | A setup file from BInbox’s prototype. |
Example
Section titled “Example”This is a setup file for the data file example, with one setting. Its data setup reads the column names from line 3, Region over Store as a group, Channel as a filter, and Units and Revenue.
{ "_type": "binbox-setup", "_version": 2, "basis": "month", "dataset": { "id": "store-sales", "version": 1, "name": "Store sales", "header": ["date", "region", "store", "channel", "units", "revenue"], "shape": "transaction", "kind": "transaction", "time": { "column": "date", "periods": ["day", "week", "month"] }, "rootLabel": "All stores", "hierarchies": [ { "name": "Places", "kind": "geography", "levels": [ { "column": "region", "label": "Region" }, { "column": "store", "label": "Store" } ] } ], "filters": [{ "column": "channel", "label": "Channel" }], "measures": [ { "id": "units", "label": "Units", "column": "units", "agg": "sum", "unit": "count", "format": { "kind": "integer", "decimals": 0 }, "good": "up", "volume": true }, { "id": "revenue", "label": "Revenue", "column": "revenue", "agg": "sum", "unit": "currency", "format": { "kind": "currency", "decimals": 0, "prefix": "$" }, "good": "up" } ], "steps": [{ "step": "header", "row": 3 }] }}