Structured data
Defined fields with types and constraints. Data that does not fit is rejected when it is written.
- Rows and typed columns
- Enforced by the database
- Queried with SQL
- Aggregates are exact and fast
Structured data carries its schema in the database. Unstructured data carries its meaning in language, layout and pixels — and most company knowledge lives there.
This guide defines the three kinds of data precisely, places real formats on a single scale, shows how each is stored and queried, gives the cited figures on how much data is unstructured, and walks through how AI reads values out of documents into typed tables a database can enforce.
Updated · 6 sources
Structured data follows a schema defined before it is stored — rows and typed columns a database enforces and SQL can query. Unstructured data has no predefined data model: emails, contracts, PDFs, scans, audio and video carry their meaning in language and layout. In structured vs unstructured data, the practical difference is who does the interpreting: the database for the first, a person or an AI model for the second. Semi-structured data — JSON, XML — sits between them, describing itself with keys and tags.
The two kinds differ in when the schema is applied, what a query looks like, and what it costs to get a reliable number out.
Defined fields with types and constraints. Data that does not fit is rejected when it is written.
Content whose meaning is expressed in language, layout, images or sound. Nothing checks its shape on the way in.
Semi-structured data — JSON (RFC 8259) and XML (W3C XML 1.0) — carries its own labels. A program can parse it without guessing, yet two records in the same file may have different keys, so the schema is enforced by whoever reads it.
An invoice is unstructured to a database and highly structured to an accounts clerk. The values are all there; they are just expressed as positions, labels and sentences on a page instead of columns.
“Unstructured” describes the storage, not the content. A database sees one file; the page holds dozens of typed values. The work of document AI is to recover that structure and give each value a type and a source.
Estimates come from analyst firms and vary with what is counted — new data or all stored data, files or bytes. These are the figures with a traceable report behind them.
How to read these numbers. Both reports were sponsored by storage or content vendors — Box and Seagate — and the widely repeated “80% unstructured” line is usually quoted without a named report. Every estimate agrees that most company data is unstructured; the exact share depends on definitions, so quote a named report rather than a rounded slogan.
Each store is built around when the schema is applied. The newer designs exist to bring the two kinds closer together.
AWS’s own comparison sums up the two ends: large collections of structured stores are data warehouses, large collections of unstructured stores are data lakes. The lakehouse design, set out by Armbrust and colleagues at CIDR 2021, argues for one copy of the data in open formats with warehouse-grade management layered over it.
The conversion is a pipeline, and each stage has its own failure mode. Skipping validation or source tracking is how extracted data loses the trust that made the table worth building.
Bring in files and messages, recognise text in scans, and decide what each document is — invoice, contract, claim form — so the right schema applies.
A model reads the document and returns named, typed fields that match a declared schema.
Check types, required fields and business rules — totals reconcile, dates are in range.
Low-confidence or failed values go to a person, with the source page open.
Typed rows land in a table, each value linked back to the page it came from.
The extraction stage is covered in depth in structured data extraction with LLMs; the review stage in straight-through processing.
Most questions a business asks of its documents fall into one of three shapes. The shape, not the file format, decides the approach.
What do you need to do with the information?
On Botminds the same data model serves both kinds: documents are read into typed records, and the documents themselves stay searchable for agents.
Read the full design in AI data modeling, and learn the collection kinds in the Academy lesson on collection types.
In structured vs unstructured data, structured data follows a schema defined before it is stored, so a database can enforce types and SQL can query it. Unstructured data has no predefined model — its meaning is in language, layout, images or sound — so it must be searched or read, by a person or an AI model.
Structured: a customer table, a general ledger, an inventory list, sensor readings in a time-series table. Unstructured: contracts, emails, scanned forms, call recordings, chat transcripts, slide decks and photos of damage on an insurance claim.
Data that labels itself without a fixed schema, such as JSON and XML. Keys and tags make it parseable, but records can differ in shape, so consistency is checked by the program reading it rather than by the store.
Stored as a file, a PDF is unstructured: a database cannot query its contents. Many PDFs — invoices, statements, forms — hold highly structured content that AI extraction can recover into typed fields.
An IDC white paper sponsored by Box (2023) puts it at 90% of company data. Figures vary with definitions, and the commonly quoted 80% rarely names its source, so cite a specific report.
Two ways. Retrieval indexes documents so a model can find and cite passages when answering. Extraction reads named values out of documents into structured records that systems can total, check and act on.
Schema on write checks data against a defined structure as it is stored — the relational approach. Schema on read stores raw data and applies a structure only when a query or program reads it — the data lake approach.
Yes. Lakehouse designs keep both in open formats on object storage, and document platforms keep each extracted value linked to the file it came from, so the record and its source travel together.
Bring one process and its documents. We’ll show you the agents, the controls and the record, running on your data.