Skip to content

Add com.snowplowanalytics.snowplow/identity_correction/jsonschema/1-0-1 - #1498

Merged
Ian Streeter (istreeter) merged 7 commits into
release/r189from
identity-correction-1-0-1
Nov 27, 2026
Merged

Ian Streeter (istreeter) merged 7 commits into
release/r189from
identity-correction-1-0-1

Conversation

@peel

Copy link
Copy Markdown
Contributor

Adds the optional triggering_event_ids array for withdrawal corrections and names withdrawal in the type description. Additive over 1-0-0.

…-0-1

Previously the triggering_event_ids description covered withdrawals only and said the field was absent on other correction types.

Now it also covers late merges: a late merge that joins announcements the database refused because another write moved a root first carries their event ids, and the field is absent only on a late merge that detection or backfill found and that no refused announcement joined.
…n 1-0-1

Previously each triggering_event_ids item had to match a lowercase UUID pattern, while identity_merge 2-0-0 bounds its triggering_event_id by length only and the identity API checks only that an event id is present.

Now the items are bounded by maxLength 36 like identity_merge 2-0-0, so an event id the pipeline accepted never makes the correction event fail validation.
Previously the schema called the correction that retracts a refused listed merge a withdrawal, and its descriptions said an identity context announced a merge.

Now the type value is failed_merge, the descriptions say a failed-merge correction, and an answer lists a merge, as the identity service names them.
…y_correction 1-0-1

Previously the triggering_event_ids description said a failed-merge correction follows a refusal for the merge cap or a unique conflict.

Now it names the unique conflict across trees alone, because a merge the cap refuses gets no correction.
Previously the list of events whose identity context listed the merge had no item count bound.

Now the schema says maxItems 100 and the description says a consumer finds every affected event by the parent and the child in the identity context, not by this list.
Previously triggering_event_ids accepted only an array, so a producer that writes null for a late merge without listed merges failed validation although the property is optional.

Now triggering_event_ids accepts null as well as an array, which follows the Iglu Central pattern for optional properties and matches refused_snowplow_ids in the same schema. The description says absent or null. The generated Redshift column is unchanged.
@istreeter

Copy link
Copy Markdown
Collaborator

Piotr Limanowski (@peel) if you are confident this is the final version of this 1-0-1 schema then please can you:

  • Squash it down to one commit
  • Add a "prepare for release" commit to this PR

Then I'll try to get it released for you fairly quickly.

@peel

Copy link
Copy Markdown
Contributor Author

Thanks Ian Streeter (@istreeter). I will also need the other one here before we get it released.

@istreeter
Ian Streeter (istreeter) changed the base branch from master to release/r189 November 27, 2026 10:17
@istreeter

Copy link
Copy Markdown
Collaborator

Changed the base branch to the release branch

@istreeter
Ian Streeter (istreeter) merged commit 3cea1cb into release/r189 Nov 27, 2026
8 of 9 checks passed
@istreeter
Ian Streeter (istreeter) deleted the identity-correction-1-0-1 branch November 27, 2026 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants