[
  {
    "apiName": "Quote",
    "description": "Standard Salesforce Quote object",
    "enableHierarchySharing": true,
    "fields": [
      {
        "apiName": "ACV_Amount_USD__c",
        "createable": false,
        "formula": "ACV_Amount__c / Exchange_Rate__c",
        "label": "ACV Amount (USD)",
        "returnType": "double",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "ACV_Amount__c",
        "createable": false,
        "formula": "if(ACV_Amount_do_not_use__c=0,if(Term_months__c >12, TCV_Amount_c__c / Term_months__c * 12 ,TCV_Amount_c__c ),ACV_Amount_do_not_use__c)",
        "label": "ACV Amount (Local Currency)",
        "returnType": "currency",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "ACV_Amount_do_not_use__c",
        "default": "0",
        "label": "ACV Amount (do not use)",
        "type": "currency"
      },
      {
        "apiName": "AccountId",
        "label": "Account",
        "referenceTo": [
          "Account"
        ],
        "relationshipName": "Account",
        "type": "reference"
      },
      {
        "apiName": "Account_Country_Code__c",
        "createable": false,
        "formula": "Text(Opportunity.Account.BillingCountryCode)",
        "label": "*Account Country Code",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Account_Name_for_email_template__c",
        "label": "Account Name for email template",
        "type": "email"
      },
      {
        "apiName": "Account_Owner_for_email_template__c",
        "label": "Account Owner for email template",
        "type": "email"
      },
      {
        "apiName": "Additional_Discount__c",
        "createable": false,
        "formula": "IF(OR(TEXT(Product_Family__c)=\"TiDB Cloud\",TEXT(Product_Family__c)=\"TiDB_Cloud\"),IF(Sales_Channel_Type__c=\"Direct\",IF(Year_s_of_commitment__c=2,0.03,IF(Year_s_of_commitment__c>=3,0.05,0))+IF(Prepayment_Amount_USD__c/Minimum_Commitment_Amount__c=1,0.05,IF(Prepayment_Amount_USD__c/Minimum_Commitment_Amount__c<0.5,0,0.03)),IF(Year_s_of_commitment__c=2,0.015,IF(Year_s_of_commitment__c>=3,0.025,0))+IF(Prepayment_Amount_USD__c/Minimum_Commitment_Amount__c=1,0.025,IF(Prepayment_Amount_USD__c/Minimum_Commitment_Amount__c<0.5,0,0.015))),NULL)",
        "label": "Additional Discount",
        "returnType": "percent",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Additional_Discount_to_reduce_Sales_Lead__c",
        "createable": false,
        "formula": "IF(Additional_Discount__c>CP_Discount_Gap_Sales_Leader_RGM__c, CP_Discount_Gap_Sales_Leader_RGM__c,Additional_Discount__c)",
        "label": "Additional Discount to reduce Sales Lead",
        "returnType": "percent",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Additional_Discount_to_reduce_Sales__c",
        "createable": false,
        "formula": "IF(Additional_Discount__c>CP_Discount_Gap_Between_Sales_and_RGM__c, CP_Discount_Gap_Between_Sales_and_RGM__c,Additional_Discount__c)",
        "label": "Additional Discount to reduce Sales",
        "returnType": "percent",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "ApproveStatus__c",
        "label": "Status",
        "options": [
          {
            "label": "Accepted",
            "value": "Accepted"
          },
          {
            "label": "Approved",
            "value": "Approved"
          },
          {
            "label": "In Process",
            "value": "In Process"
          },
          {
            "label": "Pending",
            "value": "Pending"
          },
          {
            "label": "Rejected",
            "value": "Rejected"
          }
        ],
        "type": "picklist"
      },
      {
        "apiName": "ApprovedPrice__c",
        "default": "0",
        "label": "ApprovedPrice",
        "type": "string"
      },
      {
        "apiName": "AutoNumberText__c",
        "label": "AutoNumberText",
        "type": "string"
      },
      {
        "apiName": "AutoNumber__c",
        "label": "AutoNumber",
        "type": "double"
      },
      {
        "apiName": "Autoapproval__c",
        "createable": false,
        "formula": "Needapprove__c = False &&  text(Payment_Term__c) =\"30\"  &&  text(Payment_Type__c )!=\"Quarterly in Advance\"",
        "label": "Autoapproval",
        "returnType": "boolean",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Average_Discount__c",
        "createable": false,
        "formula": "IF(OR(TEXT(Product_Family__c) = \"TiDB Cloud\",TEXT(Product_Family__c) = \"TiDB_Cloud\"), IF(OR(Rebate_Fee_Rate__c=NULL,Rebate_Fee_Rate__c=0),1-(TCV_Amount_USD__c*(1- Referral_Fee_Rate__c))/((TCV_Amount_USD__c + Total_Credit_Amount__c)/(1-Discount__c)),1-(TCV_Amount_USD__c*(1- Rebate_Fee_Rate__c))/((TCV_Amount_USD__c + Total_Credit_Amount__c)/(1-Discount__c))), 1 - (NetFees__c / Total_List_Price__c))",
        "label": "Average Discount",
        "returnType": "percent",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "BillingCity",
        "label": "Billing City",
        "type": "string"
      },
      {
        "apiName": "BillingCountry",
        "label": "Billing Country",
        "type": "string"
      },
      {
        "apiName": "BillingStreet",
        "label": "Billing Street",
        "type": "string"
      },
      {
        "apiName": "CP_Discount_Gap_Between_Sales_and_RGM__c",
        "createable": false,
        "formula": "IF(ACV_Amount_USD__c>10000000,0.11,IF(ACV_Amount_USD__c>5000000,0.11,IF(ACV_Amount_USD__c>2000000,0.11,IF(ACV_Amount_USD__c>1000000,0.09,IF(ACV_Amount_USD__c>500000,0.09,IF(ACV_Amount_USD__c>200000,0.06,IF(ACV_Amount_USD__c>100000,0.08,IF(ACV_Amount_USD__c>50000,0.08, IF(ACV_Amount_USD__c>25000,0.08,0)))))))))",
        "label": "CP Discount Gap Between Sales and RGM",
        "returnType": "percent",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "CP_Discount_Gap_Sales_Leader_RGM__c",
        "createable": false,
        "formula": "IF(ACV_Amount_USD__c>10000000,0.08,IF(ACV_Amount_USD__c>5000000,0.08,IF(ACV_Amount_USD__c>2000000,0.08,IF(ACV_Amount_USD__c>1000000,0.06,IF(ACV_Amount_USD__c>500000,0.06,IF(ACV_Amount_USD__c>200000,0.06,IF(ACV_Amount_USD__c>100000,0.05,IF(ACV_Amount_USD__c>50000,0.05, IF(ACV_Amount_USD__c>25000,0.05,0)))))))))",
        "label": "CP Discount Gap Sales Leader RGM",
        "returnType": "percent",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Cloud_Vendor__c",
        "label": "Cloud Vendor",
        "options": [
          {
            "label": "AWS",
            "value": "AWS"
          },
          {
            "label": "Alicloud",
            "value": "Alicloud"
          },
          {
            "label": "Azure",
            "value": "Azure"
          },
          {
            "label": "GCP",
            "value": "GCP"
          }
        ],
        "type": "picklist"
      },
      {
        "apiName": "ContactId",
        "label": "Contact",
        "referenceTo": [
          "Contact"
        ],
        "relationshipName": "Contact",
        "type": "reference"
      },
      {
        "apiName": "Contains_Other_Nonstd_Terms__c",
        "default": "0",
        "label": "Contains Other Non-std Terms",
        "type": "string"
      },
      {
        "apiName": "ContractId",
        "label": "Contract",
        "referenceTo": [
          "Contract"
        ],
        "relationshipName": "Contract",
        "type": "reference"
      },
      {
        "apiName": "Create_Date__c",
        "createable": false,
        "formula": "CreatedDate",
        "label": "Created Date",
        "returnType": "date",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "CreatedById",
        "createable": false,
        "label": "Created By",
        "referenceTo": [
          "User"
        ],
        "relationshipName": "CreatedBy",
        "type": "reference",
        "updateable": false
      },
      {
        "apiName": "CreatedDate",
        "createable": false,
        "label": "Created Date",
        "type": "datetime",
        "updateable": false
      },
      {
        "apiName": "CurrencyIsoCode",
        "default": "USD",
        "label": "Currency ISO Code",
        "options": [
          {
            "label": "Chinese Yuan",
            "value": "CNY"
          },
          {
            "label": "Japanese Yen",
            "value": "JPY"
          },
          {
            "label": "Singapore Dollar",
            "value": "SGD"
          },
          {
            "label": "U.S. Dollar",
            "value": "USD"
          }
        ],
        "type": "picklist"
      },
      {
        "apiName": "Customer_s_Cluster_Configuration__c",
        "label": "Customer's Cluster Configuration",
        "type": "string"
      },
      {
        "apiName": "Customer_s_Consumption_in_Last_3_Months__c",
        "label": "Customer's Consumption in Last 3 Months",
        "type": "string"
      },
      {
        "apiName": "Customer_s_Hardware_Configuration__c",
        "label": "Customer's Hardware Configuration",
        "type": "string"
      },
      {
        "apiName": "Customers_Cluster_Configuration__c",
        "default": "0",
        "label": "Customers_Cluster_Configuration",
        "type": "string"
      },
      {
        "apiName": "Description",
        "label": "Description",
        "type": "textarea"
      },
      {
        "apiName": "Details_of_vCPU_Calculation__c",
        "label": "Details of vCPU# Calculation",
        "type": "string"
      },
      {
        "apiName": "Discount",
        "label": "Discount",
        "type": "string"
      },
      {
        "apiName": "Discount__c",
        "createable": false,
        "label": "Deepest Discount",
        "type": "string",
        "updateable": false
      },
      {
        "apiName": "Discount_to_trigger_approval__c",
        "createable": false,
        "formula": "Average_Discount__c-Additional_Discount__c",
        "label": "Discount to trigger approval",
        "returnType": "percent",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Effective_Date__c",
        "label": "Effective Date",
        "type": "date"
      },
      {
        "apiName": "Email",
        "label": "Email",
        "type": "email"
      },
      {
        "apiName": "Escalate_to_CEO_Approval__c",
        "default": "0",
        "label": "Escalate to CEO Approval",
        "type": "string"
      },
      {
        "apiName": "Escalate_to_Finance_Head_Approval__c",
        "default": "0",
        "label": "Escalate to Finance Head Approval",
        "type": "string"
      },
      {
        "apiName": "Exchange_Rate__c",
        "createable": false,
        "formula": "Opportunity.Rate__c",
        "label": "Exchange Rate",
        "returnType": "double",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "ExpirationDate",
        "label": "Expiration Date",
        "type": "date"
      },
      {
        "apiName": "Fax",
        "label": "Fax",
        "type": "string"
      },
      {
        "apiName": "Finance_Internal_Comment__c",
        "label": "Finance Internal Comment",
        "type": "string"
      },
      {
        "apiName": "GrandTotal",
        "label": "Grand Total",
        "type": "string"
      },
      {
        "apiName": "How_will_the_customer_place_an_order__c",
        "default": "Directly with PingCAP",
        "label": "How will the customer place an order",
        "options": [
          {
            "label": "Directly with PingCAP",
            "value": "Directly with PingCAP"
          },
          {
            "label": "Via AWS Marketplace",
            "value": "Via AWS Marketplace"
          },
          {
            "label": "Via GCP Marketplace",
            "value": "Via GCP Marketplace"
          }
        ],
        "required": true,
        "type": "picklist"
      },
      {
        "apiName": "Id",
        "createable": false,
        "label": "ID",
        "required": true,
        "type": "string",
        "updateable": false
      },
      {
        "apiName": "Including_man_days_or_Premium_support__c",
        "default": "0",
        "label": "Including man-days or Premium support",
        "type": "string"
      },
      {
        "apiName": "Initial_Quote_Record__c",
        "label": "Initial Quote Record",
        "referenceTo": [
          "Quote"
        ],
        "relationshipName": "Quotes",
        "type": "reference"
      },
      {
        "apiName": "IsConvertQuote__c",
        "default": "0",
        "label": "IsConvertQuote",
        "type": "string"
      },
      {
        "apiName": "IsDeleted",
        "createable": false,
        "label": "Deleted",
        "type": "string",
        "updateable": false
      },
      {
        "apiName": "Is_Non_standard_Program__c",
        "default": "0",
        "label": "Is Non-standard Program",
        "type": "string"
      },
      {
        "apiName": "Is_Standard_Migration_Program__c",
        "default": "0",
        "label": "Is Standard Migration Program",
        "type": "string"
      },
      {
        "apiName": "Is_Standard_OP_Payment_Frequency__c",
        "createable": false,
        "formula": "IF(OR(TEXT(Payment_Type__c)=\"Pay in Full\",TEXT(Payment_Type__c)=\"Annual in Advance\",TEXT(Payment_Type__c)=\"Semi-annual in Advance\"),True, False)",
        "label": "Is Standard OP Payment Frequency",
        "returnType": "boolean",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "LastModifiedById",
        "createable": false,
        "label": "Last Modified By",
        "referenceTo": [
          "User"
        ],
        "relationshipName": "LastModifiedBy",
        "type": "reference",
        "updateable": false
      },
      {
        "apiName": "LastModifiedDate",
        "createable": false,
        "label": "Last Modified Date",
        "type": "datetime",
        "updateable": false
      },
      {
        "apiName": "Migration_Credit_is_nonstandard__c",
        "createable": false,
        "formula": "IF(Total_Credit_Amount__c > ACV_Amount_USD__c/10,\"Y\",\"N\")",
        "label": "Migration Credit is nonstandard",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Minimum_Commitment_Amount__c",
        "label": "Minimum Commitment Amount",
        "type": "currency"
      },
      {
        "apiName": "Name",
        "createable": false,
        "isNameField": true,
        "label": "Quote Name",
        "required": true,
        "type": "string",
        "updateable": false
      },
      {
        "apiName": "Need_FP_A_Approval_Cloud_Over_0K__c",
        "createable": false,
        "formula": "IF(AND(ACV_Amount_USD__c>0,ACV_Amount_USD__c<25000),IF(Average_Discount__c > 0, \"Y\", \"N\"),\"N\")",
        "label": "Need FP&A Approval Cloud Over 0K",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Need_FP_A_Approval_Cloud_Over_100K__c",
        "createable": false,
        "formula": "IF(AND(ACV_Amount_USD__c>99999,ACV_Amount_USD__c<=199999),IF(Average_Discount__c-Additional_Discount_to_reduce_Sales_Lead__c > 0.25, \"Y\", \"N\"),\"N\")",
        "label": "Need FP&A Approval Cloud Over 100K",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Need_FP_A_Approval_Cloud_Over_10M__c",
        "createable": false,
        "formula": "IF(ACV_Amount_USD__c>9999999,IF(Average_Discount__c-Additional_Discount_to_reduce_Sales_Lead__c > 0.41, \"Y\", \"N\"),\"N\")",
        "label": "Need FP&A Approval Cloud Over 10M",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Need_FP_A_Approval_Cloud_Over_1M__c",
        "createable": false,
        "formula": "IF(AND(ACV_Amount_USD__c>999999,ACV_Amount_USD__c<=1999999),IF(Average_Discount__c-Additional_Discount_to_reduce_Sales_Lead__c > 0.35, \"Y\", \"N\"),\"N\")",
        "label": "Need FP&A Approval Cloud Over 1M",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Need_FP_A_Approval_Cloud_Over_200K__c",
        "createable": false,
        "formula": "IF(AND(ACV_Amount_USD__c>199999,ACV_Amount_USD__c<=499999),IF(Average_Discount__c-Additional_Discount_to_reduce_Sales_Lead__c > 0.29, \"Y\", \"N\"),\"N\")",
        "label": "Need FP&A Approval Cloud Over 200K",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Need_FP_A_Approval_Cloud_Over_25K__c",
        "createable": false,
        "formula": "IF(AND(ACV_Amount_USD__c>=25000,ACV_Amount_USD__c<=49999),IF(Average_Discount__c-Additional_Discount_to_reduce_Sales_Lead__c > 0.15, \"Y\", \"N\"),\"N\")",
        "label": "Need FP&A Approval Cloud Over 25K",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Need_FP_A_Approval_Cloud_Over_2M__c",
        "createable": false,
        "formula": "IF(AND(ACV_Amount_USD__c>1999999,ACV_Amount_USD__c<=4999999),IF(Average_Discount__c-Additional_Discount_to_reduce_Sales_Lead__c > 0.37, \"Y\", \"N\"),\"N\")",
        "label": "Need FP&A Approval Cloud Over 2M",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Need_FP_A_Approval_Cloud_Over_500K__c",
        "createable": false,
        "formula": "IF(AND(ACV_Amount_USD__c>499999,ACV_Amount_USD__c<=999999),IF(Average_Discount__c-Additional_Discount_to_reduce_Sales_Lead__c > 0.32, \"Y\", \"N\"),\"N\")",
        "label": "Need FP&A Approval Cloud Over 500K",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Need_FP_A_Approval_Cloud_Over_50K__c",
        "createable": false,
        "formula": "IF(AND(ACV_Amount_USD__c>49999,ACV_Amount_USD__c<=99999),IF(Average_Discount__c-Additional_Discount_to_reduce_Sales_Lead__c > 0.2, \"Y\", \"N\"),\"N\")",
        "label": "Need FP&A Approval Cloud Over 50K",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Need_FP_A_Approval_Cloud_Over_5M__c",
        "createable": false,
        "formula": "IF(AND(ACV_Amount_USD__c>4999999,ACV_Amount_USD__c<=9999999),IF(Average_Discount__c-Additional_Discount_to_reduce_Sales_Lead__c > 0.39, \"Y\", \"N\"),\"N\")",
        "label": "Need FP&A Approval Cloud Over 5M",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Need_FP_A_Approval_Enterprise__c",
        "createable": false,
        "formula": "IF(vCPU_to_be_Ordered__c>5000,IF(Average_Discount__c > 0.39, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>3000,IF(Average_Discount__c > 0.36, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>2000,IF(Average_Discount__c > 0.30, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>1000,IF(Average_Discount__c > 0.26, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>500,IF(Average_Discount__c > 0.23, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>75,IF(Average_Discount__c > 0.2, \"Y\", \"N\"),IF(Average_Discount__c > 0.05, \"Y\", \"N\")))))))",
        "label": "Need FP&A Approval Enterprise",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Need_FP_A_Approval_Pilot__c",
        "createable": false,
        "formula": "IF(Average_Discount__c > 0.4, \"Y\", \"N\")",
        "label": "Need FP&A Approval Pilot",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Need_FP_A_Approval_Premium__c",
        "createable": false,
        "formula": "IF(vCPU_to_be_Ordered__c>5000,IF(Average_Discount__c > 0.47, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>3000,IF(Average_Discount__c > 0.42, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>2000,IF(Average_Discount__c > 0.38, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>1000,IF(Average_Discount__c > 0.36, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>500,IF(Average_Discount__c > 0.3, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>75,IF(Average_Discount__c > 0.25, \"Y\", \"N\"),IF(Average_Discount__c > 0.05, \"Y\", \"N\")))))))",
        "label": "Need FP&A Approval Premium",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Need_FP_A_Approval_Service__c",
        "createable": false,
        "formula": "IF(Average_Discount__c > 0, \"Y\", \"N\")",
        "label": "Need FP&A Approval Service",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Need_FP_A_Approval_Standard__c",
        "createable": false,
        "formula": "IF(vCPU_to_be_Ordered__c>5000,IF(Average_Discount__c > 0.295, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>3000,IF(Average_Discount__c > 0.26, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>2000,IF(Average_Discount__c > 0.235, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>1000,IF(Average_Discount__c > 0.2, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>75,IF(Average_Discount__c > 0.15, \"Y\", \"N\"),IF(Average_Discount__c > 0, \"Y\", \"N\"))))))",
        "label": "Need FP&A Approval Standard",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Need_Finance_Head_Approval_Cloud_In_1M__c",
        "createable": false,
        "formula": "IF(ACV_Amount_USD__c>499999,IF(Average_Discount__c > 0.38, \"Y\", \"N\"),IF(ACV_Amount_USD__c>199999,IF(Average_Discount__c > 0.35, \"Y\", \"N\"),IF(ACV_Amount_USD__c>99999,IF(Average_Discount__c > 0.30, \"Y\", \"N\"),IF(ACV_Amount_USD__c>49999,IF(Average_Discount__c > 0.25, \"Y\", \"N\"),IF(ACV_Amount_USD__c>=25000,IF(Average_Discount__c > 0.2, \"Y\", \"N\"),IF(Average_Discount__c > 0, \"Y\", \"N\"))))))",
        "label": "Need Finance Head Approval Cloud In 1M",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Need_Finance_Head_Approval_Cloud_Over_1M__c",
        "createable": false,
        "formula": "IF(ACV_Amount_USD__c>9999999,IF(Average_Discount__c > 0.44, \"Y\", \"N\"),IF(ACV_Amount_USD__c>4999999,IF(Average_Discount__c > 0.42, \"Y\", \"N\"),IF(ACV_Amount_USD__c>1999999,IF(Average_Discount__c > 0.40, \"Y\", \"N\"),IF(ACV_Amount_USD__c>999999,IF(Average_Discount__c > 0.41, \"Y\", \"N\"),\"N\"))))",
        "label": "Need Finance Head Approval Cloud Over 1M",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Need_Finance_Head_Approval_Enterprise__c",
        "createable": false,
        "formula": "IF(vCPU_to_be_Ordered__c>5000,IF(Average_Discount__c > 0.635, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>3000,IF(Average_Discount__c > 0.575, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>2000,IF(Average_Discount__c > 0.505, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>1000,IF(Average_Discount__c > 0.45, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>500,IF(Average_Discount__c > 0.405, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>75,IF(Average_Discount__c > 0.35, \"Y\", \"N\"),IF(Average_Discount__c > 0.15, \"Y\", \"N\")))))))",
        "label": "Need Finance Head Approval Enterprise",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Need_Finance_Head_Approval_Pilot__c",
        "createable": false,
        "formula": "IF(Average_Discount__c > 0.65, \"Y\", \"N\")",
        "label": "Need Finance Head Approval Pilot",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Need_Finance_Head_Approval_Premium__c",
        "createable": false,
        "formula": "IF(vCPU_to_be_Ordered__c>5000,IF(Average_Discount__c > 0.75, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>3000,IF(Average_Discount__c > 0.66, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>2000,IF(Average_Discount__c > 0.6, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>1000,IF(Average_Discount__c > 0.565, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>500,IF(Average_Discount__c > 0.495, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>75,IF(Average_Discount__c > 0.41, \"Y\", \"N\"),IF(Average_Discount__c > 0.15, \"Y\", \"N\")))))))",
        "label": "Need Finance Head Approval Premium",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Need_Finance_Head_Approval_Service__c",
        "createable": false,
        "formula": "IF(Average_Discount__c > 0.1, \"Y\", \"N\")",
        "label": "Need Finance Head Approval Service",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Need_Finance_Head_Approval_Standard__c",
        "createable": false,
        "formula": "IF(vCPU_to_be_Ordered__c>5000,IF(Average_Discount__c > 0.5, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>3000,IF(Average_Discount__c > 0.45, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>2000,IF(Average_Discount__c > 0.4, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>1000,IF(Average_Discount__c > 0.35, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>75,IF(Average_Discount__c > 0.3, \"Y\", \"N\"),IF(Average_Discount__c > 0.1, \"Y\", \"N\"))))))",
        "label": "Need Finance Head Approval Standard",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Need_RGM_Approval_Cloud_Over_0K__c",
        "createable": false,
        "formula": "IF(AND(ACV_Amount_USD__c>0,ACV_Amount_USD__c<25000),IF(Average_Discount__c > 0, \"Y\", \"N\"),\"N\")",
        "label": "Need RGM Approval Cloud Over 0K",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Need_RGM_Approval_Cloud_Over_100K__c",
        "createable": false,
        "formula": "IF(AND(ACV_Amount_USD__c>99999,ACV_Amount_USD__c<=199999),IF(Average_Discount__c-Additional_Discount_to_reduce_Sales_Lead__c  > 0.28, \"Y\", \"N\"),\"N\")",
        "label": "Need RGM Approval Cloud Over 100K",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Need_RGM_Approval_Cloud_Over_10M__c",
        "createable": false,
        "formula": "IF(ACV_Amount_USD__c>9999999,IF(Average_Discount__c-Additional_Discount_to_reduce_Sales_Lead__c > 0.44, \"Y\", \"N\"),\"N\")",
        "label": "Need RGM Approval Cloud Over 10M",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Need_RGM_Approval_Cloud_Over_1M__c",
        "createable": false,
        "formula": "IF(AND(ACV_Amount_USD__c>999999,ACV_Amount_USD__c<=1999999),IF(Average_Discount__c-Additional_Discount_to_reduce_Sales_Lead__c > 0.38, \"Y\", \"N\"),\"N\")",
        "label": "Need RGM Approval Cloud Over 1M",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Need_RGM_Approval_Cloud_Over_200K__c",
        "createable": false,
        "formula": "IF(AND(ACV_Amount_USD__c>199999,ACV_Amount_USD__c<=499999),IF(Average_Discount__c-Additional_Discount_to_reduce_Sales_Lead__c > 0.32, \"Y\", \"N\"),\"N\")",
        "label": "Need RGM Approval Cloud Over 200K",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Need_RGM_Approval_Cloud_Over_25K__c",
        "createable": false,
        "formula": "IF(AND(ACV_Amount_USD__c>=25000,ACV_Amount_USD__c<=49999),IF(Average_Discount__c-Additional_Discount_to_reduce_Sales_Lead__c  > 0.18, \"Y\", \"N\"),\"N\")",
        "label": "Need RGM Approval Cloud Over 25K",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Need_RGM_Approval_Cloud_Over_2M__c",
        "createable": false,
        "formula": "IF(AND(ACV_Amount_USD__c>1999999,ACV_Amount_USD__c<=4999999),IF(Average_Discount__c-Additional_Discount_to_reduce_Sales_Lead__c > 0.40, \"Y\", \"N\"),\"N\")",
        "label": "Need RGM Approval Cloud Over 2M",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Need_RGM_Approval_Cloud_Over_500K__c",
        "createable": false,
        "formula": "IF(AND(ACV_Amount_USD__c>499999,ACV_Amount_USD__c<=999999),IF(Average_Discount__c-Additional_Discount_to_reduce_Sales_Lead__c > 0.35, \"Y\", \"N\"),\"N\")",
        "label": "Need RGM Approval Cloud Over 500K",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Need_RGM_Approval_Cloud_Over_50K__c",
        "createable": false,
        "formula": "IF(AND(ACV_Amount_USD__c>49999,ACV_Amount_USD__c<=99999),IF(Average_Discount__c-Additional_Discount_to_reduce_Sales_Lead__c  > 0.23, \"Y\", \"N\"),\"N\")",
        "label": "Need RGM Approval Cloud Over 50K",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Need_RGM_Approval_Cloud_Over_5M__c",
        "createable": false,
        "formula": "IF(AND(ACV_Amount_USD__c>4999999,ACV_Amount_USD__c<=9999999),IF(Average_Discount__c-Additional_Discount_to_reduce_Sales_Lead__c > 0.42, \"Y\", \"N\"),\"N\")",
        "label": "Need RGM Approval Cloud Over 5M",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Need_RGM_Approval_Enterprise__c",
        "createable": false,
        "formula": "IF(vCPU_to_be_Ordered__c>5000,IF(Average_Discount__c > 0.515, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>3000,IF(Average_Discount__c > 0.475, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>2000,IF(Average_Discount__c > 0.415, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>1000,IF(Average_Discount__c > 0.37, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>500,IF(Average_Discount__c > 0.335, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>75,IF(Average_Discount__c > 0.3, \"Y\", \"N\"),IF(Average_Discount__c > 0.1, \"Y\", \"N\")))))))",
        "label": "Need RGM Approval Enterprise",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Need_RGM_Approval_Pilot__c",
        "createable": false,
        "formula": "IF(Average_Discount__c > 0.45, \"Y\", \"N\")",
        "label": "Need RGM Approval Pilot",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Need_RGM_Approval_Premium__c",
        "createable": false,
        "formula": "IF(vCPU_to_be_Ordered__c>5000,IF(Average_Discount__c > 0.6, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>3000,IF(Average_Discount__c > 0.54, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>2000,IF(Average_Discount__c > 0.5, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>1000,IF(Average_Discount__c > 0.475, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>500,IF(Average_Discount__c > 0.415, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>75,IF(Average_Discount__c > 0.36, \"Y\", \"N\"),IF(Average_Discount__c > 0.10, \"Y\", \"N\")))))))",
        "label": "Need RGM Approval Premium",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Need_RGM_Approval_Service__c",
        "createable": false,
        "formula": "IF(Average_Discount__c > 0.05, \"Y\", \"N\")",
        "label": "Need RGM Approval Service",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Need_RGM_Approval_Standard__c",
        "createable": false,
        "formula": "IF(vCPU_to_be_Ordered__c>5000,IF(Average_Discount__c > 0.41, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>3000,IF(Average_Discount__c > 0.37, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>2000,IF(Average_Discount__c > 0.34, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>1000,IF(Average_Discount__c > 0.3, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>75,IF(Average_Discount__c > 0.25, \"Y\", \"N\"),IF(Average_Discount__c > 0.05, \"Y\", \"N\"))))))",
        "label": "Need RGM Approval Standard",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Need_Sales_Lead_Approval_Cloud_Over_100K__c",
        "createable": false,
        "formula": "IF(AND(ACV_Amount_USD__c>99999,ACV_Amount_USD__c<=199999),IF(Average_Discount__c-Additional_Discount_to_reduce_Sales__c > 0.22, \"Y\", \"N\"),\"N\")",
        "label": "Need Sales Lead Approval Cloud Over 100K",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Need_Sales_Lead_Approval_Cloud_Over_10M__c",
        "createable": false,
        "formula": "IF(ACV_Amount_USD__c>9999999,IF(Average_Discount__c-Additional_Discount_to_reduce_Sales__c > 0.38, \"Y\", \"N\"),\"N\")",
        "label": "Need Sales Lead Approval Cloud Over 10M",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Need_Sales_Lead_Approval_Cloud_Over_200K__c",
        "createable": false,
        "formula": "IF(AND(ACV_Amount_USD__c>199999,ACV_Amount_USD__c<=499999),IF(Average_Discount__c-Additional_Discount_to_reduce_Sales__c > 0.26, \"Y\", \"N\"),\"N\")",
        "label": "Need Sales Lead Approval Cloud Over 200K",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Need_Sales_Lead_Approval_Cloud_Over_25K__c",
        "createable": false,
        "formula": "IF(AND(ACV_Amount_USD__c>=25000,ACV_Amount_USD__c<=49999),IF(Average_Discount__c-Additional_Discount_to_reduce_Sales__c > 0.12, \"Y\", \"N\"),\"N\")",
        "label": "Need Sales Lead Approval Cloud Over 25K",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Need_Sales_Lead_Approval_Cloud_Over_500K__c",
        "createable": false,
        "formula": "IF(AND(ACV_Amount_USD__c>499999,ACV_Amount_USD__c<=999999),IF(Average_Discount__c-Additional_Discount_to_reduce_Sales__c > 0.29, \"Y\", \"N\"),\"N\")",
        "label": "Need Sales Lead Approval Cloud Over 500K",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Need_Sales_Lead_Approval_Cloud_Over_50K__c",
        "createable": false,
        "formula": "IF(AND(ACV_Amount_USD__c>49999,ACV_Amount_USD__c<=99999),IF(Average_Discount__c-Additional_Discount_to_reduce_Sales__c > 0.17, \"Y\", \"N\"),\"N\")",
        "label": "Need Sales Lead Approval Cloud Over 50K",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Need_Sales_Leader_Approval_Cloud_Over_0K__c",
        "createable": false,
        "formula": "IF(AND(ACV_Amount_USD__c>0,ACV_Amount_USD__c<25000),IF(Average_Discount__c > 0, \"Y\", \"N\"),\"N\")",
        "label": "Need Sales Leader Approval Cloud Over 0K",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Need_Sales_Leader_Approval_Cloud_Over_1M__c",
        "createable": false,
        "formula": "IF(AND(ACV_Amount_USD__c>999999,ACV_Amount_USD__c<=1999999),IF(Average_Discount__c-Additional_Discount_to_reduce_Sales__c > 0.32, \"Y\", \"N\"),\"N\")",
        "label": "Need Sales Leader Approval Cloud Over 1M",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Need_Sales_Leader_Approval_Cloud_Over_2M__c",
        "createable": false,
        "formula": "IF(AND(ACV_Amount_USD__c>1999999,ACV_Amount_USD__c<=4999999),IF(Average_Discount__c-Additional_Discount_to_reduce_Sales__c > 0.34, \"Y\", \"N\"),\"N\")",
        "label": "Need Sales Leader Approval Cloud Over 2M",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Need_Sales_Leader_Approval_Cloud_Over_5M__c",
        "createable": false,
        "formula": "IF(AND(ACV_Amount_USD__c>4999999,ACV_Amount_USD__c<=9999999),IF(Average_Discount__c-Additional_Discount_to_reduce_Sales__c > 0.36, \"Y\", \"N\"),\"N\")",
        "label": "Need Sales Leader Approval Cloud Over 5M",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Need_Sales_Leader_Approval_Enterprise__c",
        "createable": false,
        "formula": "IF(vCPU_to_be_Ordered__c>5000,IF(Average_Discount__c > 0.30, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>3000,IF(Average_Discount__c > 0.28, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>2000,IF(Average_Discount__c > 0.23, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>1000,IF(Average_Discount__c > 0.2, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>500,IF(Average_Discount__c > 0.18, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>75,IF(Average_Discount__c > 0.15, \"Y\", \"N\"),IF(Average_Discount__c > 0, \"Y\", \"N\")))))))",
        "label": "Need Sales Leader Approval Enterprise",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Need_Sales_Leader_Approval_Pilot__c",
        "createable": false,
        "formula": "IF(Average_Discount__c > 0.25, \"Y\", \"N\")",
        "label": "Need Sales Leader Approval Pilot",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Need_Sales_Leader_Approval_Premium__c",
        "createable": false,
        "formula": "IF(vCPU_to_be_Ordered__c>5000,IF(Average_Discount__c > 0.36, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>3000,IF(Average_Discount__c > 0.33, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>2000,IF(Average_Discount__c > 0.30, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>1000,IF(Average_Discount__c > 0.28, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>500,IF(Average_Discount__c > 0.25, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>75,IF(Average_Discount__c > 0.20, \"Y\", \"N\"),IF(Average_Discount__c > 0, \"Y\", \"N\")))))))",
        "label": "Need Sales Leader Approval Premium",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Need_Sales_Leader_Approval_Service__c",
        "createable": false,
        "formula": "IF(Average_Discount__c > 0, \"Y\", \"N\")",
        "label": "Need Sales Leader Approval Service",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Need_Sales_Leader_Approval_Standard__c",
        "createable": false,
        "formula": "IF(vCPU_to_be_Ordered__c>5000,IF(Average_Discount__c > 0.23, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>3000,IF(Average_Discount__c > 0.20, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>2000,IF(Average_Discount__c > 0.18, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>1000,IF(Average_Discount__c > 0.15, \"Y\", \"N\"),IF(vCPU_to_be_Ordered__c>75,IF(Average_Discount__c > 0.1, \"Y\", \"N\"),IF(Average_Discount__c > 0, \"Y\", \"N\"))))))",
        "label": "Need Sales Leader Approval Standard",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Needapprove__c",
        "default": "0",
        "label": "Needapprove",
        "type": "string"
      },
      {
        "apiName": "NetFees__c",
        "createable": false,
        "label": "Net Fees",
        "type": "string",
        "updateable": false
      },
      {
        "apiName": "OpportunityId",
        "label": "Opportunity",
        "type": "string"
      },
      {
        "apiName": "Opportunity_Name_for_email_template__c",
        "label": "Opportunity Name for email template",
        "type": "email"
      },
      {
        "apiName": "Other_Nonstandard_Terms_and_Conditions__c",
        "label": "Other Nonstandard Terms and Conditions",
        "type": "string"
      },
      {
        "apiName": "Overall_End_Date__c",
        "createable": false,
        "label": "Overall End Date",
        "type": "string",
        "updateable": false
      },
      {
        "apiName": "Overall_Start_Date__c",
        "createable": false,
        "label": "Overall Start Date",
        "type": "string",
        "updateable": false
      },
      {
        "apiName": "OwnerId",
        "label": "Owner",
        "referenceTo": [
          "User"
        ],
        "relationshipName": "Owner",
        "type": "reference"
      },
      {
        "apiName": "Partner_Margin__c",
        "label": "Partner Margin (%)",
        "type": "string"
      },
      {
        "apiName": "Partner_Name__c",
        "label": "Partner Name",
        "referenceTo": [
          "Account"
        ],
        "relationshipName": "Quotes_Partner_Name",
        "type": "reference"
      },
      {
        "apiName": "Payment_Frequency__c",
        "label": "Payment",
        "type": "string"
      },
      {
        "apiName": "Payment_Term__c",
        "label": "Payment Term",
        "options": [
          {
            "label": "30",
            "value": "30"
          },
          {
            "label": "45",
            "value": "45"
          },
          {
            "label": "60",
            "value": "60"
          },
          {
            "label": "90",
            "value": "90"
          },
          {
            "label": "JP_ME-1-ME",
            "value": "JP_ME-1-ME"
          }
        ],
        "required": true,
        "type": "picklist"
      },
      {
        "apiName": "Payment_Type__c",
        "label": "Payment Frequency",
        "options": [
          {
            "label": "Annual in Advance",
            "value": "Annual in Advance"
          },
          {
            "label": "Annual in Arrears",
            "value": "Annual in Arrears"
          },
          {
            "label": "Installments",
            "value": "Installments"
          },
          {
            "label": "Monthly in Arrears",
            "value": "Monthly in Arrears"
          },
          {
            "label": "Pay in Full in Arrears",
            "value": "Pay in Full in Arrears"
          },
          {
            "label": "Pay in Full",
            "value": "Pay in Full"
          },
          {
            "label": "Quarterly in Advance",
            "value": "Quarterly in Advance"
          },
          {
            "label": "Semi-annual in Advance",
            "value": "Semi-annual in Advance"
          }
        ],
        "required": true,
        "type": "picklist"
      },
      {
        "apiName": "Phone",
        "label": "Phone",
        "type": "phone"
      },
      {
        "apiName": "PingCAP_Contracting_Entity_EMEA_only__c",
        "createable": false,
        "formula": "TEXT( Opportunity.PingCAP_Contracting_Entity_EMEA_only__c )",
        "label": "PingCAP Contracting Entity (EMEA only)",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Prepayment_Amount_USD__c",
        "label": "Prepayment Amount (USD)",
        "type": "currency"
      },
      {
        "apiName": "Pricebook2Id",
        "label": "Price Book",
        "referenceTo": [
          "Pricebook2"
        ],
        "relationshipName": "Pricebook2",
        "type": "reference"
      },
      {
        "apiName": "Product_Family__c",
        "label": "Product Family",
        "options": [
          {
            "label": "PingCAP Consulting Services",
            "value": "PingCAP Consulting Services"
          },
          {
            "label": "PingCAP Professional Services",
            "value": "PingCAP Professional Services"
          },
          {
            "label": "PingCAP Services",
            "value": "PingCAP Services"
          },
          {
            "label": "PingCAP Training & Exam Services",
            "value": "PingCAP Training & Exam Services"
          },
          {
            "label": "TiDB Cloud",
            "value": "TiDB Cloud"
          },
          {
            "label": "TiDB Enterprise Subscription",
            "value": "TiDB Enterprise Subscription"
          }
        ],
        "type": "picklist"
      },
      {
        "apiName": "Product_Name__c",
        "label": "Product Name",
        "type": "string"
      },
      {
        "apiName": "QuoteNumber",
        "createable": false,
        "label": "Quote Number",
        "type": "string",
        "updateable": false
      },
      {
        "apiName": "Quote_No__c",
        "label": "Quote Number*",
        "type": "string"
      },
      {
        "apiName": "Rebate_Fee_Rate__c",
        "label": "Rebate Fee Rate",
        "type": "string"
      },
      {
        "apiName": "RecordTypeId",
        "label": "Record Type",
        "referenceTo": [
          "RecordType"
        ],
        "relationshipName": "RecordType",
        "type": "reference"
      },
      {
        "apiName": "Referral_Fee_Rate__c",
        "createable": false,
        "formula": "IF(TEXT(Opportunity.Opportunity_Type__c) = 'Referral', IF(Opportunity.Non_standard_Referral_Fee_Rate__c > 0,Opportunity.Non_standard_Referral_Fee_Rate__c,5 / 100),0 / 100)",
        "label": "Referral Fee Rate",
        "returnType": "percent",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Sales_Channel_Type__c",
        "createable": false,
        "formula": "TEXT( Opportunity.Sales_Channel_Type__c )",
        "label": "Sales Channel Type",
        "returnType": "string",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "Service_End_Date__c",
        "label": "Service End Date",
        "type": "date"
      },
      {
        "apiName": "Service_Start_Date__c",
        "label": "Service Start Date",
        "type": "date"
      },
      {
        "apiName": "ShippingCity",
        "label": "Shipping City",
        "type": "string"
      },
      {
        "apiName": "ShippingCountry",
        "label": "Shipping Country",
        "type": "string"
      },
      {
        "apiName": "ShippingStreet",
        "label": "Shipping Street",
        "type": "string"
      },
      {
        "apiName": "Status",
        "default": "Draft",
        "label": "Status",
        "options": [
          {
            "label": "Accepted",
            "value": "Accepted"
          },
          {
            "label": "Approved",
            "value": "Approved"
          },
          {
            "label": "Draft",
            "value": "Draft"
          },
          {
            "label": "Pending",
            "value": "Pending"
          },
          {
            "label": "Rejected",
            "value": "Rejected"
          }
        ],
        "required": true,
        "type": "picklist"
      },
      {
        "apiName": "Subtotal",
        "label": "Subtotal",
        "type": "string"
      },
      {
        "apiName": "SystemModstamp",
        "createable": false,
        "label": "System Modstamp",
        "type": "datetime",
        "updateable": false
      },
      {
        "apiName": "TCV_Amount_USD__c",
        "createable": false,
        "formula": "TCV_Amount_c__c / Exchange_Rate__c",
        "label": "TCV Amount (USD)",
        "returnType": "double",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "TCV_Amount_c__c",
        "createable": false,
        "label": "TCV Amount (Local Currency)",
        "type": "currency",
        "updateable": false
      },
      {
        "apiName": "Target_Product_Name__c",
        "label": "Target Product Name",
        "type": "string"
      },
      {
        "apiName": "Tax",
        "label": "Tax",
        "type": "string"
      },
      {
        "apiName": "Tax__c",
        "label": "Tax(%)",
        "type": "string"
      },
      {
        "apiName": "Technical_Support_Level__c",
        "label": "Technical Support Level",
        "options": [
          {
            "label": "Premium",
            "value": "Premium"
          },
          {
            "label": "Standard",
            "value": "Standard"
          }
        ],
        "type": "picklist"
      },
      {
        "apiName": "Term_months__c",
        "createable": false,
        "formula": "ROUND((Overall_End_Date__c - Overall_Start_Date__c + 1) / 30.4375, 1)",
        "label": "Term (months)",
        "returnType": "double",
        "type": "formula",
        "updateable": false
      },
      {
        "apiName": "TiDB_Cloud_Support_Tier__c",
        "label": "TiDB Cloud Support Tier",
        "options": [
          {
            "label": "Basic",
            "value": "Basic"
          },
          {
            "label": "Developer",
            "value": "Developer"
          },
          {
            "label": "Enterprise",
            "value": "Enterprise"
          },
          {
            "label": "Premium",
            "value": "Premium"
          }
        ],
        "type": "picklist"
      },
      {
        "apiName": "TotalPrice",
        "label": "Total Price",
        "type": "string"
      },
      {
        "apiName": "Total_Credit_Amount__c",
        "label": "Total Credit Amount (USD)",
        "type": "currency"
      },
      {
        "apiName": "Total_List_Price__c",
        "createable": false,
        "label": "Total List Price",
        "type": "string",
        "updateable": false
      },
      {
        "apiName": "Version_of_TiDB__c",
        "label": "Version of TiDB (vX.X)",
        "type": "string"
      },
      {
        "apiName": "Year_s_of_commitment__c",
        "label": "Year(s) of commitment",
        "type": "double"
      },
      {
        "apiName": "vCPU_to_be_Ordered__c",
        "label": "vCPU# to be Ordered",
        "type": "double"
      }
    ],
    "keyPrefix": "0Q0",
    "label": "Quote",
    "pluralLabel": "Quotes",
    "sharingModel": "ControlledByParent",
    "tableType": "standard_object"
  }
]
