JSON-LD is a combination of both. So, it’s a code snippet that lets you know what price belongs to what product or which zip code belongs to what enterprise. As an alternative to adding schema.org attributes to individual features over a website page, you give a tiny JavaScript code block https://addons.prestashop.com/de/seo-suchmaschinenranking-optimization/31857-automatische-google-rich-snippets-json-ld-opengraph-seo.html