Files
bottom/schema
Clement Tsang d458d1958b other: fix some config code for nice/priority (#1911)
* other: fix some config code for nice/priority

* driveby change from cfg(target_family=unix) to just cfg(unix)

* remove nice as a default for now
2025-12-21 15:22:00 -05:00
..
2025-11-06 23:26:15 +08:00
2025-12-20 22:55:30 +00: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:

./scripts/schema/generate.sh

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. Here's an example of a PR.