1# Generating Json schema for OEM schemas
2
3The config in this directory is for utilizing the DMTF json generation script
4located at [1]
5
6To update the config files, run the following command, updating the paths to be
7correct on your machine.
8
9```
10python3 ~/Redfish-Tools/csdl-to-json-convertor/csdl-to-json.py --input ~/bmcweb/redfish-core/schema/oem/openbmc/csdl --output ~/bmcweb/redfish-core/schema/oem/openbmc/json-schema --config ~/bmcweb/scripts/csdl-to-json-converter/csdl-to-json-convertor/openbmc-config.json
11```
12
13[1]
14https://github.com/DMTF/Redfish-Tools/blob/main/csdl-to-json-convertor/csdl-to-json.py
15