XooCode(){

SendAction

SendAction is a TransferAction subtype for sending an object to a recipient. Properties: recipient and deliveryMethod (DeliveryMethod enum).

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

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

schema.org/SendAction
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "SendAction",
  "agent": { "@type": "Organization", "name": "Xoo Code" },
  "object": { "@type": "Book", "name": "Xoo Code Handbook v3" },
  "recipient": { "@type": "Person", "name": "Dr Henrik Lund" },
  "deliveryMethod": "https://schema.org/ParcelService"
}
</script>

Minimal valid version

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

Google rich results this unlocks

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

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

    deliveryMethod as free text

    Wrong
    "deliveryMethod": "mail"
    Right
    "deliveryMethod": "https://schema.org/ParcelService"

    DeliveryMethod is a closed enum.

About the example data

Shipping the Xoo Code handbook to a Dunmore researcher.

Comments

Loading comments...

Leave a comment