Friday, June 3, 2022

Announcing support for JSON-LD structured data

We are pleased to announce that Programmable Search Engine now includes support for JSON-LD structured data in addition to the many formats already supported.  This JSON-LD support includes:

We currently support JSON-LD annotations that include any of 42 Schema.org types descended from Event, ClaimReview, and EducationalOrganization. If you have other types that would be useful for your specific use case, please let us know in the Support Forum

Google recommends using JSON-LD for structured data whenever possible.

Examples of Using JSON-LD Restricts

From the Search Box

Use a simple, search the web engine, like this, and search for:

more:pagemap:broadcastevent-islivebroadcast:true

A more specific restrict like:

more:pagemap:event-name:new_years_day

searches for results with structured data events with a name starting with new years day, and returns fewer results. The results become more focused when the restrict is combined with other query terms, like “music”. We can also use more than one restrict to generate a very precise query, like:

more:pagemap:event-name:new_years_day more:pagemap:event-description:louisiana

Structured data queries like these work on any Programmable Search Engine. The structured data restricts can combine with the Search Engine’s site restricts to give a tightly-focused search.

Configured in the Search Engine

Here’s a search engine that uses restricts based on JSON-LD structured data to search YouTube. It includes two refinement selections:

  • Startdate in 2020

  • Live Event

 The values of the corresponding refinements are:

more:pagemap:broadcastevent-startdate:2020

more:pagemap:broadcastevent-islivebroadcast:true