Skip to content

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

This page covers record-level license provenance: tracing one record to its permission.Illustrative

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.

The record to contract provenance map
HopField stored per recordIllustrative valueEvidence it points toChain breaks when
1 Releaserelease_id and record_id in that releaseREL-2026-03 / r-000418Release manifest with checksumsThe record ID is regenerated in each release with no crosswalk
2 Export runexport_run_id and cutoff timeEXP-114, 2026-02-28 23:59 UTCExport log with query, user and countsThe export was a manual download with no log
3 Source recordsource_system and native IDHelp desk ticket 88213Source system record, still retrievableNative IDs were dropped during preparation
4 Transformationspipeline version and steps applieddeid v3.2; thread merge v1.4Versioned pipeline code and run logSteps ran from an unversioned notebook
5 Partyaccount or organization ID the record belongs toAccount A-2290CRM account recordRecords were exported without their account link
6 Authority holderwho may decide on licensing for this party's dataCompany, as service provider to A-2290Ownership and role analysis per account typeRole is assumed rather than documented
7 Governing documentagreement ID and version in force at collectionMSA v4 effective 2024-01-01Signed agreement in the contract systemThe account signed an older version nobody located
8 Permission referenceclause or permission covering the useMSA v4 section 9.3 (aggregated, de-identified use)Clause text and counsel's reading of itThe clause covers analytics but not third-party licensing
9 Privacy basisbasis and its evidence, where personal data remainsConsent record with capture date and sourceConsent or processing recordThe basis covers support, not model training
10 Exclusions and noticesopt-out, termination or deletion flags with datesNone as of release cutoffOpt-out log and contract termination listA 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.

Running the trace test on sampled records, forward and backward
TestStarting pointPasses whenCommon failure
Forward traceA random record ID from the releaseAll ten hops resolve to evidence at or above the minimum gradeHop 7 points to the current template, not the version the account signed
Backward traceA governing agreement or accountEvery record of that party is found and none are missedRecords from a merged or renamed account sit under the old ID
Change propagationA termination or opt-out dated after collectionAffected records are flagged before the next releaseFlags exist in the CRM but never reach the dataset
Transformation replayA prepared record and its pipeline versionRe-running the recorded steps on the source record reproduces itA manual fix was applied outside the pipeline
Release membershipA record ID and a buyer's releaseThe manifest shows whether the record shipped in that releaseRecords 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.

Which broken chains can be repaired before release, and which mean exclusion?
BreakRepairExcludeEscalate
Native IDs dropped in preparationRe-run preparation keeping a crosswalk to source IDsIf source records were deleted and cannot be matchedNot usually needed
Signed version of the agreement not locatedSearch the contract system and signature platform by accountIf no signed version is foundIf the account may have negotiated custom terms
Clause covers analytics, not licensingNot repairable by data workDefault for the affected accountsCounsel, to read the clause and any amendment
Third party authored or owns the contentObtain the third party's terms or permissionUntil that permission existsCounsel, where ownership is disputed
Privacy basis covers a different purposeNot repairable by data workFor records that keep personal dataPrivacy counsel, on whether de-identified use changes the analysis
Termination or opt-out not propagatedPropagate flags and add a pre-release checkThe flagged records, every releaseNot 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.

See if your company qualifies