Add UUID format to business_id and borrower_id properties

Changes

  • Updated endpoints:
    • /APIBusinessCounterparty: Added format: uuid and ensured type: string for the business_id property.
    • /APIOnboarding: Added format: uuid and ensured type: string for the borrower_id property.

Summary

This update improves schema precision by specifying UUID formatting for business_id and borrower_id properties in respective API definitions. No functional endpoint changes were made.

Note: This change accompanies a mechanical refactor replacing deprecated session calls with context managers to better manage DB connections, but no API behavior changes occurred.