We can probably validate some of the citoid json configuration messages.
Related to T127354 and T394390 and some other conversations but basically citoid is too hard for users to install at present.
JSONSchema validation might help a little though the main issue tends to actually be the json inside the template data tags, but because there's a mix of content type that's a bigger can of worms.
Ideally: I would want to check that any templates added to MediaWiki:Citoid-template-type-map.json at least contains the maps:citoid key in the templatedata before allowing save (or at least warn people!) This seems to be a common failure mode. But this is more complicated because we'll need to fetch the content from those other pages to check them in mediawiki (currently only checked on the front end)