bottom/schema
Clement Tsang 6d37d5756f
refactor: combine process column code (#1622)
* rename some files

* refactor: combine process column code

* rename some and sort the schema columns
2024-11-14 10:24:24 +00:00
..
nightly refactor: combine process column code (#1622) 2024-11-14 10:24:24 +00:00
v0.9 uptick: 0.10.0 (#1510) 2024-08-01 02:45:57 -04:00
v0.10 uptick: 0.10.0 (#1510) 2024-08-01 02:45:57 -04:00
README.md docs: update docs around disable_gpu change. (#1562) 2024-08-14 20:27:32 -04:00

Config JSON Schema

Generation

These are automatically generated from code using schemars. They're locked behind a feature flag to avoid building unnecessary code for release builds, and you can generate them like so:

cargo run --features="generate_schema" -- --generate_schema > schema/nightly/bottom.json

Alternatively, run the script in scripts/schema/generate.sh, which does this for you.

Publication

To publish these schemas, cut a new version by copying nightly to a new folder with a version number matching bottom's (e.g. v0.10 if bottom is on v0.10.x bottom). Then, make a PR to schemastore updating the catalog.

For more info, see the schemastore repo. An example PR can be found here.