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.
SQL
Use this contract for SQL statement results. It is designed for database review and automation workflows where teams need statement parsing, lineage analysis, migration assessment, governance checks, and schema-aware documentation from a stable public contract.Top-level envelope
Document fields
| Field | Notes |
|---|---|
source_file, document_name | Source file and display name. |
format | Always sql. |
format_family | Always sql_script. |
document_id, content_hash | Optional stable identifiers. |
mime_type | MIME type when available. |
title, author, subject, company | Cross-engine document metadata fields. |
created_at, modified_at | Timestamps when available. |
is_partial | Public completeness flag. |
metadata | Additive document metadata. |
record_count, statement_count, successful_statement_count, failed_statement_count, read_statement_count, write_statement_count, define_statement_count, admin_statement_count, unknown_statement_count, relationship_count, lineage_edge_count, diagnostic_count, object_count | Summary counts when available. |
confidence, complexity_score, sensitivity_hit_count | Public summary values when available. |
status, completeness, dialect | Public extraction state. |
dialect_signals, object_registry, options | Family-specific public metadata. |
Universal content/block shape
Every public content record uses the same base shape.| Field | Notes |
|---|---|
id | Stable record id. |
type | Public record type. |
order | Deterministic order. |
path | Public structural path. |
parent_id | Parent record id. |
depth | Structural depth. |
page_number | Always null for SQL. |
source_ref | Provenance object. |
is_inferred | Inference marker. |
warnings | Record-local notes. |
content_hash | Optional hash. |
text | Searchable text projection. |
attributes | SQL-specific structured data. |
statement, entity, relationship, lineage_edge, and diagnostic.
Warnings
warningsis always present.- Use plain strings.
- Keep warnings human-readable.
- Preserve recoverable parsing notes without hiding them.
What clients can rely on
- Statement order stays stable.
- Entity, relationship, and lineage records stay distinct.
dialectand other summary values stay explicit.attributescarries SQL-specific details.- The public contract does not expose internal transport or worker details.

