XooCode(){

InviteAction

InviteAction is a CommunicateAction subtype for invitations. Property: event (Event).

Full example of schema.org/InviteAction json-ld markup

The markup is verified as valid with Rich Results Test from Google.

schema.org/InviteAction
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "InviteAction",
  "agent": { "@type": "Organization", "name": "Dunmore Archive" },
  "recipient": { "@type": "Person", "name": "Dr Henrik Lund" },
  "event": { "@type": "Event", "name": "1945 Anniversary Dinner", "startDate": "2026-04-23" }
}
</script>

Minimal valid version

The smallest markup that still produces a valid InviteAction entity. Use it as the floor. Reach for the advanced example above when you want search engines and AI agents to understand more about your content.

schema.org/InviteAction (minimal)
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "InviteAction",
  "event": { "@type": "Event", "name": "Example event" }
}
</script>

Google rich results this unlocks

InviteAction is a structural type. It does not produce a rich result on its own.

Its value comes from combining it with a primary type whose markup earns a rich result (Article, Product, Event, and so on). InviteAction becomes the trunk that the primary type branches off viamainEntityorbreadcrumb. Include it on every page as the backbone of your markup.

Common InviteAction mistakes

Mistakes that pass validation but silently fail to earn rich results or mislead consumers walking the graph. Avoid these and your markup will be ahead of most sites in the wild.

  1. 01

    Missing recipient

    Wrong
    InviteAction with only event
    Right
    Include recipient — invite is directed

    An invitation without a recipient can't be rendered in an inbox card.

About the example data

Sending Dr Henrik Lund an invitation to the 1945 anniversary dinner.

Comments

Loading comments...

Leave a comment