Skip to content

chore(example): bump NLD contract_details schema version to 6 - #1524

Merged
gabrielseco merged 1 commit into
mainfrom
chore/bump-nld-contract-details-v6
Oct 13, 2026
Merged

gabrielseco merged 1 commit into
mainfrom
chore/bump-nld-contract-details-v6

Conversation

@gabrielseco

@gabrielseco gabrielseco commented Oct 12, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

The example app now uses the Netherlands' latest contract details form (v6), and the NLD schema changelog covers v3-v6.

Why

  • NLD was still pinned to v2 while the backend is on v6.
  • Pinning the example to latest makes us run the form partners will get when they upgrade.
  • NLD.md also said "Nigeria" in its intro.

What changed

Toggle details
  • jsonSchemaVersions.ts: NLD contract_details 2 → 6.
  • schemaVersions.ts: unchanged, because it already lists NLD v1–v6.
  • Docs: NLD.md gains v3–v6 sections (v6 marked current), its intro now says Netherlands, and the README version matrix row is updated. NLD was already in the README migration list. Each entry is based on tiger's version_changelog (v4–v6) or a diff of the tiger snapshots (v3):
    • v3: prorated minimum annual gross salary for part-time employees (based on work_hours_per_week and holiday_allowance); can reject part-time salaries accepted on v2
    • v4: high-salary reserve messaging, salary fields grouped in annual_gross_salary_fieldset
    • v5: extreme-salary acknowledgement
    • v6: seniority block on fixed-term contracts, no default for contract_duration_type, contract_end_date nested reference becomes nested_fields (a list)
  • No public API change.

Screenshots

N/A

Related Resources

  • Tiger commits that cut each version: c5213c4f (v3, part-time prorated minimum), 546122a2 (v4, annual gross salary component and reserve messaging), 0e1d9044 (v5, extreme salary acknowledgement), 5ce44da9 (v6, seniority block)

Testing

  • Tested against the example/ app in a browser
  • npm run schema-canary -- --country=NLD --versions=pinned,latest against sandbox: build and submit pass on both v6 (pinned, run after the bump) and latest
  • Feature flag: eor_seniority_block, eor_seniority_block_v2_ftc (v6 seniority block); extreme-salary acknowledgement (v5)

🤖 Generated with Claude Code


Note

Low Risk
Documentation and example-app pin only; partners’ production behavior is unchanged unless they adopt the new pin or migration notes themselves.

Overview
Pins the example onboarding flow to Netherlands contract details v6 (was v2) and documents what changed in v3–v6 for integrators upgrading from older pins.

Docs: NLD.md now lists v3–v6 (prorated part-time minimum salary—breaking for submits on v3; shared salary fieldset and reserve messaging on v4; extreme-salary acknowledgement on v5; seniority-based fixed-term restrictions, no default contract_duration_type, and nested_field → nested_fields on v6). The intro typo (“Nigeria”) is fixed, and the country README matrix shows NLD at v6 (October 2026).

Code: Only example/src/flows/Onboarding/jsonSchemaVersions.ts changes (NLD.contract_details: 6). No SDK or public API changes.

Reviewed by Cursor Bugbot for commit e887dbc. Bugbot is set up for automated code reviews on this repo. Configure here.

Pin the Netherlands to contract_details v6 in the example app and
document v3-v6 in the NLD schema changelog and the version matrix.
Also fixes the NLD guide intro, which said Nigeria.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

Deploy preview for remote-flows ready!

Project:remote-flows
Status: ✅  Deploy successful!
Preview URL:https://remote-flows-21r4hjwil-remotecom.vercel.app
Latest Commit:e887dbc

Deployed with vercel-action

@github-actions

Copy link
Copy Markdown
Contributor

Deploy preview for adp-cost-calculator ready!

Project:adp-cost-calculator
Status: ✅  Deploy successful!
Preview URL:https://adp-cost-calculator-o3pniabjd-remotecom.vercel.app
Latest Commit:e887dbc

Deployed with vercel-action

@github-actions

Copy link
Copy Markdown
Contributor

📊 Coverage Report

⚪ Coverage unchanged

Metric Current Previous Change Status
Lines 89.58% 89.58% 0% ⚪
Statements 89.45% 89.45% 0% ⚪
Functions 88.47% 88.47% 0% ⚪
Branches 81.20% 81.20% 0% ⚪

Detailed Breakdown

Lines Coverage
  • Covered: 5389 / 6016
  • Coverage: 89.58%
  • Change: 0% (0 lines)
Statements Coverage
  • Covered: 5454 / 6097
  • Coverage: 89.45%
  • Change: 0% (0 statements)
Functions Coverage
  • Covered: 1427 / 1613
  • Coverage: 88.47%
  • Change: 0% (0 functions)
Branches Coverage
  • Covered: 3343 / 4117
  • Coverage: 81.20%
  • Change: 0% (0 branches)

✅ Coverage check passed

@gabrielseco
gabrielseco merged commit a320522 into main Oct 13, 2026
15 checks passed
@gabrielseco
gabrielseco deleted the chore/bump-nld-contract-details-v6 branch October 13, 2026 15:15
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.

2 participants