Capturing Decisions
Design decisions as data
At a minimum, a decision record requires
model
- defines both the decision type and which model to use to produce itname
- to identify the decisionparams
- an object following the decision model schema
The following example defines two decisions:
-
a color-value decision, via the color-value/explicit model
-
a color-set decision, via the color-set/anchored model
If you are declaring decisions in JSON files you are encouraged to organize them in small groups using directories and files.
Directoryspace/
- …
Directorytypography/
- …
Directorycolors/
- base.json
- palettes.json
- ratios.json
Directorycontexts/
- …
Next steps
Proceed to the next guide for step by step instructions on how to load all decision files at once, as well as how to validate the input data and inspect validation errors.