[
  {
    "apiName": "PoC__c",
    "label": "Cloud User Request",
    "pluralLabel": "Cloud User Requests",
    "tableType": "custom_object",
    "category": "crm",
    "sharingModel": "Private",
    "enableHierarchySharing": false,
    "lifecycleStatus": "deprecated",
    "supersededBy": "Credits__c",
    "retiredOn": "2026-06-07",
    "description": "Probe-converted object spec; retirement decided in proposal §10. Kept in schema for historical lookup of legacy records (Archived__c=true), and its UI entry points are deliberately left in place because this is still the only home for those rows. Label suffixed with '(Legacy)' so AE / Sales Ops do not confuse it with the active Credits__c (label 'Credits') when both appear in Account's Related List Quick Links. New writes should go to Credits__c. Migration of 421 active legacy rows to Credits__c is tracked separately per §14; this object moves to 'retired' when that migration completes, not on a chosen date.",
    "fields": [
      {
        "apiName": "Name",
        "label": "Name",
        "type": "string",
        "isNameField": true
      },
      {
        "apiName": "Account_Name__c",
        "label": "Account Name",
        "type": "formula",
        "formula": "Account__r.Name",
        "returnType": "string",
        "formulaMode": "active",
        "createable": false,
        "updateable": false
      },
      {
        "apiName": "Account__c",
        "label": "Account",
        "type": "reference",
        "referenceTo": [
          "Account"
        ],
        "relationshipName": "Account__r",
        "childRelationshipName": "POC",
        "deleteConstraint": "SetNull"
      },
      {
        "apiName": "AliCloud_Channel__c",
        "label": "AliCloud Channel",
        "type": "boolean",
        "default": "0"
      },
      {
        "apiName": "Application_Link__c",
        "label": "Application Link",
        "type": "formula",
        "formula": "if(  OR(RecordType.DeveloperName =\"Portal\",RecordType.DeveloperName =\"Product_Feedback\",RecordType.DeveloperName =\"Request_free_trial_credits\",RecordType.DeveloperName =\"Schedule_a_Demo\",RecordType.DeveloperName =\"Other_Questions\"),HYPERLINK( Survey_Link__c ,  Name  ),\"\")",
        "returnType": "string",
        "formulaMode": "active",
        "createable": false,
        "updateable": false
      },
      {
        "apiName": "ApprovalStatus__c",
        "label": "Approval Status",
        "type": "picklist",
        "default": "Pending",
        "options": [
          {
            "value": "Pending",
            "label": "Pending"
          },
          {
            "value": "In Process",
            "label": "In Process"
          },
          {
            "value": "Approved",
            "label": "Approved"
          },
          {
            "value": "Rejected",
            "label": "Rejected"
          }
        ]
      },
      {
        "apiName": "Approval_PoC_Number__c",
        "label": "Approval PoC Number",
        "type": "formula",
        "formula": "IF( Account__r.Approval_Poc_Number__c >0,Account__r.Approval_Poc_Number__c, Lead__r.Approval_Poc_Number__c )",
        "returnType": "double",
        "formulaMode": "active",
        "createable": false,
        "updateable": false
      },
      {
        "apiName": "Approved_Date__c",
        "label": "Approved Date",
        "type": "date"
      },
      {
        "apiName": "Business_Leader_Approval_or_not__c",
        "label": "Business Leader Approval or not",
        "type": "boolean",
        "default": "0"
      },
      {
        "apiName": "Cloud_Credits_Requested__c",
        "label": "Cloud Credits Requested Already",
        "type": "formula",
        "formula": "Opportunity__r.Cloud_Credits_Requested__c",
        "returnType": "double",
        "formulaMode": "active",
        "createable": false,
        "updateable": false
      },
      {
        "apiName": "Company_Name__c",
        "label": "Company Name",
        "type": "string"
      },
      {
        "apiName": "Contact__c",
        "label": "Contact",
        "type": "reference",
        "referenceTo": [
          "Contact"
        ],
        "relationshipName": "Contact__r",
        "childRelationshipName": "POC",
        "deleteConstraint": "SetNull"
      },
      {
        "apiName": "Credits_Needed_F__c",
        "label": "Credits Needed F",
        "type": "formula",
        "formula": "Opportunity__r.Cloud_Credits_Requested__c",
        "returnType": "double",
        "formulaMode": "active",
        "createable": false,
        "updateable": false
      },
      {
        "apiName": "Enough_Man_power_Available_for_the_PoC__c",
        "label": "Enough Man-power Available for the PoC",
        "type": "boolean",
        "default": "0"
      },
      {
        "apiName": "External_Id__c",
        "label": "External Id",
        "type": "string"
      },
      {
        "apiName": "First_Name__c",
        "label": "First Name",
        "type": "string"
      },
      {
        "apiName": "Internal_User__c",
        "label": "Internal User",
        "type": "formula",
        "formula": "IF(ISBLANK(Account__c) ,  Lead__r.Internal_User__c ,  Account__r.Internal_User__c )",
        "returnType": "boolean",
        "formulaMode": "active",
        "createable": false,
        "updateable": false
      },
      {
        "apiName": "Invalid__c",
        "label": "Invalid",
        "type": "boolean",
        "default": "0"
      },
      {
        "apiName": "Justification_to_Points_Needed__c",
        "label": "Justification to Credits Needed",
        "type": "textarea"
      },
      {
        "apiName": "Last_Modified_Text__c",
        "label": "Last Modified Text",
        "type": "textarea"
      },
      {
        "apiName": "Last_Name__c",
        "label": "Last Name",
        "type": "string"
      },
      {
        "apiName": "Lead_Owner__c",
        "label": "Lead Owner",
        "type": "reference",
        "referenceTo": [
          "User"
        ],
        "relationshipName": "Lead_Owner__r",
        "childRelationshipName": "PoC4",
        "deleteConstraint": "SetNull"
      },
      {
        "apiName": "Lead__c",
        "label": "Lead",
        "type": "reference",
        "referenceTo": [
          "Lead"
        ],
        "relationshipName": "Lead__r",
        "childRelationshipName": "POC",
        "deleteConstraint": "SetNull"
      },
      {
        "apiName": "Need_Convert__c",
        "label": "Need Convert",
        "type": "boolean",
        "default": "0"
      },
      {
        "apiName": "Opportunity__c",
        "label": "Opportunity",
        "type": "reference",
        "referenceTo": [
          "Opportunity"
        ],
        "relationshipName": "Opportunity__r",
        "childRelationshipName": "POC",
        "deleteConstraint": "SetNull"
      },
      {
        "apiName": "Org__c",
        "label": "Org",
        "type": "reference",
        "referenceTo": [
          "Org__c"
        ],
        "relationshipName": "Org__r",
        "childRelationshipName": "Cloud_User_Request",
        "deleteConstraint": "SetNull"
      },
      {
        "apiName": "Phone_Number__c",
        "label": "Phone Number",
        "type": "string"
      },
      {
        "apiName": "PoC_Completed_Date__c",
        "label": "PoC Completed Date",
        "type": "datetime"
      },
      {
        "apiName": "PoC_Customer_Payment__c",
        "label": "PoC Customer Payment",
        "type": "picklist",
        "options": [
          {
            "value": "No Payment",
            "label": "No Payment"
          },
          {
            "value": "Partial Payment",
            "label": "Partial Payment"
          }
        ]
      },
      {
        "apiName": "PoC_Duration_Days__c",
        "label": "PoC Duration (Days)",
        "type": "formula",
        "formula": "Proposed_PoC_End_Date__c - Proposed_PoC_Start_Date__c",
        "returnType": "double",
        "formulaMode": "active",
        "createable": false,
        "updateable": false
      },
      {
        "apiName": "PoC_Failed_Reason__c",
        "label": "PoC Failed Reason",
        "type": "string"
      },
      {
        "apiName": "PoC_Grading__c",
        "label": "Use Case & Persona Scoring",
        "type": "picklist",
        "options": [
          {
            "value": "A",
            "label": "A-most suitable scenario for TiDB"
          },
          {
            "value": "B",
            "label": "B-suitable scenario for TiDB"
          },
          {
            "value": "C",
            "label": "C-challenging scenario that needs further evaluation"
          },
          {
            "value": "D",
            "label": "D-not suitable scenario for TiDB"
          }
        ]
      },
      {
        "apiName": "PoC_Start_Date__c",
        "label": "PoC Start Date",
        "type": "datetime"
      },
      {
        "apiName": "PoC_Status__c",
        "label": "PoC Status",
        "type": "picklist",
        "options": [
          {
            "value": "Canceled - Before PoC",
            "label": "Canceled - Before PoC"
          },
          {
            "value": "Canceled - During PoC",
            "label": "Canceled - During PoC"
          },
          {
            "value": "Failed",
            "label": "Failed"
          },
          {
            "value": "Ongoing",
            "label": "Ongoing"
          },
          {
            "value": "Paused",
            "label": "Paused"
          },
          {
            "value": "Waitlist",
            "label": "Waitlist"
          },
          {
            "value": "Won",
            "label": "Won"
          }
        ]
      },
      {
        "apiName": "PoC_Successful_Criteria__c",
        "label": "PoC Successful Criteria",
        "type": "richtextarea"
      },
      {
        "apiName": "Points_Expiry_Date__c",
        "label": "Credits Expiry Date",
        "type": "date"
      },
      {
        "apiName": "Points_Needed__c",
        "label": "Credits Needed",
        "type": "double"
      },
      {
        "apiName": "Pre_sales__c",
        "label": "Pre-sales",
        "type": "reference",
        "referenceTo": [
          "User"
        ],
        "relationshipName": "Pre_sales__r",
        "childRelationshipName": "PoC_Presales",
        "deleteConstraint": "SetNull"
      },
      {
        "apiName": "Presales_Auto_approve__c",
        "label": "Presales Auto-approve",
        "type": "boolean",
        "default": "0"
      },
      {
        "apiName": "Proposed_PoC_End_Date__c",
        "label": "Proposed PoC End Date",
        "type": "date"
      },
      {
        "apiName": "Proposed_PoC_Start_Date__c",
        "label": "Proposed PoC Start Date",
        "type": "date"
      },
      {
        "apiName": "RWP_Engagement__c",
        "label": "RWP Engagement",
        "type": "boolean",
        "default": "0"
      },
      {
        "apiName": "RecordTypeDeveloperName__c",
        "label": "RecordTypeDeveloperName",
        "type": "formula",
        "formula": "RecordType.DeveloperName",
        "returnType": "string",
        "formulaMode": "active",
        "createable": false,
        "updateable": false
      },
      {
        "apiName": "RegionGPE__c",
        "label": "Regional GPE",
        "type": "reference",
        "referenceTo": [
          "User"
        ],
        "relationshipName": "RegionGPE__r",
        "childRelationshipName": "PoC1",
        "deleteConstraint": "SetNull"
      },
      {
        "apiName": "Region_Leader__c",
        "label": "Region Leader",
        "type": "reference",
        "referenceTo": [
          "User"
        ],
        "relationshipName": "Region_Leader__r",
        "childRelationshipName": "PoCSon",
        "deleteConstraint": "SetNull"
      },
      {
        "apiName": "Region__c",
        "label": "Region",
        "type": "formula",
        "formula": "if( ISBLANK( Account__c ),text( Lead__r.Region__c ), text(Account__r.Region__c))",
        "returnType": "string",
        "formulaMode": "active",
        "createable": false,
        "updateable": false
      },
      {
        "apiName": "Regional_Finance__c",
        "label": "Regional Finance",
        "type": "reference",
        "referenceTo": [
          "User"
        ],
        "relationshipName": "Regional_Finance__r",
        "childRelationshipName": "PoC5",
        "deleteConstraint": "SetNull"
      },
      {
        "apiName": "Regional_SDR__c",
        "label": "Regional SDR",
        "type": "reference",
        "referenceTo": [
          "User"
        ],
        "relationshipName": "Regional_SDR__r",
        "childRelationshipName": "PoC3",
        "deleteConstraint": "SetNull"
      },
      {
        "apiName": "Related_PoC_Number__c",
        "label": "Related PoC Number",
        "type": "reference",
        "referenceTo": [
          "PoC__c"
        ],
        "relationshipName": "Related_PoC_Number__r",
        "childRelationshipName": "Adding_Credits",
        "deleteConstraint": "SetNull"
      },
      {
        "apiName": "Sales_Manager__c",
        "label": "Sales Manager",
        "type": "formula",
        "formula": "Sales_Owner__r.Manager.Alias",
        "returnType": "string",
        "formulaMode": "active",
        "createable": false,
        "updateable": false
      },
      {
        "apiName": "Sales_Owner__c",
        "label": "Sales Owner",
        "type": "reference",
        "referenceTo": [
          "User"
        ],
        "relationshipName": "Sales_Owner__r",
        "childRelationshipName": "PoC2",
        "deleteConstraint": "SetNull"
      },
      {
        "apiName": "Score__c",
        "label": "PoC Scoring",
        "type": "double"
      },
      {
        "apiName": "Survey_Link__c",
        "label": "Link",
        "type": "url"
      },
      {
        "apiName": "Survey_Template__c",
        "label": "Application Template",
        "type": "reference",
        "referenceTo": [
          "Survey__c"
        ],
        "relationshipName": "Survey_Template__r",
        "childRelationshipName": "POC",
        "deleteConstraint": "SetNull"
      },
      {
        "apiName": "Tech_Support__c",
        "label": "Region Tech Support",
        "type": "reference",
        "referenceTo": [
          "User"
        ],
        "relationshipName": "Tech_Support__r",
        "childRelationshipName": "PoC",
        "deleteConstraint": "SetNull"
      },
      {
        "apiName": "TiDB_Cloud_Account_ID_to_run_This_PoC__c",
        "label": "TiDB Cloud Organization ID",
        "type": "formula",
        "formula": "IF( ISBLANK( Org__c ) ,  IF( ISBLANK( Account__c ) ,  Lead__r.Portal_ID__c ,  Account__r.Portal_ID__c ) ,  Org__r.ID__c )",
        "returnType": "string",
        "formulaMode": "active",
        "createable": false,
        "updateable": false
      },
      {
        "apiName": "TiDB_s_Premium_Scenario__c",
        "label": "TiDB's Premium Scenario",
        "type": "boolean",
        "default": "0"
      },
      {
        "apiName": "Work_Email__c",
        "label": "Work Email",
        "type": "string"
      },
      {
        "apiName": "message__c",
        "label": "Tell us about your requirements or messa",
        "type": "textarea"
      },
      {
        "apiName": "subtopic__c",
        "label": "What are you primarily looking to test?",
        "type": "picklist",
        "options": [
          {
            "value": "Availability or durability",
            "label": "Availability or durability"
          },
          {
            "value": "Compatibility",
            "label": "Compatibility"
          },
          {
            "value": "Query Performance",
            "label": "Query Performance"
          },
          {
            "value": "Scalability",
            "label": "Scalability"
          },
          {
            "value": "Data migration",
            "label": "Data migration"
          },
          {
            "value": "Ease of use",
            "label": "Ease of use"
          },
          {
            "value": "Security",
            "label": "Security"
          },
          {
            "value": "Integrations",
            "label": "Integrations"
          },
          {
            "value": "Other",
            "label": "Other"
          }
        ]
      }
    ],
    "keyPrefix": "a0M"
  }
]
