This uses a patched datamodel-code-generator, and assumes you have that installed in a venv or similar.
Once that's in place, you should be able to run build.sh, which will pull in the OSCAL git repos, and then build the objects for all the layers/models.