Contract data extraction: what to agree before a pilot
Which contract fields to agree first, why each needs a type, who approves the schema, the hard cases, and a 10-contract exercise before a pilot.
You know which contract terms matter. Turn them into fields with our help: a model drafts the list, and you approve it.
Which supplier contracts can we end on less than 30 days' notice?
To answer that for every contract, with the clause behind each answer, the notice period has to become a field. It is read out of each contract, stored as a duration and kept next to the sentence it came from. Filling such fields is contract data extraction, the part of automated contract review this article covers.
Typed fields sit alongside search over the text and add a filter, which returns every contract whose stored value meets the condition. A value that was never stored stays invisible to the filter, so the list of fields is the first thing to agree.
Agree the fields before the first contract
Start from the questions your team asks, and work back to the fields that answer them:
- Which contracts give us under 14 days to pay? The payment term, as a duration.
- Which contracts are governed by Polish law? The governing law, as a country code (with a limit, below).
- What does each statement of work pay per month? The monthly fee, as an amount with its currency.
- Which NDAs bind us for over five years? The confidentiality period, as a duration.
Then write down which document types carry which fields. A statement of work under a master agreement has terms the master agreement does not, such as a monthly fee for one engagement. An NDA has a confidentiality period and a survival period and no payment term at all. An amendment changes named terms of another contract, and the useful field there is which terms it changes.
Keep the first list short: about eight fields, the ones your team asks about most. For services contracts, a first list might be counterparty, effective date, payment term, notice period, acceptance period, warranty period, hourly rate and governing law. Every field you add is one more definition to write and one more column someone has to check.
Give every field a type
Stored as text, "Net 30", "thirty (30) days from the invoice date" and "within one month" are three strings, and no filter can put them in order. So every field gets a type, and the type decides what can be asked of it:
- A duration - payment term, notice period, acceptance period, warranty period - is a number of days, months or years, so a filter can ask for under 30 days or over six months.
- Money is an amount with a currency code. An amount in euros is never compared with an amount in złoty.
- A date is stored as a date, so "effective after 1 January 2026" is a condition a filter can check.
- A country is represented by a code. For governing law, the field holds the country whose law or courts govern the contract, so Polish law has one code however the contract words it. A country code cannot separate legal systems inside one country: English and Scots law share the code of the United Kingdom, and New York and Delaware law share the code of the United States. The quote keeps the contract's own words, so a reviewer can still tell them apart.
- A party is text, and one contract can have several.
Each field also gets a one-sentence definition of what it holds and what it leaves out. For a duration, write down what the period runs from, such as the invoice date or its receipt, whether its days are working or calendar days, and how a month converts to days.
If the hourly rate field holds a single rate per hour of service, and a table of rates by role or level is outside it, contracts with rate tables drop out of the rate filter. That one sentence decides it.
A model proposes the schema, a person approves it
A model can read a sample of your contracts and propose the fields with their types and definitions, the schema, which gives you a first draft quickly. In August 2026 we measured a schema built by a model alone on real company documents, and it scored weakly.
So the schema is built under human control: a model proposes it, and a person who knows the domain approves it. In practice that is a lawyer or a contract manager who can say in one sentence what each field holds and what it leaves out. They approve each field's name, type and definition, and a field that is added or changed later should come back to them. In a pilot, we go through the model's draft with that person.
Every value with its quote
When a value is extracted, the passage it came from is kept with it. A reviewer who sees "notice period: three months" next to the sentence it was read from can confirm it without opening the contract and hunting for the clause.
A quote also turns a disagreement about a value into a disagreement about a sentence, which two people can settle by reading it. A year later, it gives an auditor a line to follow back to the contract.
A value that fails a check goes to a person before anyone relies on it.
The hard cases
Some contracts do not give up their terms easily. Before a pilot, look for these four cases in the contracts you plan to use:
- Terms held in tables. Rate cards by role, fee schedules, price lists. A field defined as one value per contract cannot hold a table, so a filter on that field does not see these contracts.
- Terms defined by reference. "Payment as set out in Annex 2", "the notice period in clause 14.3 applies". The quote has to come from where the value is written. When that is another document, such as the master agreement, a person reads the two together.
- Amendments. The amendment's own field records which terms it changes. The current value of a changed term comes from reading the contract and its amendments together, and a person does that reading.
- Poor scans. A value read from a bad scan is a guess with a quote attached, and the quote carries the same recognition errors as the value. Check such values against the page image.
Where this is the wrong tool
WislaSearch does not match one document against another, such as an invoice against its contract or order, or an amendment against the contract it changes. If that matching is your main job, it stays with a person, and the values and their quotes are what that person works from.
With 50 contracts and a stable set of questions, a spreadsheet filled in by a paralegal, with the clause number next to each value, may well be cheaper and good enough.
Field extraction is also a different job from contract lifecycle management. Drafting, negotiation, approvals and signature workflows belong to other software. Extraction is about what the signed documents say.
Where to start
Take 10 contracts of one type, and include the awkward ones you know of, such as an amended contract, a rate table or a poor scan. Ask the person who would approve the fields to write down the questions your team asks most about these contracts, then answer a few of them by hand, with the quote and the clause number for each, and note where they hesitated.
The hesitations are your hard cases, and the sheet is your test set. In a pilot, a model drafts the fields from the same contracts, that person approves them, and the extracted values and their quotes are compared with the sheet, one by one.
How WislaSearch does it
You connect WislaSearch to Claude, or another AI that supports MCP (the Model Context Protocol, through which an assistant calls outside tools), and ask about your contracts from there. The schema, which WislaSearch calls an ontology, is built under human control: a model proposes the fields and their types, and a person approves them. Each value comes with its quote, a value that fails a check goes to a person, and the fields sit alongside search over the full text.
If you want to try it on your own documents, bring 10 contracts of one type, with the sheet if you have made one, and we will run a pilot on them with you.

