/**
 * @module globalRules
 * @summary Contains all the globally defined rules.
 * @author MB
 * @copyright Safelite
 */
const globalRules = Object.freeze({
    POLICYHOLDER_FIRST_NAME_REQUIRED: 'policyholder-first-name-required',
    POLICYHOLDER_LAST_NAME_REQUIRED: 'policyholder-last-name-required',
    POLICY_NUMBER_FORMAT: 'policy-number-format',
    POLICY_NUMBER_REQUIRED: 'policy-number-required',
    POLICY_ZIP_FORMAT: 'policy-zip-format',
    POLICY_ZIP_REQUIRED: 'policy-zip-required',
    FIRST_NAME_REQUIRED: 'first-name-required',
    LAST_NAME_REQUIRED: 'last-name-required',
    DATE_OF_LOSS_CITY_FORMAT: 'loss-city-format',
    DATE_OF_LOSS_CITY_REQUIRED: 'loss-city-required',
    DATE_OF_LOSS_STATE_REQUIRED: 'loss-state-required',
    DATE_OF_LOSS_NOT_FUTURE: 'loss-date-lt-tomorrow',
    DATE_OF_LOSS_NOT_TEN_YEARS_PAST: 'loss-date-gt-10-years',
    DATE_OF_LOSS_REQUIRED: 'loss-date-required',
    EMAIL_ADDRESS_REQUIRED: 'email-required',
    EMAIL_ADDRESS_FORMAT: 'email-address-format',
    PHONE_NUMBER_REQUIRED: 'phone-number-required',
    PHONE_NUMBER_FORMAT: 'phone-number-format',
    EXTENSION_FORMAT: 'extension-format',
    ZIP_CODE_REQUIRED: 'zip-code-required',
    ZIP_CODE_SEARCH_FORMAT: 'zip-code-search-format',
    OPTION_REQUIRED: 'option-required'
});

export default globalRules;
