swissfintechinnovations / ca-mortgage

Common API for Mortgages
Apache License 2.0
0 stars 1 forks source link

Required Fields in Liabilities and Income #95

Closed simonbbaumgartner closed 1 year ago

simonbbaumgartner commented 1 year ago

In "Asset" the fields "assetType" and "amount" are required. in "liabilites" and "income", these two fields are not required. How come? We should mark these two fields in "liabilities" and "income" as required, too.

There is one more difference: asset has an additional field "assetProvider". Do we need/want this field for "liability" and "income" as well?

Anyway, why is there a different specification format for "liabilities" and "income" than for "asset"? "asset" is separately specified under "mortgage date types" whereas the other two are specified in the normal structure. Do we want to change it?