{
    "modelSettings" : {
      "context" : "user",
      "strictModel" : false,
      "modelName" : "LoanRequest",
      "service" : "payments",
      "access_roles" : {"admin": ["READ","WRITE", "ALL"], "owner": ["READ","WRITE"]},
      "controlAccess" : false
    },
  
    "modelData" : {
      "systemManagedEntities" : {
  
        "loanRequestSettings" : {
          "request_status" : "approved, pending, ",
          "repaymentStatus" : "ongoing, flagged, completed",
          "percantageRepaid" : 0,
          "percantageFunded" : 0,
          "creditStanding" : "720- Good Credit",
          "defaultCount" : 0, 
          "paymentDayOfMonth" : 1, 
          "interestRate" : 0,
          "riskLevel" : "",
          "creditPoints" : 0,
          "totalDaysRemaining" : 0,
          "totalAmountFunded" : 0,
          "dateApprovedTimestamp" : 0,
          "dateExpirationTimestamp" : 0,
          "investors" : [
                {
                  "investorId" : 0,
                  "percantageFunded" : 0,
                  "amountFunded" : 0,
                  "dateFunded" : 0,
                  "investorName" : 0
                }            
          ]
        }
      },

      "formFieldsEntities" : {
        "userDetails" : {
          "first_name": {
            "name": "first_name",
            "question": "First Name",
            "questionShort": "First Name",
            "answerType": "text",
            "type": "text",
            "tooltip": "First Name.",
            "answerOptions": [],
            "answerOptionsType": null,
            "validations": ["required"],
            "value" : "",
            "answerColumns": []
          },
          "lastName": {
            "name": "lastName",
            "question": "Last Name",
            "questionShort": "Last Name",
            "answerType": "text",
            "type": "text",
            "tooltip": "Last Name.",
            "answerOptions": [],
            "answerOptionsType": null,
            "validations": ["required"],
            "value" : "",
            "answerColumns": []
          },
          "email": {
            "name": "email",
            "question": "Email",
            "questionShort": "Email",
            "answerType": "text",
            "type": "text",
            "tooltip": "Email",
            "answerOptions": [],
            "answerOptionsType": null,
            "validations": ["required"],
            "value" : "",
            "answerColumns": []
          },
          "phoneNumber": {
            "name": "phoneNumber",
            "question": "Phone Number",
            "questionShort": "Phone Number",
            "answerType": "text",
            "type": "text",
            "tooltip": "Phone Number",
            "answerOptions": [],
            "answerOptionsType": null,
            "validations": ["required"],
            "value" : "",
            "answerColumns": []
          }
        },

        "loanDetails" : {
          "laon_amount" : {
            "name": "laon_amount",
            "question": "Loan amount",
            "questionShort": "Loan amount",
            "answerType": "text",
            "type": "number",
            "tooltip": "Loan amount",
            "answerOptions": [],
            "answerOptionsType": null,
            "validations": ["required"],
            "value" : "",
            "answerColumns": []
          },
          "paymentPeriod" : {
            "name": "paymentPeriod",
            "question": "Payment Period",
            "questionShort": "Payment Period",
            "answerType": "text",
            "type": "dropdown",
            "tooltip": "Payment Period",
            "answerOptions": [
              {
                "id": "30",
                "value": "1 Month"
              },
              {
                  "id": "90",
                  "value": "3 Months"
              },
              {
                  "id": "180",
                  "value": "6 Months"
              },
  
              {
                "id": "360",
                "value": "12 Months"
              }
  
            ],
            "answerOptionsType": "text",
            "validations": ["required"],
            "value" : null,
            "answerColumns": []
          }, 
          "loanPurposeTitle" : {
            "name": "loanPurposeTitle",
            "question": "Loan purpose",
            "questionShort": "Loan purpose",
            "answerType": "text",
            "type": "text",
            "tooltip": "Loan purpose",
            "answerOptions": [],
            "answerOptionsType": null,
            "validations": ["required"],
            "value" : "",
            "answerColumns": []
          },
          "loanPurposeDescription" : {
            "name": "loanPurposeTitle",
            "question": "Loan purpose description",
            "questionShort": "Loan purpose description",
            "answerType": "text",
            "type": "text-area",
            "tooltip": "Loan purpose description",
            "answerOptions": [],
            "answerOptionsType": null,
            "validations": ["required"],
            "value" : "",
            "answerColumns": []
          }
        }
      }
    }
  
  }