Google allows the use of different formats of microdata on the page
Google has no objection to the use of different formats of microdata on the same page. This was stated by the representative of the search Gary Illyes in response to a question on Twitter.
Illyes asked if the website face manual penalties for spam in the data markup, if the same content is marked using two different formats. For example, JSON-LD and microdata.
He replied:
No, shouldn't be a problem.
In the same discussion of well-known Western SEO consultant Alan Bleiweiss noted that the formats must be compatible. Otherwise, you can get conflicting content.
just make sure the two are consistent. I've seen conflicting content there
Recall that among all formats of structured data Google gives preference to the markup of JSON-LD.