I only provide JSON-LD because Google recommends it.
Schema markup informs the search engine precisely what your content is trying to convey on your web page. It converts unstructured data into structured data. Adding schema will help the search engine crawl better, raising the website's ranking while keeping other best practices of SEO in mind.
If you've ever used rich snippets, you'll understand exactly what schema markup is all about. The schema markup told the SERP to display a schedule of upcoming hotel events. Google loves JSON-LD format most.
Why is schema important in SEO? This microdata helps search engines better understand your content so that they can return more detailed and informative results for searchers.
Types of Schema you will get: