2021-03-18 09:17:30 -04:00
|
|
|
"""
|
|
|
|
Resource schemas generator for qrm2.
|
|
|
|
---
|
2023-01-29 00:43:56 -05:00
|
|
|
Copyright (C) 2021-2023 classabbyamp, 0x5c
|
2021-03-18 09:17:30 -04:00
|
|
|
|
2021-06-26 20:23:55 -04:00
|
|
|
SPDX-License-Identifier: LiLiQ-Rplus-1.1
|
2021-03-18 09:17:30 -04:00
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
|
|
import utils.resources_models as models
|
|
|
|
|
|
|
|
|
|
|
|
print("Generating schema for index.json")
|
|
|
|
with open("./dev-notes/rs_index_schema.json", "w") as file:
|
|
|
|
file.write(models.Index.schema_json(indent=4))
|
|
|
|
|
|
|
|
print("Done!")
|