Skip to content

Beta. consent-kit is at 0.x: expect breaking changes between releases, and treat everything it generates as a draft. Report a problem or share feedback.

The four classifications consent-kit check gives to a change between the last released registry and the current one, and every change kind with its default. The source is packages/schema/src/diff/model.ts.

For the reasoning behind the rule, read material changes and re-consent.

In ascending severity:

Classification Meaning What it demands
not_material Nothing the visitor was told gets weaker. Nothing. It appears in the changelog.
needs_confirmation Presumed not material, but not provable: a typo fix, a new translation, internal metadata, a CSP loosening. A person adds the change key to acknowledged in privacy.review.json. Until then check fails with confirmation/unacknowledged.
material Alters what the visitor was told. The version of every affected purpose goes up by exactly 1. Visitors are asked again when an affected purpose is a consent purpose; for other purposes the notice is updated.
needs_review Material, and the compiler will not judge it. The version bump, and a person adds the change key to acknowledged. Until then check fails with review/unacknowledged.
  1. The kind decides the default. Each change kind has one default for consent purposes and one for purposes on any other basis.
  2. The affected purposes pick the column. An artefact change affects the artefact’s purposes. A processor change affects every purpose that has an artefact using that processor or lists it under processors. A glossary entry affects the purposes that use its id. A receipts change affects the consent purposes. Controller, CSP and other registry-wide changes affect every purpose. A purpose counts as a consent purpose when its basis is consent on either side of the diff.
  3. The change takes the strictest classification over its affected purposes.
  4. An override can only escalate. overrides in privacy.review.json may move a change up the list, never down.

Each affected purpose also gets a consequence:

Consequence Printed by check as When
human_review human review The classification is needs_review.
reconsent re-consent material, and the purpose is a consent purpose.
notice_update notice update material, and the purpose has another basis: update the Art. 13 notice and the changelog.
confirmation confirmation needs_confirmation.
changelog changelog only not_material.

Every change has a key, <kind>@<path>, which is unique within a diff and stable across runs. It is what privacy.review.json refers to. The path is by id, not by index:

purpose.retention_longer@purposes.analytics.retention
processor.metadata_changed@processors.plausible.privacyUrl
artefact.description_formatting_changed@artefacts.cc_cookie.description.en
csp.loosened@csp.allow.style-src.'unsafe-inline'

Copy keys from the output of consent-kit check or consent-kit diff; do not write them by hand.

  • Identity is by id. Collection-point fields are identified by name within their point. A renamed id is a removal plus an addition, and the addition is material. There is no rename detection: the compiler cannot prove two ids mean the same thing.
  • Order is not content. Reordering purposes, locales, data categories or an artefact’s purposes is not a change.
  • A version bump is not a change. purposes[].version never appears as a change; it is checked against the changes.
  • Text. A rewording is material. The only text comparison attempted is whether two strings differ only in letter case, in runs of whitespace, or in punctuation that does not touch a digit; that is a *_formatting_changed kind. “non-essential” matches “non essential”, but “don’t” does not match “dont”, and “1.5” does not match “15”.
  • Durations. session is shorter than every other form and persistent is longer. Fixed periods compare by days, as do event-relative periods on the same event. Everything else is incomparable and therefore material.
  • Strict default. A field the diff does not know is compared structurally, and any difference is reported as *.unclassified_changed, which is material.
  • Notice-only information. Who the data protection officer is, which authority takes complaints and who the EU representative is are information the notice owes but consent does not rest on. For consent purposes such a change needs a confirmation; for other purposes it is material (a notice update). Nobody is asked again.
Kind Consent purposes Other purposes When
registry.format_version_changed material material The registry version changed.
registry.locale_added not_material not_material A locale was added to locales.
registry.locale_removed not_material not_material A locale was removed from locales.
registry.default_locale_changed not_material not_material defaultLocale changed.
registry.unclassified_changed material material A top-level field the diff does not know changed. Strict default.
registry.security_measures_changed needs_confirmation needs_confirmation securityMeasures changed. Internal (Art. 30 record only), but a weaker measure is not provably harmless.
Kind Consent purposes Other purposes When
controller.changed material material The controller’s name, contact or address changed.
controller.dpo_changed needs_confirmation material controller.dpo changed.
controller.supervisory_authority_changed needs_confirmation material controller.supervisoryAuthority changed.
controller.eu_representative_changed needs_confirmation material controller.euRepresentative changed.
Kind Consent purposes Other purposes When
data_category.added not_material not_material An entry was added to the dataCategories map. Using the id in a purpose is a purpose.* change of its own.
data_category.removed not_material not_material An entry was removed from the map.
data_category.title_changed material material The text was reworded (the name of a data category).
data_category.title_formatting_changed needs_confirmation not_material The text changed only in letter case, whitespace or punctuation away from digits (the name of a data category).
data_category.title_locale_added needs_confirmation needs_confirmation A text in a new locale was added (the name of a data category).
data_category.title_locale_removed not_material not_material A text in one locale was removed (the name of a data category).
data_category.special_flagged needs_review needs_review special: true was set: the data is now declared an Art. 9 special category, so the lawful basis has to be re-examined.
data_category.special_unflagged needs_review needs_review special was cleared. Nothing proves the data itself changed.
Kind Consent purposes Other purposes When
data_subject_category.added not_material not_material An entry was added to the dataSubjectCategories map.
data_subject_category.removed not_material not_material An entry was removed from the map.
data_subject_category.title_changed material material The text was reworded (the name of a data subject category).
data_subject_category.title_formatting_changed needs_confirmation not_material The text changed only in letter case, whitespace or punctuation away from digits (the name of a data subject category).
data_subject_category.title_locale_added needs_confirmation needs_confirmation A text in a new locale was added (the name of a data subject category).
data_subject_category.title_locale_removed not_material not_material A text in one locale was removed (the name of a data subject category).
Kind Consent purposes Other purposes When
retention_event.added not_material not_material An entry was added to the retentionEvents map.
retention_event.removed not_material not_material An entry was removed from the map.
retention_event.description_changed material material The text was reworded (the description of a retention event).
retention_event.description_formatting_changed needs_confirmation not_material The text changed only in letter case, whitespace or punctuation away from digits (the description of a retention event).
retention_event.description_locale_added needs_confirmation needs_confirmation A text in a new locale was added (the description of a retention event).
retention_event.description_locale_removed not_material not_material A text in one locale was removed (the description of a retention event).
Kind Consent purposes Other purposes When
csp.loosened needs_confirmation needs_confirmation A source was allowed under csp.allow, the policy was switched to report-only, or upgrade-insecure-requests was dropped. Says nothing new to the visitor, but a person confirms that the loosening is wanted.
csp.tightened not_material not_material A loosening was removed.
csp.reporting_changed not_material not_material csp.reportUri or csp.reportTo changed. A third-party endpoint is a declared artefact with a change of its own.
csp.reason_changed not_material not_material The reason of a csp.allow entry was reworded.
Kind Consent purposes Other purposes When
receipts.endpoint_declared not_material not_material An endpoint was declared where there was none, or where there was an opt-out.
receipts.endpoint_changed not_material not_material The endpoint moved.
receipts.opted_out needs_confirmation needs_confirmation The opt-out replaced an endpoint, or was declared where nothing was stated. Gives up the proof of every decision.
receipts.removed needs_confirmation needs_confirmation The whole receipts section is gone (only valid without consent purposes).
receipts.opt_out_reason_changed not_material not_material The opt-out reason was reworded.

Attributed to the built-in purpose subject-requests (basis legal_obligation). It has no version to bump: a material change to a processor that only it uses asks for a notice update, not a bump.

Kind Classification When
subject_requests.added not_material The section was added.
subject_requests.removed needs_confirmation The section is gone, and with it the form.
subject_requests.type_added not_material A request type is offered.
subject_requests.type_removed needs_confirmation A request type is no longer offered.
subject_requests.retention_shorter not_material Closed requests are kept for less time.
subject_requests.retention_longer needs_confirmation Closed requests are kept longer.
subject_requests.retention_changed needs_confirmation Neither provably shorter nor longer, e.g. 365d to 1y.
subject_requests.retention_reformatted not_material The same duration, spelt differently.
subject_requests.endpoint_changed not_material The endpoint moved.
subject_requests.notify_changed needs_confirmation Requests go to another mailbox.
subject_requests.requester_email_added needs_confirmation A provider now receives the requester’s address.
subject_requests.requester_email_processor_changed needs_confirmation Another provider receives it.
subject_requests.requester_email_removed not_material No more confirmation emails.
subject_requests.unclassified_changed material Any other difference in the section.

Attributed to no purpose: the imprint describes no processing, so nobody is asked again and no version is bumped. The changelog entry lists the change among the other changes.

Kind Classification When
imprint.added not_material The section was added.
imprint.removed not_material The section is gone.
imprint.changed not_material A field of the section changed, was added or was removed. The path names the field: imprint.phone.
Kind Consent purposes Other purposes When
purpose.added material material A purpose was added.
purpose.removed not_material not_material A purpose was removed.
purpose.basis_changed needs_review needs_review The lawful basis changed.
purpose.title_changed material material The text was reworded (the purpose title).
purpose.title_formatting_changed needs_confirmation not_material The text changed only in letter case, whitespace or punctuation away from digits (the purpose title).
purpose.title_locale_added needs_confirmation needs_confirmation A text in a new locale was added (the purpose title).
purpose.title_locale_removed not_material not_material A text in one locale was removed (the purpose title).
purpose.description_changed material material The text was reworded (the purpose description).
purpose.description_formatting_changed needs_confirmation not_material The text changed only in letter case, whitespace or punctuation away from digits (the purpose description).
purpose.description_locale_added needs_confirmation needs_confirmation A text in a new locale was added (the purpose description).
purpose.description_locale_removed not_material not_material A text in one locale was removed (the purpose description).
purpose.data_category_added material material A data category was added to the purpose.
purpose.data_category_removed not_material not_material A data category was removed from the purpose.
purpose.retention_longer material material The retention got longer.
purpose.retention_shorter not_material not_material The retention got shorter.
purpose.retention_changed material material The retention changed in a way that cannot be compared: a fixed period against until-withdrawn, a fixed period against an event-relative one, or different events.
purpose.retention_reformatted not_material not_material A different spelling of the same duration.
purpose.default_granted material material default became granted. (The validator rejects this on a consent purpose.)
purpose.default_denied not_material not_material default became denied.
purpose.legitimate_interest_added material material The interest is stated where none was. Only possible against a registry released before the field existed.
purpose.legitimate_interest_removed not_material not_material The stated interest was removed.
purpose.legitimate_interest_changed material material The text was reworded (the stated legitimate interest).
purpose.legitimate_interest_formatting_changed needs_confirmation not_material The text changed only in letter case, whitespace or punctuation away from digits (the stated legitimate interest).
purpose.legitimate_interest_locale_added needs_confirmation needs_confirmation A text in a new locale was added (the stated legitimate interest).
purpose.legitimate_interest_locale_removed not_material not_material A text in one locale was removed (the stated legitimate interest).
purpose.adm_declared_none needs_confirmation needs_confirmation automatedDecisionMaking: false where nothing was stated: the notice gains a sentence, the processing is the same.
purpose.adm_introduced needs_review needs_review Automated decision-making where there was none, or none stated.
purpose.adm_changed material material Its logic or consequences are described differently.
purpose.adm_removed not_material not_material Automated decision-making no longer takes place.
purpose.data_subject_added material material A category of data subjects was added to the purpose.
purpose.data_subject_removed not_material not_material A category of data subjects was removed.
purpose.processor_added material material A recipient was added to the purpose’s processors.
purpose.processor_removed not_material not_material A recipient was removed from the purpose’s processors.
purpose.processors_stated not_material not_material processors appeared or disappeared as an empty list: a statement, not a recipient.
purpose.unclassified_changed material material A purpose field the diff does not know changed. Strict default.
Kind Consent purposes Other purposes When
processor.added material material A processor was added.
processor.removed not_material not_material A processor was removed.
processor.name_changed material material The name changed.
processor.name_formatting_changed needs_confirmation not_material The name changed only in case, whitespace or punctuation.
processor.legal_entity_changed material material The legal entity changed.
processor.legal_entity_formatting_changed needs_confirmation not_material The legal entity changed only in case, whitespace or punctuation.
processor.country_changed material material The country changed.
processor.transfer_changed material material The transfer mechanism changed.
processor.first_party_changed material material firstParty changed.
processor.role_changed material material role changed: who decides what happens to the data.
processor.metadata_changed needs_confirmation needs_confirmation dpaUrl, privacyUrl or subjectRequestProcess changed.
processor.unclassified_changed material material A processor field the diff does not know changed. Strict default.
Kind Consent purposes Other purposes When
artefact.added material material An artefact was added.
artefact.removed not_material not_material An artefact was removed.
artefact.kind_changed material material The kind changed.
artefact.purpose_added material material A purpose was added to the artefact.
artefact.purpose_removed not_material not_material A purpose was removed from the artefact.
artefact.processor_added material material A processor was set where there was none.
artefact.processor_changed material material The processor changed.
artefact.processor_removed not_material not_material The processor was removed.
artefact.description_changed material material The text was reworded (the artefact description).
artefact.description_formatting_changed needs_confirmation not_material The text changed only in letter case, whitespace or punctuation away from digits (the artefact description).
artefact.description_locale_added needs_confirmation needs_confirmation A text in a new locale was added (the artefact description).
artefact.description_locale_removed not_material not_material A text in one locale was removed (the artefact description).
artefact.target_changed material material The src of a script, iframe, stylesheet, font or media file, or the url of a pixel or endpoint, changed.
artefact.unclassified_changed material material An artefact field the diff does not know changed. Strict default.
Kind Consent purposes Other purposes When
cookie.matcher_changed material material A different name, or a different pattern.
cookie.matcher_broadened material material name was replaced by a pattern.
cookie.matcher_narrowed not_material not_material pattern was replaced by a name the old pattern matched.
cookie.duration_longer material material The lifetime got longer.
cookie.duration_shorter not_material not_material The lifetime got shorter.
cookie.duration_changed material material The lifetime changed in a way that cannot be compared.
cookie.duration_reformatted not_material not_material A different spelling of the same lifetime.
cookie.domain_changed material material domain changed.
cookie.security_loosened material material sameSite was relaxed or unset, or secure or httpOnly was dropped.
cookie.security_tightened not_material not_material sameSite, secure or httpOnly got stricter.
Kind Consent purposes Other purposes When
storage.matcher_changed material material A different key, or a different pattern.
storage.matcher_broadened material material key was replaced by a pattern.
storage.matcher_narrowed not_material not_material pattern was replaced by a key the old pattern matched.
storage.area_changed material material area changed.
storage.duration_longer material material The declared lifetime got longer.
storage.duration_shorter not_material not_material The declared lifetime got shorter.
storage.duration_changed material material The declared lifetime changed in a way that cannot be compared.
storage.duration_reformatted not_material not_material A different spelling of the same lifetime.
storage.duration_declared not_material not_material A lifetime was declared where the browser default applied before: a bound, never an extension.
storage.duration_removed material material Back to the browser default, which for local storage and IndexedDB is “never expires”.
Kind Consent purposes Other purposes When
collection_point.added material material A collection point was added.
collection_point.removed not_material not_material A collection point was removed.
collection_point.description_changed needs_confirmation needs_confirmation The internal description changed.
collection_point.title_changed material material The text was reworded (the form title).
collection_point.title_formatting_changed needs_confirmation not_material The text changed only in letter case, whitespace or punctuation away from digits (the form title).
collection_point.title_locale_added needs_confirmation needs_confirmation A text in a new locale was added (the form title).
collection_point.title_locale_removed not_material not_material A text in one locale was removed (the form title).
collection_point.unclassified_changed material material A collection-point field the diff does not know changed. Strict default.
Kind Consent purposes Other purposes When
collection_field.added material material A field was added.
collection_field.removed not_material not_material A field was removed.
collection_field.purpose_changed material material The field serves another purpose. Attributed to the new purpose.
collection_field.purpose_dropped not_material not_material The same edit, attributed to the purpose the field no longer serves.
collection_field.made_required material material required became true.
collection_field.made_optional not_material not_material required became false or was removed.
collection_field.notice_changed material material The text was reworded (the field notice).
collection_field.notice_formatting_changed needs_confirmation not_material The text changed only in letter case, whitespace or punctuation away from digits (the field notice).
collection_field.notice_locale_added needs_confirmation needs_confirmation A text in a new locale was added (the field notice).
collection_field.notice_locale_removed not_material not_material A text in one locale was removed (the field notice).
collection_field.provision_stated needs_confirmation needs_confirmation provision was stated where nothing was (a registry released before the field existed).
collection_field.provision_changed material material provision changed between statutory, contractual and voluntary: the visitor was told something else.
collection_field.consequence_changed material material The text was reworded (the stated consequence).
collection_field.consequence_formatting_changed needs_confirmation not_material The text changed only in letter case, whitespace or punctuation away from digits (the stated consequence).
collection_field.consequence_locale_added needs_confirmation needs_confirmation A text in a new locale was added (the stated consequence).
collection_field.consequence_locale_removed not_material not_material A text in one locale was removed (the stated consequence).
collection_field.unclassified_changed material material A field property the diff does not know changed. Strict default.

check compares each purpose’s version with the changes that affect it.

Code Severity When
version/missing_bump error A purpose changed materially but its version did not go up.
version/version_decreased error A version went down. Versions never decrease.
version/version_skipped error A version went up by more than 1. A release bumps by exactly 1.
version/unnecessary_bump warning A version went up without a material change.
version/initial_version_not_one warning A new purpose starts at a version other than 1.

The revision is CookieConsent’s single, global re-consent counter. A release raises it by exactly 1 when a consent purpose was added or materially changed, and leaves it alone otherwise. A project without a lock file starts from 0, so its first release is revision 1. Re-consent is global: when the revision goes up, every visitor is asked about every consent purpose again.

consent-kit

Generate your cookie banner and privacy-policy drafts from one registry, and audit what your site really does against it.

© 2026 consent-kit · Released under the MIT licence.