Skip to main content

OpenDoc

Use this contract for OpenDocument and related package outputs. It is designed for open-format content pipelines that need consistent extraction across ODT, ODS, ODP, and related packages for interoperability, conversion, content normalization, and archive-ready publishing workflows.

Top-level envelope

Document fields

Universal content/block shape

Every public content record uses the same base shape. Common record types include section, heading, paragraph, list, list_item, code, table, row, and cell.

Warnings

  • warnings is always present.
  • Use plain strings.
  • Keep warnings readable.
  • Do not use warnings to replace structure or provenance.

What clients can rely on

  • The contract stays compact and stable.
  • Structure stays explicit.
  • attributes holds family-specific details.
  • Optional fields may be omitted when they do not apply.
  • The public contract does not expose internal transport or worker details.

Example

Last modified on April 28, 2026