Skip to content

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

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

Add support for Maryland (24), Indiana (25), Kentucky (26), Rhode Island (27)#106
chuff wants to merge 12 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.ts` and dispatched from `GppModel` for encode/decode, with per-state fields, segments, and a section class.

Test plan

  • `npm test` passes (336 tests)
  • `GppModel.test.ts` "should default all sections" / "should decode defaults" cover all four new sections in the consolidated GPP string
  • Per-section round-trip tests added under `test/encoder/section/`

Chad added 12 commits June 5, 2026 22:23
# Conflicts:
#	modules/cmpapi/src/encoder/GppModel.ts
#	modules/cmpapi/src/encoder/field/index.ts
#	modules/cmpapi/src/encoder/section/Sections.ts
#	modules/cmpapi/src/encoder/section/index.ts
#	modules/cmpapi/src/encoder/segment/index.ts
#	modules/cmpapi/test/GppModel.test.ts
# Conflicts:
#	modules/cmpapi/src/encoder/GppModel.ts
#	modules/cmpapi/src/encoder/field/index.ts
#	modules/cmpapi/src/encoder/section/Sections.ts
#	modules/cmpapi/src/encoder/section/index.ts
#	modules/cmpapi/src/encoder/segment/index.ts
#	modules/cmpapi/test/GppModel.test.ts
# Conflicts:
#	modules/cmpapi/src/encoder/GppModel.ts
#	modules/cmpapi/src/encoder/section/Sections.ts
#	modules/cmpapi/test/GppModel.test.ts
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