XooCode(){

SpreadsheetDigitalDocument

SpreadsheetDigitalDocument is a direct DigitalDocument subtype for spreadsheets — XLSX, Numbers, Google Sheets, ODS. No unique properties.

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

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

schema.org/SpreadsheetDigitalDocument
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "SpreadsheetDigitalDocument",
  "name": "Xoo Code Shop — 2026 inventory",
  "encodingFormat": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
  "contentUrl": "https://xoocode.com/internal/inventory-2026.xlsx",
  "dateModified": "2026-04-14"
}
</script>

Minimal valid version

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

Google rich results this unlocks

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

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

    SpreadsheetDigitalDocument for tabular data in HTML

    Wrong
    SpreadsheetDigitalDocument on a Table in a web page
    Right
    Table (WebPageElement subtype) for in-page tables; SpreadsheetDigitalDocument for downloadable spreadsheet files

    The two types cover different surfaces.

About the example data

The 2026 Xoo Code Shop inventory spreadsheet.

Comments

Loading comments...

Leave a comment