structured contract data
Structured Clause Tree vs Flat-Text Contracts: Why the Data Model Matters
A contract saved as a Word file or a PDF is, to any piece of software, just text: paragraphs, a few bold headings, page breaks. A contract held as a structured clause tree is different. Each clause becomes a discrete object with a type (indemnity, limitation of liability, termination for cause), a set of properties (a cap amount, a notice period, which party it binds), and a stable identifier a system can point to and reason about. Flat text has to be searched. A clause tree can be queried. The one thing people get wrong is assuming these are the same feature with different names. Highlighting the word "indemnify" in a PDF is not the same as knowing the paragraph it appears in is an indemnity clause, uncapped, running in favour of one party only. (Adira, which publishes this guide, builds its review and drafting product on a structured clause core. This explainer describes what that kind of data model actually does, including places where every version of it, ours included, still has real limits.)
This distinction sounds like plumbing, and mostly it is, but plumbing decides what a contract tool can honestly promise. Flat text can be searched faster and formatted nicely. A clause tree can be edited clause by clause, built into a clause library that actually knows what each entry is, queried across a whole portfolio, and handed to an AI model as something more reliable to reason over than raw paragraphs. It also costs something to build and adopt, and it does not change what a court looks at when two parties disagree about what they signed. All of that is covered below, honestly, not as a sales pitch.
What flat text actually is, and what changes when a contract is structured
A Word document or PDF is fundamentally a rendering instruction set: this font, this indent, this paragraph starts here. Software reading it sees a stream of characters and formatting codes. It does not natively know that paragraph 14.2 is a termination clause any more than it knows paragraph 3.1 is a definitions section. Everything a flat-text tool "understands" about a contract, a search hit, a highlighted term, a table of contents, is a formatting convention or a keyword match layered on top afterwards.
A structured clause tree parses that same contract once and turns it into typed, addressable records. Each clause carries a category (limitation of liability, say), the specific values that matter for it (the cap figure, whether it is mutual, what carve-outs apply), a link back to the exact source text, and a position in the document's hierarchy, so the system knows this clause sits inside Section 14, under Termination. A tool reading that record is no longer parsing prose and guessing; it already knows the shape of what it is looking at.
The distinction that trips people up: a tool that finds every contract containing the word "indemnify" is doing flat-text search, however fast or well-formatted the results look. A tool that can answer "show every contract with an indemnity clause that has no liability cap" is doing something structurally different, because "has no cap" is a property of a typed object, not a string to search for. No amount of better search makes the first tool capable of the second question.
Why it matters: four things structuring makes possible
Clause-level editing. In a flat document, changing one clause means editing inside the whole file and hoping formatting, numbering and cross-references survive. In a structured system, you open, edit, and save one clause object, and the system re-renders the full document correctly because it knows where that clause sits.
A clause library that is actually a library, not a folder. A folder of "approved NDA clauses" saved as separate Word snippets has no idea what each snippet is until a person reads it. A structured clause library knows each entry's type and which contracts it has been used in, so "give me our standard indemnity clause, mutual, capped at 12 months' fees" is a lookup, not a hunt through old contracts. More on this in Clause Library vs Template Library.
Precise redlining. Structural redlining, tracking a change at the level of one clause object rather than a raw text diff, produces a cleaner comparison and lets a tool understand what kind of change was proposed, a cap raised from 12 to 24 months, not just "some numbers changed somewhere." See What Is Redlining for how this differs from track changes and AI-suggested edits.
Obligation extraction and portfolio analytics. "Pay within 30 days," "renew automatically unless either party gives 60 days' notice," "maintain insurance of at least ₹1 crore," these are obligations buried inside clause text. A structured system pulls them out as tracked records, because it already knows which clause is a payment-terms clause and which is an auto-renewal clause, and the same stored properties answer portfolio-wide questions like "show every active contract with an uncapped indemnity." Flat text search can find one sentence in one document. It cannot turn that sentence into a dated obligation, or a queryable value across hundreds of contracts, without a person reading each one.
The trade-offs: what structuring actually costs
None of this is free.
Structuring effort. Turning a contract into a clause tree means the system has to correctly identify what each paragraph is, a genuinely hard parsing problem, not a formatting exercise. A well-drafted, clearly numbered contract structures cleanly; one with unusual formatting or clauses mixing two obligations in one sentence is harder to classify, and the system has to decide whether to force a best guess or flag it for a human. The honest tools flag it. Ones that always produce a clean-looking tree, on every document, are usually forcing classifications quietly, worse than not structuring at all, because a wrong classification looks exactly as confident as a right one.
Import fidelity. This matters most for legacy contracts, years of signed agreements sitting as PDFs and scanned images before you adopted any structured tool. Extraction accuracy on old, inconsistently formatted contracts is measurably lower than on one drafted directly inside a structured system. A team that imports 500 legacy contracts and trusts the resulting analytics without spot-checking a sample is trusting an accuracy rate it never measured. Treat a fresh import like a junior reviewer's first batch: check a sample against the source documents before relying on aggregate numbers.
What the data model does not change: the executed document still governs
This is the limit a vendor pitch is least likely to mention. A structured clause tree is a working representation built for tooling: editing, search, analytics, drafting assistance. It is not, and cannot become, the legal document itself.
Under Indian evidence law, when a dispute is about what a contract says, the court's starting point is the document the parties executed, not any internal representation software built from it. Section 91 of the Indian Evidence Act, 1872 states plainly:
"When the terms of a contract, or of a grant, or of any other disposition of property, have been reduced to the form of a document... no evidence shall be given in proof of the terms of such contract... except the document itself, or secondary evidence of its contents in cases in which secondary evidence is admissible."
Read the section on India Code or Indian Kanoon. This is the "best evidence rule": the executed document controls, and nothing else is evidence of its terms except the document itself or properly admissible secondary evidence of it. The Bharatiya Sakshya Adhiniyam, 2023, which now governs evidence in India, carries the identical rule forward in Section 94, using near-identical wording. Read it on Indian Kanoon.
Applied here, a clause tree is, by definition, a derived, secondary representation of the executed contract, however accurately it was built. If a dispute turns on exact wording, the reference point is the signed PDF or the paper original, not the structured record a tool extracted from it. This is also why import fidelity matters more than it might seem: a misclassified clause in an analytics dashboard is an inconvenience; a structured record a person mistakes for the operative text, when the two have quietly diverged, is a real risk.
A second layer applies to contracts that exist only electronically. Section 65B of the Indian Evidence Act, 1872 requires an electronic record offered as secondary evidence to carry a certificate confirming how it was produced (Indian Kanoon). The Supreme Court in Anvar P.V. v P.K. Basheer (2014) 10 SCC 473 held this certificate mandatory (Indian Kanoon), confirmed in Arjun Panditrao Khotkar v Kailash Kushanrao Gorantyal (2020), which also clarified that no certificate is needed if the original record itself, the file or device, is produced rather than a copy (Indian Kanoon). A structured clause tree is neither the original nor a certified copy; it is an extraction. If a dispute needs electronic evidence, the executed file is what gets produced, not the clause objects a tool built from it.
None of this makes structuring useless. A structured clause tree is correctly understood as a productivity and analytics layer sitting on top of the real contract, not a replacement source of truth for it. A well-built tool says this plainly rather than implying the structured version is authoritative.
Signs a "structured" claim is real
| Normal | Red flag | Why it matters |
|---|---|---|
| Each clause has a stable id and can be edited on its own | "Structured" turns out to mean full-text search with highlighting | Real querying needs typed properties, not string matches |
| An import flags clauses it could not confidently classify | The importer always produces a clean tree, on every document, with no flags | A tool that never says "not sure" on messy legacy contracts is guessing silently |
| The executed PDF or DOCX is kept as the reference copy alongside the structured version | The tool implies its structured data supersedes the original document | Under Section 91 of the Evidence Act and Section 94 of the Bharatiya Sakshya Adhiniyam, the executed document governs, not any internal parse of it |
| Extracted obligations link back to the exact source sentence | Obligations are listed with no link back to the clause text | An unverifiable extraction cannot be checked, the same problem as an unverifiable AI flag |
| Clause library entries show which real contracts they were approved in | Library entries have no history, just a category label | Without lineage you cannot tell whether a "standard" clause was ever actually negotiated |
Flat search versus a structured query, on the same question
The question: "Which of our vendor contracts have an indemnity clause with no cap on liability?"
Flat text, the common answer today: Search the repository for "indemnify" or "indemnification." On a portfolio of a few hundred vendor contracts, this returns most of them, since nearly every commercial contract has some indemnity language, so someone opens each result and reads it to work out whether it is capped, say 340 hits read by hand to answer a yes-or-no question about a dozen of them.
Structured, the better answer: Query the clause tree for clauses where type equals indemnity and cap is null, or exceeds a chosen threshold. Because "capped" and "the cap amount" are stored properties rather than words that may or may not appear near each other, the result is the actual dozen contracts that match, not the few hundred that merely mention the word. The answer was a lookup against a value already stored, not a fresh reading exercise.
How this connects to related capabilities
A structured clause core is not a feature on its own; it is what makes other capabilities reliable rather than approximate. Redlining built on clause objects, not a raw text diff, is what What Is Redlining calls structural redlining, and it depends entirely on the contract already being structured. A genuine clause library, distinct from a folder of saved templates, needs typed, addressable clauses searchable by property rather than filename, covered in Clause Library vs Template Library. AI-assisted review or drafting is also more reliable working from typed clause objects with known categories, rather than parsing raw prose fresh each time, because a model told "this is clause type X, here is its current cap" has less room to hallucinate a clause number than one asked to find the relevant paragraph itself.
US and global contrast
Structured contract data is not an India-specific idea; CLM vendors in the US and UK have built clause-level data models for over a decade, a standard feature category globally, not a local innovation. The evidentiary point is also not unique to India: most common-law systems, including the US, apply some form of best evidence or parol evidence rule favouring the executed document over secondary representations of it. What is India-specific is the exact mechanism, the wording of Section 91 and Section 94, and the added Section 65B certificate for electronic records. The lesson holds everywhere though: structuring is a tooling decision that sits underneath, not on top of, whatever your jurisdiction's rules say counts as proof of the agreement.
FAQ
Is a structured clause tree the same thing as full-text search or OCR? No. OCR turns a scanned image into text. Full-text search finds where a word appears in it. A structured clause tree goes further: it identifies what each clause is, stores its key properties as data, and links each one back to its source text, which is what makes querying by property, not keyword, possible.
Does structuring a contract change its legal validity or how enforceable it is? No. Structuring is a data representation, not a legal act. It does not change what a court treats as the operative document under Section 91 of the Indian Evidence Act or Section 94 of the Bharatiya Sakshya Adhiniyam. The executed contract remains the executed contract either way.
If I import old contracts, will they always be classified correctly? Not always. Any tool claiming perfect classification on messy legacy documents should be treated with scepticism. Expect lower accuracy on old scanned PDFs than on contracts drafted directly inside a structured system, and check a sample against source documents before trusting portfolio-wide numbers built from an import.
Do I actually need a fully structured system, or is search enough for my team? Depends on volume. To occasionally find one contract, search is often enough, and you can mark up a single document for free in Weave without adopting any structured system at all. To regularly answer questions across a whole portfolio, structuring is what makes that answerable rather than a manual reading exercise every time, and check for export lock-in and formatting fidelity before committing to a vendor.
How does a structured clause core make AI contract review or drafting more reliable? By giving the model typed, addressable objects to reason over instead of raw prose it has to parse fresh each time. A model told "this is an indemnity clause, here is its current cap" has a narrower, more checkable job than one asked to find and interpret the relevant clause itself, which reduces, without eliminating, the chance of a hallucinated citation or a misattributed flag.
This page explains what a structured clause tree is, what it makes possible, and what it costs, honestly enough to evaluate any vendor's claim about it, including ours. It does not tell you whether a specific tool's structuring is accurate enough for your contracts, or how a specific wording dispute will turn out. Check the tool's output against your source documents, and have a lawyer look at anything where real money or a real dispute is on the line. This is not legal advice.
Frequently asked questions
- Is a structured clause tree the same thing as full-text search or OCR?
- No. OCR turns a scanned image into text. Full-text search finds where a word appears in that text. A structured clause tree goes further: it identifies what each clause is, stores its key properties as data, and links each one back to its source text, which is what makes querying by property, not keyword, possible.
- Does structuring a contract change its legal validity or how enforceable it is?
- No. Structuring is a data representation, not a legal act. It does not change what a court treats as the operative document under Section 91 of the Indian Evidence Act, 1872 or Section 94 of the Bharatiya Sakshya Adhiniyam, 2023. The executed contract remains the executed contract either way.
- If I import old contracts, will they always be classified correctly?
- Not always. Any tool claiming perfect classification on messy legacy documents should be treated with scepticism. Expect lower accuracy on old scanned PDFs than on contracts drafted directly inside a structured system, and check a sample against source documents before trusting portfolio-wide numbers built from an import.
- Do I actually need a fully structured system, or is search enough for my team?
- Depends on volume. To occasionally find one contract, search is often enough, and you can mark up a single document for free in Weave without adopting any structured system at all. To regularly answer questions across a whole portfolio, structuring is what makes that answerable rather than a manual reading exercise every time, and check for export lock-in and formatting fidelity before committing to a vendor.
- How does a structured clause core make AI contract review or drafting more reliable?
- By giving the model typed, addressable objects to reason over instead of raw prose it has to parse fresh each time. A model told 'this is an indemnity clause, here is its current cap' has a narrower, more checkable job than one asked to find and interpret the relevant clause itself, which reduces, without eliminating, the chance of a hallucinated citation or a misattributed flag.
- If a dispute goes to court, does the structured clause data count as evidence of what the contract says?
- No, not on its own. Under Section 91 of the Indian Evidence Act, 1872 (and Section 94 of the Bharatiya Sakshya Adhiniyam, 2023), the executed document itself is what proves the terms of the contract. A structured clause tree is a derived extraction built for tooling, not a substitute for the signed document, and for electronic records tendered as secondary evidence, Section 65B still requires a certificate.
Sources
- Section 91, Indian Evidence Act, 1872, exclusion of oral by documentary evidence (Indian Kanoon)
- Section 94, Bharatiya Sakshya Adhiniyam, 2023, evidence of terms of contracts reduced to a document (Indian Kanoon)
- Section 65B, Indian Evidence Act, 1872, admissibility of electronic records (Indian Kanoon)
- Anvar P.V. v P.K. Basheer, Supreme Court of India, (2014) 10 SCC 473 (Indian Kanoon)
- Arjun Panditrao Khotkar v Kailash Kushanrao Gorantyal, Supreme Court of India, 2020 (Indian Kanoon)
- Indian Evidence Act, 1872 and Bharatiya Sakshya Adhiniyam, 2023 (India Code)
See how Adira drafts in your voice and reads contracts from your side.
Explore the showroomWorking through a contract like this? Weave is Adira’s free tool to read, mark up, and connect any contract in your browser — no account needed.
Try Weave — free