[
  {
    "apiName": "HubSpotSalesforceIdentityClaimQuarantine__c",
    "label": "HubSpot Salesforce Identity Claim Quarantine",
    "pluralLabel": "HubSpot Salesforce Identity Claim Quarantines",
    "tableType": "custom_object",
    "category": "crm",
    "sharingModel": "Private",
    "enableHierarchySharing": false,
    "description": "Durable non-blocking quarantine for malformed, unadmitted, object-mismatched, or already-owned Salesforce person claims observed on authenticated HubSpot inbound delivery.",
    "fields": [
      {
        "apiName": "PortalId__c",
        "label": "HubSpot Portal Id",
        "type": "string",
        "length": 32,
        "required": true
      },
      {
        "apiName": "HubSpotRemoteId__c",
        "label": "HubSpot Remote Id",
        "type": "string",
        "length": 128,
        "required": true
      },
      {
        "apiName": "SalesforceOrganizationId__c",
        "label": "Salesforce Organization Id",
        "type": "string",
        "length": 18
      },
      {
        "apiName": "SalesforceObject__c",
        "label": "Salesforce Object",
        "type": "picklist",
        "required": true,
        "options": [
          {
            "value": "Lead",
            "label": "Lead"
          },
          {
            "value": "Contact",
            "label": "Contact"
          },
          {
            "value": "Ambiguous",
            "label": "Ambiguous"
          }
        ]
      },
      {
        "apiName": "SalesforceRecordId__c",
        "label": "Raw Salesforce Claim",
        "type": "textarea",
        "required": true
      },
      {
        "apiName": "SalesforceIdentityKey__c",
        "label": "Salesforce Identity Key",
        "type": "string",
        "length": 80
      },
      {
        "apiName": "TargetObject__c",
        "label": "Target Object",
        "type": "string",
        "length": 64,
        "required": true
      },
      {
        "apiName": "TargetRecordId__c",
        "label": "Target Record Id",
        "type": "string",
        "length": 64,
        "required": true
      },
      {
        "apiName": "Status__c",
        "label": "Status",
        "type": "picklist",
        "required": true,
        "options": [
          {
            "value": "malformed",
            "label": "malformed"
          },
          {
            "value": "unadmitted",
            "label": "unadmitted"
          },
          {
            "value": "object_mismatch",
            "label": "object_mismatch"
          },
          {
            "value": "already_owned",
            "label": "already_owned"
          },
          {
            "value": "claim_error",
            "label": "claim_error"
          }
        ]
      },
      {
        "apiName": "Reason__c",
        "label": "Reason",
        "type": "string",
        "length": 255,
        "required": true
      },
      {
        "apiName": "Resolved__c",
        "label": "Resolved",
        "type": "boolean",
        "required": true,
        "default": "0"
      }
    ],
    "indices": [
      {
        "name": "idx_hs_sf_claim_quarantine_portal_status",
        "columns": [
          "PortalId__c",
          "Status__c"
        ]
      },
      {
        "name": "idx_hs_sf_claim_quarantine_target",
        "columns": [
          "TargetObject__c",
          "TargetRecordId__c"
        ]
      }
    ]
  }
]
