diff --git a/build_helpers/extract_json_schema.py b/build_helpers/extract_json_schema.py new file mode 100644 index 000000000..68fa8835e --- /dev/null +++ b/build_helpers/extract_json_schema.py @@ -0,0 +1,10 @@ +from pathlib import Path + +import rapidjson + +from freqtrade.configuration.config_schema import CONF_SCHEMA + + +schema_filename = Path(Path(__file__).parent.parent / "schema.json") +with schema_filename.open("w") as f: + rapidjson.dump(CONF_SCHEMA, f, indent=2)