How to build older versions of this schema.
Earlier iterations of this schema do not contain these instructions. Either open this doc in a web browser or clone the repo and work from the copy.
# list the available tags
git tag
# set the $SCHEMA_VERSION to one of the tags
SCHEMA_VERSION=V4.7.0
# checkout the tag to a new branch
git checkout tags/$SCHEMA_VERSION -b $SCHEMA_VERSION
# build the schema docs
cd src
./write_all.sh official
# copy the output files to dist/
cd ..
mkdir dist
cp src/*.csv dist/
mv src/*.pdf dist/
mv src/*.html dist/
# reset the source
git reset --hard HEAD
# verify that there are no unexpected changes
git status
# move the dist directory to deploy as needed
mv ./dist /path/to/schemas/$SCHEMA_VERSION -r
# cleanup created branch and revert to main
git checkout main
git branch -d V4.7.0