Skip to content

Commit

Permalink
Merge pull request #24 from provenance-io/mismo-recording-info
Browse files Browse the repository at this point in the history
Mismo recording info
  • Loading branch information
dkneisly-figure authored Oct 18, 2022
2 parents 6ddd74a + b18df8b commit 9fba38b
Show file tree
Hide file tree
Showing 11 changed files with 376 additions and 51 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @vwagner
* @vwagner @dkneisly-figure @rpatel-figure
4 changes: 4 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,9 @@

- [Asset/NFT](asset.md)
- [Loan](loan.md)
- [Mortgage](mortgage.md)
- [HELOC](heloc.md)
- [MISMO Loan](mismo.md)
- [Loan Servicing](servicing.md)
- [Util](util.md)
- [Registry](registry.md)
12 changes: 12 additions & 0 deletions docs/docgen/examples/mismo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"typeUrl": "/tech.figure.asset.loan.MISMOLoanMetadata",
"uli": "LEI456123456123456123456123",
"document": {
"id": "",
"uri": "",
"fileName": "",
"contentType": "application/xml",
"documentType": "",
"checksum": ""
}
}
61 changes: 61 additions & 0 deletions docs/heloc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# HELOC
<a name="top"></a>



<a name="tech/figure/loan/v1beta1/heloc.proto"></a>
<p align="right"><a href="#top">Top</a></p>

## tech/figure/loan/v1beta1/heloc.proto



<a name="tech.figure.loan.v1beta1.Heloc"></a>

### Heloc
A Home Equity Line of Credit (HELOC) Loan


| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| lien_property | [tech.figure.util.v1beta1.Property](util#tech.figure.util.v1beta1.Property) | | Subject property |
| lien_position | [uint32](#uint32) | | Lien position: 1 = first lien position, 2 or higher = junior lien position |
| draw_term_in_months | [google.protobuf.UInt32Value](#google.protobuf.UInt32Value) | | Total number of months the borrower can draw on the line |
| draw_percentage | [tech.figure.util.v1beta1.Rate](util#tech.figure.util.v1beta1.Rate) | | The maximum amount a borrower can redraw as a percent of the paid balance of the original draw (borrower cannot draw more than the original balance) |
| recording_status | [tech.figure.util.v1beta1.Status](util#tech.figure.util.v1beta1.Status) | | Loan recording status (e.g. PENDING, RECORDED) |
| credit_limit_amount | [tech.figure.util.v1beta1.Money](util#tech.figure.util.v1beta1.Money) | | HELOC credit limit |
| paid_draw_bonus_months | [int32](#int32) | | Number of months draw period is extended by if paid off in original draw period |
| static_draw_rate_flag | [bool](#bool) | | If true, use interest_rate for any future draws. If false, use current prime rate |
| recording_info | [Recording](#tech.figure.loan.v1beta1.Recording) | | The registration of the lien in a public record by a government agency |













## Scalar Value Types

| .proto Type | Notes | C++ | Java | Python | Go | C# | PHP | Ruby |
| ----------- | ----- | --- | ---- | ------ | -- | -- | --- | ---- |
| <a name="double" /> double | | double | double | float | float64 | double | float | Float |
| <a name="float" /> float | | float | float | float | float32 | float | float | Float |
| <a name="int32" /> int32 | Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead. | int32 | int | int | int32 | int | integer | Bignum or Fixnum (as required) |
| <a name="int64" /> int64 | Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead. | int64 | long | int/long | int64 | long | integer/string | Bignum |
| <a name="uint32" /> uint32 | Uses variable-length encoding. | uint32 | int | int/long | uint32 | uint | integer | Bignum or Fixnum (as required) |
| <a name="uint64" /> uint64 | Uses variable-length encoding. | uint64 | long | int/long | uint64 | ulong | integer/string | Bignum or Fixnum (as required) |
| <a name="sint32" /> sint32 | Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s. | int32 | int | int | int32 | int | integer | Bignum or Fixnum (as required) |
| <a name="sint64" /> sint64 | Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s. | int64 | long | int/long | int64 | long | integer/string | Bignum |
| <a name="fixed32" /> fixed32 | Always four bytes. More efficient than uint32 if values are often greater than 2^28. | uint32 | int | int | uint32 | uint | integer | Bignum or Fixnum (as required) |
| <a name="fixed64" /> fixed64 | Always eight bytes. More efficient than uint64 if values are often greater than 2^56. | uint64 | long | int/long | uint64 | ulong | integer/string | Bignum |
| <a name="sfixed32" /> sfixed32 | Always four bytes. | int32 | int | int | int32 | int | integer | Bignum or Fixnum (as required) |
| <a name="sfixed64" /> sfixed64 | Always eight bytes. | int64 | long | int/long | int64 | long | integer/string | Bignum |
| <a name="bool" /> bool | | bool | boolean | boolean | bool | bool | boolean | TrueClass/FalseClass |
| <a name="string" /> string | A string must always contain UTF-8 encoded or 7-bit ASCII text. | string | String | str/unicode | string | string | string | String (UTF-8) |
| <a name="bytes" /> bytes | May contain any arbitrary sequence of bytes. | string | ByteString | str | []byte | ByteString | string | String (ASCII-8BIT) |
25 changes: 23 additions & 2 deletions docs/mismo.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
<a name="tech.figure.loan.v1beta1.MISMOLoan"></a>

### MISMOLoan
Loan originators may choose to simply upload a MISMO standardized loan package to store static loan data collected through
their Loan Origination System. The current standard is MISMO 3.4.
Loan originators may choose to simply upload a MISMO standardized Loan Package to store static loan data collected through
their Loan Origination System. The current standard is MISMO v3.4.

This data is generally not expected to change over time. The evolving state of the loan (commonly called "servicing data")
is represented by the [`LoanState`](loan_state) proto.
Expand All @@ -24,6 +24,7 @@ is represented by the [`LoanState`](loan_state) proto.
| ----- | ---- | ----- | ----------- |
| uli | [string](#string) | | Universal Loan Identifier (ULI) is a unique number made up of 23 to 45 characters that begins with the loan originator's Legal Entity Identifier (LEI). An originator's LEI can be found by searching the [GLEIF Website](https://search.gleif.org/#/search/). |
| data | [google.protobuf.BytesValue](#google.protobuf.BytesValue) | | Byte array of the MISMO XML file |
| recording_info | [Recording](#tech.figure.loan.v1beta1.Recording) | | The registration of the mortgage in a public record by a government agency |
| kv | [MISMOLoan.KvEntry](#tech.figure.loan.v1beta1.MISMOLoan.KvEntry) | repeated | Key-value map allowing originator to provide additional data |


Expand All @@ -48,13 +49,33 @@ is represented by the [`LoanState`](loan_state) proto.
<a name="tech.figure.loan.v1beta1.MISMOLoanMetadata"></a>

### MISMOLoanMetadata
Like any other loan document, the MISMO Loan Package can be stored separately in an Object Store and referenced here.

This is the most common scenario for loans in the Provenance/DART ecosystem.


Example:
```json
{
"typeUrl": "/tech.figure.asset.loan.MISMOLoanMetadata",
"uli": "LEI456123456123456123456123",
"document": {
"id": "",
"uri": "",
"fileName": "",
"contentType": "application/xml",
"documentType": "",
"checksum": ""
}
}
```


| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| uli | [string](#string) | | Universal Loan Identifier (ULI) is a unique number made up of 23 to 45 characters that begins with the loan originator's Legal Entity Identifier (LEI). An originator's LEI can be found by searching the [GLEIF Website](https://search.gleif.org/#/search/). |
| document | [tech.figure.util.v1beta1.DocumentMetadata](util#tech.figure.util.v1beta1.DocumentMetadata) | | Pointer to MISMO loan file in Object Store |
| recording_info | [Recording](#tech.figure.loan.v1beta1.Recording) | | The registration of the mortgage in a public record by a government agency |
| kv | [MISMOLoanMetadata.KvEntry](#tech.figure.loan.v1beta1.MISMOLoanMetadata.KvEntry) | repeated | Key-value map allowing originator to provide additional data |


Expand Down
Loading

0 comments on commit 9fba38b

Please sign in to comment.