RsvpResponseType
RsvpResponseType is a 3-value Enumeration used on RsvpAction.rsvpResponse. Values: RsvpResponseYes, RsvpResponseNo, RsvpResponseMaybe. Gmail's confirm-your-attendance inbox card matches against these URIs exactly.
Full example of schema.org/RsvpResponseType 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": "RsvpAction",
"agent": { "@type": "Person", "name": "Dr Henrik Lund" },
"object": { "@type": "Event", "name": "Dunmore 1945 Anniversary Dinner" },
"rsvpResponse": "https://schema.org/RsvpResponseYes"
}
</script>Minimal valid version
The smallest markup that still produces a valid RsvpResponseType 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": "RsvpAction",
"rsvpResponse": "https://schema.org/RsvpResponseYes"
}
</script>Google rich results this unlocks
RsvpResponseType 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). RsvpResponseType becomes the trunk that the primary type branches off viamainEntityorbreadcrumb. Include it on every page as the backbone of your markup.
Common RsvpResponseType 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
rsvpResponse as 'Yes'
Wrong"rsvpResponse": "Yes"Right"rsvpResponse": "https://schema.org/RsvpResponseYes"Gmail's RSVP handler only fires on the canonical URI values.
Schema properties in this example
Also mentioned in 1 other example
RsvpResponseType also appears in RsvpAction. See the full RsvpResponseType schema page for every reference.
About the example data
The three responses Dr Henrik Lund chooses from for the Dunmore anniversary-dinner invitation.
Comments
Loading comments...