This issue https://github.com/ollama/ollama/issues/6237 makes it seem like particular-schema support is coming to ollama potentially soon. Apparently they already support general grammars internally and it's just a matter of them doing the plumbing to expose more fine-grained control.
You mean adding system messages like "you're the best in the world at json, to the point that all you are capable of replying to prompts with is well formed json" might be unneeded soon? Amazing!
Split off from https://github.com/jdrbc/podly_pure_podcasts/issues/18
It would be nicer to force the model output to adhere to a schema.