{
  "fullActions": [
    {
      "name": "EditProducts",
      "label": "Edit Products",
      "type": "NavigateToRelatedList",
      "icon": "Package",
      "objectApiName": "Quote",
      "config": {
        "targetObject": "quote_product__c",
        "lookupField": "Quote__c"
      }
    },
    {
      "name": "UploadArchivedOF",
      "label": "Upload Archived OF",
      "type": "UploadFileUpdateRecord",
      "icon": "Upload",
      "objectApiName": "Order",
      "config": {
        "accept": ".pdf",
        "attachmentKind": "archived_order",
        "description": "Upload the archived order form PDF for this Order.",
        "visibilityCondition": "record.Status == 'Approved' || record.Archived__c == true"
      }
    },
    {
      "name": "UploadArchivedContract",
      "label": "Upload Archived Contr.",
      "type": "UploadFileUpdateRecord",
      "icon": "Upload",
      "objectApiName": "Contract",
      "config": {
        "accept": ".pdf",
        "attachmentKind": "archived_contract",
        "description": "Upload the archived contract PDF for this Contract.",
        "visibilityCondition": "record.Status == 'Approved' || record.Archived__c == true"
      }
    },
    {
      "name": "ApplyForPoC",
      "label": "Apply for PoC",
      "type": "NavigateToNewRecord",
      "icon": "FlaskConical",
      "objectApiName": "Opportunity",
      "targetObject": "PoC__c",
      "config": {
        "lookupField": "OpportunityId",
        "prefillMappings": {
          "AccountId": "AccountId",
          "OwnerId": "OwnerId",
          "Name": "PoC for {record.Name}"
        }
      }
    }
  ],
  "standardActionFieldDefaults": [
    {
      "standardActionName": "convertLead",
      "targetObject": "OpportunityContactRole",
      "fieldAPIName": "Role",
      "valueFormula": "'Decision_Maker'",
      "priority": 0
    }
  ],
  "overlays": [
    {
      "name": "CreateQuote",
      "objectApiName": "Opportunity",
      "configOverlay": {
        "workflow": {
          "fieldMappings": {
            "Product_Family__c": "Product_Family__c",
            "Overall_Start_Date__c": "Overall_Start_Date__c"
          }
        }
      }
    },
    {
      "name": "CreateContract",
      "objectApiName": "Account",
      "configOverlay": {
        "prefillMappings": {
          "PingCAP_Contracting_Entity__c": "PingCAP_Contracting_Entity__c",
          "Region__c": "Region__c"
        }
      }
    },
    {
      "name": "CreateOrder",
      "objectApiName": "Quote",
      "configOverlay": {
        "prefillMappings": {
          "EffectiveDate": "Service_Start_Date__c",
          "EndDate": "Service_End_Date__c",
          "Order_End_Date__c": "Service_End_Date__c",
          "Overall_Start_Date__c": "Overall_Start_Date__c",
          "Overall_End_Date__c": "Overall_End_Date__c",
          "Product_Family__c": "Product_Family__c",
          "Payment_Term__c": "Payment_Term__c",
          "Payment_Type__c": "Payment_Type__c",
          "Tax__c": "Tax__c",
          "Net_Fees__c": "NetFees__c",
          "ACV_Amount_do_not_use__c": "ACV_Amount_do_not_use__c",
          "Partner_Name__c": "Partner_Name__c",
          "ACV_Amount__c": "ACV_Amount__c",
          "Average_Discount__c": "Average_Discount__c",
          "Exchange_Rate__c": "Exchange_Rate__c",
          "Partner_Margin__c": "Partner_Margin__c",
          "PingCAP_Contracting_Entity_EMEA_only__c": "PingCAP_Contracting_Entity_EMEA_only__c",
          "Rebate_Fee_Rate__c": "Rebate_Fee_Rate__c",
          "Referral_Fee_Rate__c": "Referral_Fee_Rate__c",
          "Sales_Channel_Type__c": "Sales_Channel_Type__c",
          "Total_List_Price__c": "Total_List_Price__c",
          "Version_of_TiDB__c": "Version_of_TiDB__c",
          "Term__c": "Term_months__c",
          "TCV_Amount__c": "TCV_Amount_c__c",
          "Applicable_Law__c": "Contract.Applicable_Law__c",
          "Owned_DM__c": "Contract.Owned_DM__c",
          "PingCAP_Contracting_Entity__c": "Contract.PingCAP_Contracting_Entity__c",
          "PingCAP_RevRec_Entity__c": "Contract.PingCAP_Contracting_Entity__c",
          "Deal_Registration__c": "Opportunity.Deal_Registration__c"
        }
      }
    }
  ]
}
