Skip to content

Add support for Maryland (24), Indiana (25), Kentucky (26), Rhode Island (27)#103

Open
chuff wants to merge 11 commits into
IABTechLab:masterfrom
chuff:add-md-in-ky-ri
Open

Add support for Maryland (24), Indiana (25), Kentucky (26), Rhode Island (27)#103
chuff wants to merge 11 commits into
IABTechLab:masterfrom
chuff:add-md-in-ky-ri

Conversation

@chuff
Copy link
Copy Markdown
Contributor

@chuff chuff commented Jun 6, 2026

Summary

Implements four new MSPA state sections per the latest GPP MSPA spec:

  • US-MD Maryland (Section ID 24)
  • US-IN Indiana (Section ID 25)
  • US-KY Kentucky (Section ID 26)
  • US-RI Rhode Island (Section ID 27)

Each section follows the same pattern as the existing US-MN section: a Core + GPC segment pair, registered in `Sections.java` and dispatched from `GppModel` for encode/decode, with per-state fields, segments, and a section class.

Test plan

  • `mvn test` passes (388 tests)
  • `GppModelTest.testEncodeDefaultAll` exercises all four new sections in the consolidated GPP string
  • Per-section round-trip tests added under `com.iab.gpp.encoder.section`

Chad added 11 commits June 5, 2026 15:29
Implements the Maryland Online Data Privacy Act section per the
GPP spec, following the existing UsMn pattern. Core + GPC segments,
9 core fields (MspaVersion, MspaCoveredTransaction, MspaMode,
ProcessingNotice, SaleOptOutNotice, TargetedAdvertisingOptOutNotice,
SaleOptOut, TargetedAdvertisingOptOut, AdditionalDataProcessingConsent),
no SensitiveDataProcessing / KnownChildSensitiveDataConsents per spec.
Implements the Indiana Consumer Data Protection Act section per the
GPP spec, following the UsMn pattern. Core + GPC segments, 11 core
fields including SensitiveDataProcessing (8-element N-Bitfield) and
KnownChildSensitiveDataConsents.
# Conflicts:
#	iabgpp-encoder/src/main/java/com/iab/gpp/encoder/GppModel.java
#	iabgpp-encoder/src/main/java/com/iab/gpp/encoder/section/Sections.java
#	iabgpp-encoder/src/test/java/com/iab/gpp/encoder/GppModelTest.java
# Conflicts:
#	iabgpp-encoder/src/main/java/com/iab/gpp/encoder/GppModel.java
#	iabgpp-encoder/src/main/java/com/iab/gpp/encoder/section/Sections.java
#	iabgpp-encoder/src/test/java/com/iab/gpp/encoder/GppModelTest.java
# Conflicts:
#	iabgpp-encoder/src/main/java/com/iab/gpp/encoder/GppModel.java
#	iabgpp-encoder/src/main/java/com/iab/gpp/encoder/section/Sections.java
#	iabgpp-encoder/src/test/java/com/iab/gpp/encoder/GppModelTest.java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant