Hello, great to see another plugin developer here! Unfortunately, you’ve done some work that you didn’t need to, because Q2A already has schema.org markup in v1.8 (currently beta).
But your plugin will still work on v1.7 so hopefully it’s useful for some people in the meantime.