Skip to content

minor(cb2-21189): corrected validation for 1 axle trailer complete schema#223

Merged
cb-cs merged 1 commit intodevelopfrom
feature/CB2-21189
Apr 10, 2026
Merged

minor(cb2-21189): corrected validation for 1 axle trailer complete schema#223
cb-cs merged 1 commit intodevelopfrom
feature/CB2-21189

Conversation

@cb-cs
Copy link
Copy Markdown
Contributor

@cb-cs cb-cs commented Apr 9, 2026

Ticket title

Capability to create a complete technical record for a 1 axle trailer

CB2-21189

Changelog

  • updated get/trl/complete
  • updated put/trl/complete

Existing schemas had a requirement of techRecord_frontAxleToRearAxle and techRecord_rearAxleToRearTrl being populated to match the complete schema, this would never be the case for a 1 axle trailer. Validation added so the above only applies if there are 2 or more axles in the techRecord_axles array.

@cb-cs cb-cs merged commit 4b018dd into develop Apr 10, 2026
6 checks passed
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.

3 participants