{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "OwnerDraw", "description": "Owner Draw", "type": "object", "required": [ "amount", "date" ], "properties": { "amount": { "type": "number", "format": "double", "description": "Amount." }, "comments": { "type": "string", "description": "Comments." }, "contactID": { "type": "integer", "format": "int64", "description": "Id of the contact associated with this owner draw." }, "createdBy": { "type": "string", "description": "User who created the record." }, "createdDateTime": { "type": "string", "format": "date-time", "description": "Date and time the record was created. (Timezone: UTC)" }, "date": { "type": "string", "format": "date", "description": "Post date." }, "destinationAccountId": { "type": "integer", "format": "int64", "description": "Id of the bank account where the payment will be made from." }, "glAccountID": { "type": "integer", "format": "int64", "description": "Id of the general ledger account associated with this owner draw." }, "id": { "type": "integer", "format": "int64", "description": "Unique identifier." }, "lastModifiedBy": { "type": "string", "description": "User who last modified the record." }, "lastModifiedDateTime": { "type": "string", "format": "date-time", "description": "Date and time the record was last modified. (Timezone: UTC)" }, "lines": { "type": "array", "description": "A collection of payment line items.", "items": { "$ref": "#/components/schemas/LineItem" } }, "paymentType": { "type": "string", "description": "Payment type.", "enum": [ "CHECK", "CHECK21", "CASHIERS_CHECK", "CREDIT_CARD", "CASH", "MONEY_ORDER", "OTHER", "CLICKPAY", "SECTION8", "EPAY", "ECHECK", "NACHA", "RENTMONEY", "PUBLIC_ASSISTANCE", "PAYMENT_TYPE_NA" ] }, "portfolioID": { "type": "integer", "format": "int64", "description": "Id of the portfolio associated with this owner draw." }, "refNo": { "type": "string", "description": "Reference number." } } }