Do you support JSON?

Since JSON is a subset of YAML, you are free to provide your transactions in JSON.

Just do

apid check -c file.json