XooCode(){

LeaveAction

LeaveAction is an InteractAction subtype. Property: event (Event — the event being left). Mirror of JoinAction.

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

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

schema.org/LeaveAction
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "LeaveAction",
  "agent": { "@type": "Person", "name": "Jane Xoo" },
  "object": { "@type": "Organization", "name": "Dunmore Foundation Board" },
  "startTime": "1955-06-30"
}
</script>

Minimal valid version

The smallest markup that still produces a valid LeaveAction 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/LeaveAction (minimal)
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "LeaveAction",
  "object": { "@type": "Organization", "name": "Example org" }
}
</script>

Google rich results this unlocks

LeaveAction 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). LeaveAction becomes the trunk that the primary type branches off viamainEntityorbreadcrumb. Include it on every page as the backbone of your markup.

Common LeaveAction 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

    Mixing event and object

    Wrong
    event with an Organization node
    Right
    For leaving an Event use event; for organization/community membership use object

    event is typed Event; object accepts any Thing.

About the example data

Leaving the Dunmore Foundation board after 10 years.

Comments

Loading comments...

Leave a comment