in scripts/fetch-schemas.py [0:0]
def main():
session = requests.session()
for schema, fragment in SCHEMAS.items():
path = Path("schema") / schema
url = URL_BASE + fragment
print(f"Fetching {schema} ...")
with path.open("w") as f, session.get(url) as req:
f.write(req.text)