Skip to content

chore(example): bump AUS contract_details schema version to 6 - #1562

Merged
gabrielseco merged 2 commits into
mainfrom
chore/bump-aus-contract-details-v6
Oct 14, 2026
Merged

gabrielseco merged 2 commits into
mainfrom
chore/bump-aus-contract-details-v6

Conversation

@gabrielseco

@gabrielseco gabrielseco commented Oct 14, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

The example app now uses Australia's latest contract details form (v6). Australia also gets its own schema changelog.

Why

  • AUS was still pinned to v1 while the backend is on v6.
  • Pinning the example to latest makes us run the form partners will get when they upgrade.

What changed

Toggle details
  • jsonSchemaVersions.ts: AUS contract_details 1 → 6.
  • schemaVersions.ts: unchanged, because it already lists AUS v1–v6.
  • Docs: new AUS.md covering v2–v6, plus Australia in the README's migration list and version matrix. Tiger has no x-rmt-schema-changelog for AUS, so every entry is inferred from the snapshot diffs (v6 is tiger's current root schema, snapshots go to v5).
    • v2: available_pto minimum 20 days, PTO copy reworded.
    • v3: work_hours_per_week replaced by the shared daily_schedule component; new required third-party work, work equipment, non-compete, non-interference and non-solicitation fields; part-time minimum salary rule restructured.
    • v4: max contract duration unlimited → 24 months from the provisional start date.
    • v5: reserve messaging and fieldset on annual_gross_salary (flag-gated).
    • v6: extreme-salary acknowledgement (flag-gated).
  • Breaking for submits: v3 (new required fields, work_hours_per_week removed) and v4 (24 month cap).
  • No public API change.

Screenshots

N/A

Related Resources

  • Tiger snapshots: apps/tiger/priv/json_schemas/contract_details/snapshots/AUS/{1..5}.json and AUS.json (v6)

Testing

  • Tested against the example/ app in a browser
  • npm run schema-canary -- --country=AUS --checks=pinned,latest,submit against sandbox after the bump (pinned v6, latest, submit v6): all pass.

🤖 Generated with Claude Code


Note

Low Risk
Example app and documentation only; no production SDK or API changes, though consumers upgrading AUS pins face submit-breaking schema shifts at v3/v4.

Overview
The example onboarding flow now pins Australia contract_details from v1 to v6, aligning the demo with the current backend schema instead of the stale v1 default.

Documentation adds AUS.md with a version-by-version migration guide (v2–v6): PTO minimums, daily schedule and new restrictive-covenant fields (v3), 24-month fixed-term cap (v4), flag-gated high-salary messaging (v5), and extreme-salary acknowledgement (v6). The contract-details countries README links Australia and lists it in the version matrix at v6.

No runtime or public API changes in this repo—only the example pin and docs. Integrators moving off v1 should treat v3 (new required fields, work_hours_per_week removed) and v4 (duration validation) as breaking for submits.

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

Pin Australia to contract_details v6 in the example app and document
v2-v6 in a new AUS schema changelog, the migration list and the version
matrix.

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

github-actions Bot commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Deploy preview for remote-flows ready!

Project:remote-flows
Status: ✅  Deploy successful!
Preview URL:https://remote-flows-l10bb0asr-remotecom.vercel.app
Latest Commit:9212d37

Deployed with vercel-action

@github-actions

github-actions Bot commented Oct 14, 2026 •

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-a7bt8m0jg-remotecom.vercel.app
Latest Commit:9212d37

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.46% 89.46% 0% ⚪
Functions 88.47% 88.47% 0% ⚪
Branches 81.21% 81.21% 0% ⚪

Detailed Breakdown

Lines Coverage
  • Covered: 5393 / 6020
  • Coverage: 89.58%
  • Change: 0% (0 lines)
Statements Coverage
  • Covered: 5458 / 6101
  • Coverage: 89.46%
  • Change: 0% (0 statements)
Functions Coverage
  • Covered: 1427 / 1613
  • Coverage: 88.47%
  • Change: 0% (0 functions)
Branches Coverage
  • Covered: 3345 / 4119
  • Coverage: 81.21%
  • Change: 0% (0 branches)

✅ Coverage check passed

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@gabrielseco
gabrielseco merged commit 91d5f5e into main Oct 14, 2026
14 checks passed
@gabrielseco
gabrielseco deleted the chore/bump-aus-contract-details-v6 branch October 14, 2026 16:29
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