Last active
February 22, 2020 17:07
-
-
Save tbrooke/c4596b896d93378afefa1be7b8b62789 to your computer and use it in GitHub Desktop.
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
namespace org.accordproject.offertopurchase | |
import org.accordproject.cicero.contract.* from https://models.accordproject.org/cicero/contract.cto | |
import org.accordproject.cicero.runtime.* from https://models.accordproject.org/cicero/runtime.cto | |
import org.accordproject.time.* from https://models.accordproject.org/v2.0/time.cto | |
import org.accordproject.money.MonetaryAmount from https://models.accordproject.org/money.cto | |
import com.docusign.connect.DocuSignEnvelopeInformation from https://models.accordproject.org/docusign/connect.cto | |
import org.accordproject.payment.PaymentReceived from https://models.accordproject.org/payment/payment.cto | |
asset OfferToPurchase extends AccordContract { | |
o AccordParty buyer | |
o AccordParty seller | |
o String propAddress | |
o String propCity | |
o String propZip | |
o String propCounty | |
o String taxPin | |
o Integer deedBook | |
o Integer deedBookPage | |
o Double purchasePrice | |
o Duration additionalEarnestMoneyDueDate | |
o Double assumedLoan | |
o Double sellerFinancingAmount | |
o Double buildingDeposit | |
o String escrowAgent | |
o Duration dueDiligenceDate | |
o DateTime settlementDate | |
o Double loanAmount | |
o Integer loanTerm | |
o Double loanRate | |
o String nonOwnedPersonlProperty | |
o Double sellerPaidExpenses | |
o String deedGrantee | |
o DateTime buyerSignatureDate | |
o String buyerSignature | |
o DateTime sellerSignatureDate | |
o String sellerSignature | |
} | |
transaction MyRequest extends Request { | |
o String input | |
} | |
transaction MyResponse extends Response { | |
o String output | |
} | |
enum ContractLifecycleStatus { | |
o UNSIGNED | |
o SIGNED | |
o PRE_DUE_DILIGENCE | |
o POST_DUE_DILIGENCE | |
o SETTLED | |
o RECORDED | |
} | |
/** | |
* The template model | |
*/ | |
enum newLoan { | |
o DOES_NEED | |
o DOES_NOT_NEED | |
} | |
enum loanType { | |
o FHA | |
o VA | |
o CONVENTIONAL | |
o OTHER | |
} | |
enum loanRateType { | |
o FIXED | |
o ADJUSTABLE | |
} | |
transaction dueDiligenceReceived extends PaymentReceived { | |
o Double dueDiligenceFee | |
} | |
transaction earnestMoneyPayment extends PaymentReceived { | |
o Double earnestMoney | |
o Double additionalEarnestMoney | |
o Double purchaseBalance | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment