XooCode(){

WinAction

WinAction is an AchieveAction subtype. Property: loser (Person — the defeated party). Mirror of LoseAction.

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

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

schema.org/WinAction
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "WinAction",
  "agent": { "@type": "Person", "name": "Sam Xoo" },
  "loser": [
    { "@type": "Person", "name": "Second place" },
    { "@type": "Person", "name": "Third place" }
  ]
}
</script>

Minimal valid version

The smallest markup that still produces a valid WinAction 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/WinAction (minimal)
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "WinAction",
  "agent": { "@type": "Person", "name": "Winner" },
  "loser": { "@type": "Person", "name": "Loser" }
}
</script>

Google rich results this unlocks

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

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

    loser as a sentence

    Wrong
    "loser": "Everyone else"
    Right
    Person node(s)

    Typed Person nodes let the knowledge graph attribute results correctly.

Schema properties in this example

About the example data

Sam Xoo winning the Thunderdome Runners half-marathon title.

Comments

Loading comments...

Leave a comment