Repository navigation
chore(example): bump ZAF contract_details schema version to 5 - #1563
Merged
Merged
Conversation
Pin South Africa to contract_details v5 in the example app and document v2-v5 in a new ZAF schema changelog, the migration list and the version matrix. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Contributor
|
Deploy preview for remote-flows ready!
Deployed with vercel-action |
Contributor
|
Deploy preview for adp-cost-calculator ready!
Deployed with vercel-action |
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Contributor
📊 Coverage Report⚪ Coverage unchanged
Detailed BreakdownLines Coverage
Statements Coverage
Functions Coverage
Branches Coverage
✅ Coverage check passed |
remotecom
approved these changes
Oct 14, 2026
This was referenced Oct 14, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The example app now uses South Africa's latest contract details form (v5). South Africa also gets its own schema changelog.
Why
What changed
Toggle details
jsonSchemaVersions.ts: ZAFcontract_details1 → 5.schemaVersions.ts: unchanged, because it already lists ZAF v1–v5.ZAF.mdcovering v2–v5, plus South Africa in the README's migration list and version matrix. Tiger carries a changelog only for v5 (inZAF.ex); v2–v4 are inferred from the snapshot diffs and tiger commit messages.annual_gross_salaryand a fieldset withpart_time_salary_confirmation; jsf v1 engine.contract_duration_fixed_term_monthsrequired forfixed_term);probation_periodmax drops from 6 to 3 months for non-admins, with a warning.eor_seniority_block,eor_seniority_block_v2_ftc); contract duration moves to the sharedcontract_durationcomponent and thecontract_duration_type/contract_end_datedefinitions are removed (inferred).Screenshots
N/A
Related Resources
apps/tiger/priv/json_schemas/contract_details/snapshots/ZAF/{1..4}.jsonplus rootZAF.jsonfor v595bb50a9(FTC cap and probation guardrails),c2665f7d(seniority block),07d3080d(allOf merge order)Testing
example/app in a browsernpm run schema-canary -- --country=ZAF --checks=pinned,latest,submitagainst sandbox after the bump (pinned v5, latest, submit v5): all pass.🤖 Generated with Claude Code
Note
Low Risk
Documentation and example-app version pinning only; no production API or auth changes in this diff.
Overview
Aligns the example onboarding app with South Africa’s current EOR contract-details schema by bumping ZAF
contract_detailsfrom v1 to v5 injsonSchemaVersions.ts, so local flows match what partners see on the latest backend form.Adds South Africa contract-details documentation: a new
ZAF.mdchangelog (v2–v5, with v5 as current) and entries in the countries README list and version matrix (v5, October 2026). The doc highlights behavioral deltas integrators care about when upgrading—e.g. v4’s 12-month fixed-term cap and shorter non-admin probation max, and v5’s seniority-based fixed-term blocking plus migration to the sharedcontract_durationcomponent.Reviewed by Cursor Bugbot for commit ccae355. Bugbot is set up for automated code reviews on this repo. Configure here.