Licensing, Consent, and Data-Use Signals › Licences as machine-readable obligations

Michael BrenndoerferNovember 25, 20268 min read
Language AI HandbookAll chapters
Part 21 of 67Data Governance, Provenance, and Synthetic Ecosystems
Chapter 150Licensing, Consent, and Data-Use Signals › Licences as machine-readable obligations
Reading section 4 of 16 · Licences as machine-readable obligations · 8 minSection 4 of 16 · 8 min

Section 4 of 16 · 8 min read

Reading settings

Definitions

Choose how many terms have tooltips.

Article links

Make inline references clickable

Notes & comments

A licence is a conditional grant. Read it as a set of obligations and restrictions attached to a permission, because that is the form your pipeline needs. This is a small reframing with a large payoff. If you read a licence as a permission, the natural question is "may I use this?" and the natural representation is a boolean field. If you read a licence as a set of obligations and restrictions, the natural question is "under what conditions may I use this, and what must I do afterwards?" and the natural representation is a structured record that can drive downstream work. The second reading matches what licences actually say.

The Creative Commons family

Creative Commons licences use short names for combinations of conditions. Read the legal text for the named version and check which terms apply to the proposed use.

  • CC0 1.0 dedicates the affirmer’s copyright and related rights to the public domain to the extent the law permits, with a fallback licence. Those rights can include the affirmer’s publicity or privacy rights in a depicted likeness where waiver is permitted. CC0 excludes patent and trademark rights. Check other parties’ rights and any data-protection duties separately.
  • CC BY 4.0. When you share licensed material, retain the required attribution and licence information and indicate modifications. Apply the attribution conditions in a manner reasonable for the medium and context.
  • CC BY-SA 4.0. If you share adapted material, use a Creative Commons licence with the same elements, in this version or a later one, or a BY-SA Compatible License.
  • CC BY-ND adds a prohibition on distributing adapted material.
  • CC BY-NC adds a non-commercial restriction, defined in version 4.0 as "not primarily intended for or directed towards commercial advantage or monetary compensation".

Two textual details matter more than that summary. First, CC BY 4.0 section 6 automatically terminates rights under the licence when its terms are violated. The rights automatically reinstate on the date the violation is cured if the cure is within 30 days of discovery. The licensor can also expressly reinstate them. Reinstatement leaves the licensor’s remedies for the earlier violation intact. Second, CC licences only cover what the licensor holds. A CC BY photograph of a person does not license that person's likeness; a CC BY article may contain a quoted third-party photograph that is not CC BY at all. The attribution chain is only as good as its weakest link.

The CC BY-NC 4.0 definition turns on whether the use is primarily directed toward commercial advantage or monetary compensation. A no-charge release tells you the download price of the model. Assess the proposed training use itself. The example policy below treats its commercial-training purpose as incompatible with the NC flag. Keep NC-only material in a separate shard, so a mixture that requires commercial-use eligibility can omit it without another crawl.

Software licenses in code corpora

For code corpora, keep the original software licence and check the licence’s trigger for each obligation. Compare what happens when you copy a source file, modify covered code, or distribute the modified work.

  • Permissive licences such as MIT, BSD and Apache-2.0 have notice conditions. Apache-2.0 includes a patent grant. If the upstream licensed Work came with a NOTICE file, §4(d) requires you to include the relevant attribution notices in a permitted location when distributing a derivative.
  • Copyleft terms depend on the covered work and what you do with it. Under AGPLv3 §13, when your modified version supports remote network interaction, it must prominently offer Corresponding Source to users who interact with it remotely.

The GPLv3 terms set conditions for conveying covered modified works. Identify the artefact to be distributed and any covered code it contains. The fixture records a generation-time verbatim filtering task for copyleft. A separate attribution flag adds a data-card task. In a real release review, inspect provenance and outputs and check the applicable conditions.

Repository and file-level licence statements can conflict. An audit of GitHub repositories found mismatches between top-level licence declarations and in-code notices. BigCode’s dataset documentation describes per-file licence metadata and a repository opt-out. Record the file-level assertion and the repository-level provenance separately so the reviewer can see a conflict.

SPDX: naming obligations so software can read them

SPDX is the interoperable naming layer, standardised as ISO/IEC 5962:2021 and maintained by the Linux Foundation. It gives you:

  • Identifiers for well-known licences: CC-BY-NC-4.0, MIT, Apache-2.0, GPL-3.0-only, GPL-3.0-or-later.
  • Expressions built from AND, OR, WITH (for exceptions), and parentheses: Apache-2.0 WITH LLVM-exception, MIT AND GPL-3.0-only, CC-BY-NC-4.0 OR CC-BY-4.0.
  • LicenseRef- identifiers for anything not on the list, including your own negotiated agreements.

Record the normalized SPDX expression alongside the original licence statement and its source. For example, “CC BY 4.0” can map to CC-BY-4.0, while “see footer” needs investigation. An SPDX expression records which licences and exceptions are asserted and how the branches combine. Checking that a grant applies and that its conditions can be met takes the source terms and the intended use. Other standards serve different needs. ODRL expresses permissions, prohibitions, and duties in machine-readable policies.

Composing licenses and policy restrictions

An SPDX expression tells you how the licence branches fit together:

  • With A AND B, both branches apply. Collect the obligations from both and check that you can satisfy them together.
  • With A OR B, choose one branch that covers the intended use and whose conditions you can meet.

Once you have evaluated the licence branches and scoped the other signals, the policy can combine its decisions. For a given document and purpose, gather the actions covered by any available basis. Then remove actions blocked by any restriction the policy has found to apply.

P(d,p)=(⋃i∈I(d,p)Gi)∖(⋃j∈J(d,p)Bj)P(d,p) = \left(\bigcup_{i \in I(d,p)} G_i\right) \setminus \left(\bigcup_{j \in J(d,p)} B_j\right)

Here dd is the document and pp is the intended purpose:

  • I(d,p)I(d,p) indexes the applicable bases for permitting an action for that document and purpose. GiG_i is the set of actions covered by basis ii, subject to its conditions.
  • J(d,p)J(d,p) indexes the independent restrictions the policy has determined apply in that scope. BjB_j is the set of actions blocked by restriction jj.
  • P(d,p)P(d,p) is the set of actions still eligible under the policy. A union over an empty index set is empty.

Suppose an applicable basis covers copying and sharing a source, while an independent access agreement blocks sharing. The policy keeps copying and drops sharing. A condition on an unchosen OR branch stays with that branch. The set calculation assumes that questions of scope and precedence have already been resolved. Carry the obligations for the basis you rely on and send unresolved conflicts to review.

A mixture built under this policy must satisfy the applicable obligations for each included document. If your policy excludes material available only on non-commercial terms from commercial training, keep those sources in separate shards. You can then rebuild the commercial mixture from eligible shards without re-crawling.

The unresolved question: is a model a derivative work?

For ShareAlike or NoDerivatives terms, check what material you adapted or shared and which licence conditions apply to that act. The cases below help separate questions about source copies from questions about the released model.

The 2025 US decisions below concern fair use for particular copies. In Kadrey v. Meta (N.D. Cal., June 2025), the court granted Meta partial summary judgment on the named plaintiffs’ reproduction claims. It considered the downloads in light of their training purpose and left a separate alleged distribution claim outside that ruling. In Bartz v. Anthropic (N.D. Cal., June 2025), the court found fair use for training copies and for replacement scans of purchased print books. It denied summary judgment for Anthropic on the pirated copies retained in its central library. In Thomson Reuters v. Ross Intelligence (D. Del., February 2025), the court rejected fair use for copying Westlaw headnotes to build a competing legal research tool. In a later development outside the chapter’s 2025 snapshot, the Third Circuit affirmed the partial summary judgment on interlocutory appeal in an opinion docketed September 30, 2026.

In Kneschke v. LAION, the Hamburg Regional Court dismissed the photographer's claim in September 2024. It held that LAION’s download of the photograph while building a dataset qualified for the scientific research exception under §60d UrhG. The public dataset contained links and image descriptions. The Hanseatic Higher Regional Court dismissed the appeal in December 2025, relying on both the general TDM provision in §44b and the research exception in §60d. The dispute concerns the copy made during dataset preparation. A further appeal under I ZR 281/25 reached Germany’s Federal Court of Justice.

These cases turn on particular uses of particular copies. Record how you acquired the material, what you copied during dataset preparation, and what you release. If an applicable licence includes no-derivatives or share-alike terms, keep those terms available for release review, including review of any source material you redistribute.

Comments

Add to the conversation

A question, a correction, or an example from your own work.

No comments yet. Be the first to share your thoughts!

Newsletter

Stay up to date

Get new articles, book updates, and notes on AI and technology.

Unsubscribe at any time. Privacy policy