Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.trueparser.com/llms.txt

Use this file to discover all available pages before exploring further.

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

{
  "schema_version": "1.0",
  "document": {},
  "warnings": [],
  "content": []
}

Document fields

FieldNotes
source_file, document_nameSource file and display name.
formatConcrete source format such as odt, ods, or odp.
format_familyPublic family marker such as text_document, spreadsheet, presentation, drawing, formula, publication_package, data_table, layout_document, or odf_generic.
title, author, subject, companyDocument metadata fields.
created_at, modified_atTimestamps when available.
is_partialPublic completeness flag.
metadataAdditive document metadata.
page_count, sheet_count, slide_count, record_countSummary counts when available.

Universal content/block shape

Every public content record uses the same base shape.
FieldNotes
idStable record id.
typePublic record type.
pathPublic structural path.
parent_idParent record id.
depthStructural depth.
page_numberPage-like reference when applicable.
source_refProvenance object.
is_inferredInference marker.
chunk_hintPresent only when you request it.
textSearchable text projection.
attributesOpenDoc-specific structured data.
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

{
  "schema_version": "1.0",
  "document": {
    "source_file": "sample.ods",
    "document_name": "sample.ods",
    "format": "ods",
    "format_family": "spreadsheet",
    "is_partial": false,
    "metadata": {},
    "sheet_count": 1
  },
  "warnings": [],
  "content": [
    {
      "id": "blk_0001",
      "type": "section",
      "path": "content.xml",
      "parent_id": null,
      "depth": 0,
      "page_number": null,
      "source_ref": null,
      "is_inferred": false,
      "text": "Sheet1",
      "attributes": {}
    }
  ]
}
Last modified on April 28, 2026