Skip to content

chore(example): bump IRL contract_details schema version to 5 - #1572

Merged
gabrielseco merged 1 commit into
mainfrom
chore/bump-irl-contract-details-v5
Oct 14, 2026
Merged

gabrielseco merged 1 commit into
mainfrom
chore/bump-irl-contract-details-v5

Conversation

@gabrielseco

@gabrielseco gabrielseco commented Oct 14, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Partners API integrators onboarding Irish employees get the hourly wage type and the daily schedule in the contract details form. The example app is pinned to the new Ireland schema version.

Blocked: depends on the backend schema change being deployed. Do not merge until it is, otherwise json_schema_version=5 does not exist yet for IRL.

Why

Until now the Irish hourly wage type and daily schedule were hidden from Partners API (remote_api) consumers, while the Remote product already had them. The backend ships this as a new schema version (v5) because it is breaking for that surface. Same change as the GBR bump in #1571.

What changed

Toggle details
  • example/src/flows/Onboarding/jsonSchemaVersions.ts: IRL contract_details 4 to 5.
  • IRL schema changelog and the version matrix document v5, with a migration snippet.
  • v5 adds wage_type, hourly_gross_salary, schedule_type and daily_schedule (replacing the plain work_hours_per_week). Part-time contracts must still use wage_type salary.
  • The backend change also ships contract_amendment IRL v2. The example app has no amendment demo, so it is not pinned or covered here.
  • Not public API; example app and docs only.

Screenshots

N/A

Related Resources

Testing

Checked against a local backend running the schema change:

  • dump:schema --env=local --country=IRL (chore(scripts): support --env in dump:schema #1570): v5 returns wage_type, hourly_gross_salary, schedule_type and daily_schedule. v4 returns none of them.

  • The matching contract_amendment schema behaves the same way: remote_api gets the fields on the latest version and none on the previous one.

  • Not yet confirmed in the UI: the "Employee schedule" section and the wage_type radio in the example app.

  • Tested against the example/ app in a browser

  • Feature flag: N/A

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@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-nk9kouz6c-remotecom.vercel.app
Latest Commit:1c52d10

Deployed with vercel-action

@github-actions

Copy link
Copy Markdown
Contributor

Deploy preview for remote-flows ready!

Project:remote-flows
Status: ✅  Deploy successful!
Preview URL:https://remote-flows-kcme5ruiw-remotecom.vercel.app
Latest Commit:1c52d10

Deployed with vercel-action

@github-actions

Copy link
Copy Markdown
Contributor

📊 Coverage Report

✅ Coverage increased! 🎉

Metric Current Previous Change Status
Lines 89.60% 89.57% +0.03% 🟢
Statements 89.48% 89.44% +0.03% 🟢
Functions 88.47% 88.47% 0% ⚪
Branches 81.23% 81.18% +0.05% 🟢

Detailed Breakdown

Lines Coverage
  • Covered: 5394 / 6020
  • Coverage: 89.60%
  • Change: +0.03% (2 lines)
Statements Coverage
  • Covered: 5459 / 6101
  • Coverage: 89.48%
  • Change: +0.03% (2 statements)
Functions Coverage
  • Covered: 1427 / 1613
  • Coverage: 88.47%
  • Change: 0% (0 functions)
Branches Coverage
  • Covered: 3346 / 4119
  • Coverage: 81.23%
  • Change: +0.05% (2 branches)

✅ Coverage check passed

@gabrielseco
gabrielseco marked this pull request as ready for review October 14, 2026 16:03
@gabrielseco
gabrielseco merged commit af607df into main Oct 14, 2026
14 checks passed
@gabrielseco
gabrielseco deleted the chore/bump-irl-contract-details-v5 branch October 14, 2026 16:28
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