How to add rich snippets to collection page?

Hi,

Struggling to add a rich snippet json file to the collection pages. Have the json file but can’t work out where it goes?

Tried adding it as a custom html in a custom collection template didn’t work.. Tried adding it in the template section of the edit code custom collection page.. didn’t work and tried on product pages.

Page url for reference - https://spiritualshopuk.com/collections/tarot-cards

Code -

Snippets section then collection-template.liquid is the right section for this code?

Also the code below is correct for shopify to only select that collection for this schema? keep getting errors. Also going to note cant see any schema in the current snippet.

{%- if collection.handle == “Tarot - Oracle Card Collection” -%}