Rights and contracts
Record-level license provenance: tracing one record to its permission
By SourceX Editorial · Reviewed by Noah Loul ·
9 sections
Short answer
Record-level license provenance means any single record can be traced by ID through its release, export run, source system, every transformation, the party it belongs to, the agreement governing that party's data, the clause covering the intended use and any privacy basis. Each hop must point to a document or system field. Where a hop rests on assumption, hold the record back.
Provenance trail
Record level license
Key takeaways
- A record is traceable only if every hop from release ID to governing clause points to stored evidence.
- Keep system access, privacy permission, ownership and licensing rights apart; each comes from a different document.
- Store pointers to versioned documents using PROV-O and ODRL style links, not copied clause text.
- Grade the evidence at each hop; the weakest hop decides whether the record ships.
- Test both directions: record to clause, and contract to every record it governs.
- Repair missing links, exclude missing permissions, and send clause readings to counsel.
How do you trace one dataset record to the permission covering its use?
Start from the record's ID in the released dataset and follow a chain of stored pointers back to its source: the release, the export run that pulled it, the source system and native record ID, each transformation applied, the account or party the record belongs to, the document that governs that party's data, the clause or permission that covers the intended use, and any privacy basis it depends on. Every hop needs a document or a system field, not a belief. Where a hop rests on an assumption, the record is not traceable and should be held back.
The test is concrete: pick any record ID and ask someone outside the data team to produce the governing clause within a set time, using only the map. If they can, the dataset has record-level license provenance. If they need to ask the person who built the export, it does not.
This page is written for the company that holds the records and wants to license them. It covers the map that makes the trace possible, how strong the evidence at each hop needs to be, and what to do with records whose chain breaks.
Which four permissions does a single trace have to keep apart?
A trace fails most often because it treats four different permissions as one. They come from different documents and can point in different directions for the same record.
At a glance
Which four permissions does a single trace have to keep apart
Holding all four for a record still leaves the release question: whether the record actually went out in the version the buyer received. The map closes that last gap with a release identifier.
- System access: who can export the record. An admin login proves this and nothing else.
- Privacy permission: whether personal data in the record may be processed for this purpose. Under the GDPR, where processing relies on consent, the controller must be able to demonstrate that the person consented, and controllers keep records of processing activities that state purposes and categories of data.
- Ownership: who holds title to the content. Records written by a customer, a reseller or a contractor may not belong to the company that stores them.
- Contractual licensing rights: whether the holder may grant a third party a license for model training. Customer agreements, data processing terms and vendor contracts can restrict this even where ownership and privacy are clear. Removing identifiers does not create this right.
The record to contract provenance map
Build the map as ten hops, each a stored field that points to evidence. Values in the example column are illustrative. Store pointers to documents, not copies of their text, so a contract amendment updates every record that points to it.
| Hop | Field stored per record | Illustrative value | Evidence it points to | Chain breaks when |
|---|---|---|---|---|
| 1 Release | release_id and record_id in that release | REL-2026-03 / r-000418 | Release manifest with checksums | The record ID is regenerated in each release with no crosswalk |
| 2 Export run | export_run_id and cutoff time | EXP-114, 2026-02-28 23:59 UTC | Export log with query, user and counts | The export was a manual download with no log |
| 3 Source record | source_system and native ID | Help desk ticket 88213 | Source system record, still retrievable | Native IDs were dropped during preparation |
| 4 Transformations | pipeline version and steps applied | deid v3.2; thread merge v1.4 | Versioned pipeline code and run log | Steps ran from an unversioned notebook |
| 5 Party | account or organization ID the record belongs to | Account A-2290 | CRM account record | Records were exported without their account link |
| 6 Authority holder | who may decide on licensing for this party's data | Company, as service provider to A-2290 | Ownership and role analysis per account type | Role is assumed rather than documented |
| 7 Governing document | agreement ID and version in force at collection | MSA v4 effective 2024-01-01 | Signed agreement in the contract system | The account signed an older version nobody located |
| 8 Permission reference | clause or permission covering the use | MSA v4 section 9.3 (aggregated, de-identified use) | Clause text and counsel's reading of it | The clause covers analytics but not third-party licensing |
| 9 Privacy basis | basis and its evidence, where personal data remains | Consent record with capture date and source | Consent or processing record | The basis covers support, not model training |
| 10 Exclusions and notices | opt-out, termination or deletion flags with dates | None as of release cutoff | Opt-out log and contract termination list | A later termination was never propagated to records |
How should the map be stored so it still works after the contracts change?
Store each hop as a typed link between identifiers, using vocabularies that other tools already understand, and keep the evidence documents in systems that version them. Copying clause text into each record looks thorough but goes stale the first time a contract is amended.
For the lineage hops, W3C PROV-O provides the relationships: an entity was derived from another entity, was generated by an activity, and was attributed to an agent. A prepared record is derived from the source record, generated by a pipeline run, and attributed to the company that supplied it. For the permission hops, the W3C ODRL Information Model expresses a policy as permissions, prohibitions and duties, where each rule has a target asset and optional assigner and assignee parties. An ODRL policy per governing document, targeted at the records it covers, turns hops 7 and 8 into something a pipeline can check.
The MLCommons Croissant 1.1 specification shows how to attach provenance at the finest level. Beyond dataset and field level, it describes data-level provenance using its annotation mechanism, where an annotation field holds provenance for another field and its equivalentProperty is set to a PROV-O property such as wasAttributedTo. It also attaches data use conditions to a whole dataset or part of one through schema.org usageInfo. For releases, the OpenLineage dataset version facet records a datasetVersion string, which gives hop 1 a standard home in lineage tooling.
Source systems sometimes hold the privacy evidence already. Salesforce's ContactPointTypeConsent object records consent for a contact point type such as email or phone, and its Consent Write API accepts a capture date, a capture source and a data use purpose that must match an existing purpose. Point hop 9 at those records rather than restating them.
How strong does the evidence at each hop need to be?
A record is only as traceable as its weakest hop, so grade every hop and let the lowest grade decide. Grading also tells reviewers where to spend their time: one weak hop shared by thousands of records matters more than many weak hops on a handful.
At a glance
How strong does the evidence at each hop need to be
Set the minimum grade per hop before the trace test. Hops 7 to 9 usually need grade A or B for a record to be released; hops 2 and 4 can sometimes accept grade C if the pipeline is versioned from that point on and the gap is disclosed.
- Grade A, signed and specific: a signed document or system record that names this party and states the permission, such as an executed agreement with a clause on de-identified use.
- Grade B, system of record: a field captured at the time in the source system, such as a consent record with capture date and source, or a contract ID on the account.
- Grade C, policy without linkage: a policy or template that applied in general, with no record showing it applied to this party.
- Grade D, inference: a reasonable belief, such as all customers signed the standard terms, with no document behind it for this account.
- Grade E, nothing: no evidence located. The record is excluded until something is found.
Running the trace test on sampled records, forward and backward
Test the map in both directions on a random sample before any release. Forward traces start from a record and end at a clause; backward traces start from a contract and must find every record it governs, which is the direction that matters when a customer terminates or objects.
Draw record IDs at random from the release, stratified by source system and account type, because rights problems cluster. For each forward trace, record the time taken, the grade at each hop and the first hop that failed. For backward traces, pick a sample of governing documents, list every record the map links to them, and check that count against the source system's own count of that party's records.
| Test | Starting point | Passes when | Common failure |
|---|---|---|---|
| Forward trace | A random record ID from the release | All ten hops resolve to evidence at or above the minimum grade | Hop 7 points to the current template, not the version the account signed |
| Backward trace | A governing agreement or account | Every record of that party is found and none are missed | Records from a merged or renamed account sit under the old ID |
| Change propagation | A termination or opt-out dated after collection | Affected records are flagged before the next release | Flags exist in the CRM but never reach the dataset |
| Transformation replay | A prepared record and its pipeline version | Re-running the recorded steps on the source record reproduces it | A manual fix was applied outside the pipeline |
| Release membership | A record ID and a buyer's release | The manifest shows whether the record shipped in that release | Records re-identified between releases with no crosswalk |
Worked example (illustrative): a support ticket from a reseller-managed account
All identifiers and counts here are illustrative. A software company preparing support tickets for licensing runs 200 forward traces. Most resolve cleanly: ticket, account, current master agreement with a clause permitting aggregated, de-identified use, and no opt-out.
Fourteen traces stop at hop 6. The tickets belong to end customers served through a reseller. The company stores the tickets, but its agreement is with the reseller, and the reseller's terms with its own customers are not in the company's contract system. Hop 7 can only reach grade D for these records.
The backward trace explains the scale. Starting from the reseller agreement, the map links about 9,000 tickets across several hundred end-customer accounts. The company excludes all of them from the first release, records the exclusion with its count, and opens a request to the reseller for the relevant terms. A second exception surfaces at hop 10: three accounts terminated after the export cutoff. Their records are flagged and removed before the release is cut, and the change log records why.
Which broken chains can be repaired before release, and which mean exclusion?
Repair a chain when the evidence exists and was simply not linked; exclude when the evidence does not exist or says no; escalate when the answer turns on how a clause is read. Counsel reviews the specific contracts, because whether a clause covers licensing for model training is a legal question about those words.
| Break | Repair | Exclude | Escalate |
|---|---|---|---|
| Native IDs dropped in preparation | Re-run preparation keeping a crosswalk to source IDs | If source records were deleted and cannot be matched | Not usually needed |
| Signed version of the agreement not located | Search the contract system and signature platform by account | If no signed version is found | If the account may have negotiated custom terms |
| Clause covers analytics, not licensing | Not repairable by data work | Default for the affected accounts | Counsel, to read the clause and any amendment |
| Third party authored or owns the content | Obtain the third party's terms or permission | Until that permission exists | Counsel, where ownership is disputed |
| Privacy basis covers a different purpose | Not repairable by data work | For records that keep personal data | Privacy counsel, on whether de-identified use changes the analysis |
| Termination or opt-out not propagated | Propagate flags and add a pre-release check | The flagged records, every release | Not usually needed |
What a licensing review will ask of your provenance map
A licensing review asks the same question as the trace test, at scale: for the records in scope, who had the authority to license them, and where is it written. When a company licenses selected records directly to SourceX, that rights review sits alongside contracting and preparation, all run by SourceX.
Delivery follows the company's approval of scope and terms and its signature; from then on the de-identified dataset may be used, sublicensed and distributed only as that agreement allows. SourceX de-identifies the records through approved processing routes. A map that already excludes the records with broken chains shortens that review considerably, and the first step is a short company assessment that needs no data upload.
Frequently asked questions
What is record-level license provenance?
It is the ability to take any single record in a dataset and show, from stored evidence, which source it came from, what was done to it, who had authority over it and which permission covers the intended use. Dataset-level documentation describes sources in general; record-level provenance proves the chain for each record.
Is data lineage the same as license provenance?
No. Lineage traces how a record moved and changed between systems. License provenance adds the party the record belongs to, the governing agreement and the clause that permits the use. A dataset can have perfect lineage and still fail a rights review.
Do I need a provenance map if all records come from one system?
Usually yes, because rights vary by account rather than by system. One help desk can hold records from direct customers, reseller customers and partners on different terms, and the map is how you tell them apart.
Can de-identification fix a record whose chain is broken?
No. De-identification can reduce privacy risk, but it does not create ownership or a contractual right to license. A record whose governing agreement prohibits third-party use stays excluded after identifiers are removed.
How many records should the trace test cover?
Enough to reach every source system and account type in the release, with a random draw within each. The goal is to find the clusters where chains break, so stratify the sample rather than drawing a single simple random sample.
Sources
- W3C PROV-O defines wasDerivedFrom, wasGeneratedBy and wasAttributedTo for linking entities, activities and agents. Source
- The W3C ODRL Information Model 2.2 expresses a policy as permissions, prohibitions and duties, each with a target asset and optional assigner and assignee. Source
- Croissant 1.1 supports dataset, field and data-level provenance with PROV-O and attaches data use conditions through schema.org usageInfo. Source
- GDPR Article 7(1) requires a controller relying on consent to be able to demonstrate it; Article 30 requires records of processing activities stating purposes and data categories. Source
- The OpenLineage dataset version facet records a datasetVersion string for a dataset. Source
- Salesforce's ContactPointTypeConsent object represents consent for a contact point type such as email or phone. Source
- Salesforce's Consent Write API accepts a capture date, a capture source and a data use purpose that must already exist. Source
See if your company qualifies
A short company assessment. No data uploads are needed.