<?xml version="1.0" encoding="UTF-8"?>
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>CA_Validate_Label_IDs</fullName>
    <active>true</active>
    <description>This rule enforces specific characters in the Label ID field.</description>
    <errorConditionFormula>AND(
        RecordType.DeveloperName = "Content_Acquisition",
        NOT($Permission.CA_Bypass_VRs),
        NOT(REGEX(CA_MA_Label_ID__c, &quot;^[0-9]*$&quot;))
    )</errorConditionFormula>
    <errorDisplayField>CA_MA_Label_ID__c</errorDisplayField>
    <errorMessage>This field can only contain numbers.</errorMessage>
</ValidationRule>