TipAction
TipAction is a TradeAction subtype for gratuity payments. Property: recipient.
Full example of schema.org/TipAction json-ld markup
The markup is verified as valid with Rich Results Test from Google.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "TipAction",
"agent": { "@type": "Person", "name": "Diner" },
"recipient": { "@type": "Person", "name": "Server" },
"price": 150,
"priceCurrency": "DKK"
}
</script>Minimal valid version
The smallest markup that still produces a valid TipAction 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.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "TipAction",
"recipient": { "@type": "Person", "name": "Tip recipient" }
}
</script>Google rich results this unlocks
TipAction 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). TipAction becomes the trunk that the primary type branches off viamainEntityorbreadcrumb. Include it on every page as the backbone of your markup.
Common TipAction 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.
- 01
TipAction for a service payment
WrongTipAction for a taxi fareRightPayAction for fares; TipAction only for gratuity on topTip is specifically voluntary; mandatory payments use PayAction.
Schema properties in this example
About the example data
Tipping at the NordicKitchen Studio dinner.
Comments
Loading comments...