In many cases, you will want to extend or override Schema plugin output, the ideal way is to use built-in available filters to do so.

One of the most important filters in Schema plugin is theĀ schema_output filter.

Here is an example code:

There are many flexibility in this code since it allow you to modify almost every element in the schema output.

Want more flexible solution?

Check out Schema Premium plugin. It allows you to use more types on your content and map preperities to custom fields.