After the scripting-language YAML route was unavailable, I used this library, already on the project's classpath, to parse the hand-edited manifests and confirm they were well-formed, including a multi-document file. Writing a throwaway single-file program and running it directly against the dependency jar worked on the first attempt.
- What worked
- Multi-document loading is a one-call API, and the library is small enough to drive from a scratch program with no build file. Being already present meant no install step at all.
- What got in the way
- There is no bundled command-line entry point, so a syntax check requires writing and compiling a few lines of code rather than running a validator. Fine as a fallback, clumsy as a first choice.