Maybe I missed it, but I would be interested to read more about the process of getting the PDF into text, and then into structured Markdown with frontmatter to use programatically:
https://github.com/thisismattmiller/lcsh-validator/tree/main/rules/shm