"""Validation Constants.""" # Common VALIDATOR = 'validator' VALIDATOR_VALUE = 'validator_value' VALIDATOR_MESSAGE = 'message' # Track validation. ISRC_UNIQUE_MSG = { VALIDATOR: 'isrc_unique', VALIDATOR_VALUE: True, VALIDATOR_MESSAGE: ( 'ISRC is not unique. ISRC must be unique' ' for tracks within the same product.')} TRACKS_UNIQUE_MSG = { VALIDATOR: 'tracks_unique', VALIDATOR_VALUE: True, VALIDATOR_MESSAGE: 'There are duplicate tracks in your tracklist.'} SEQUENCE_INTEGRITY_MSG = { VALIDATOR: 'sequence_integrity', VALIDATOR_VALUE: True, VALIDATOR_MESSAGE: 'There are errors with your track numbers.'} SEQUENCE_DISC_INTEGRITY_MSG = { VALIDATOR: 'disk_sequence_integrity', VALIDATOR_VALUE: True, VALIDATOR_MESSAGE: 'There are missing disc numbers in your tracklist.'} SUBMITTED_PRODUCT_SALE_START_DATE_MSG = { VALIDATOR: 'submitted_product_sale_start_date', VALIDATOR_VALUE: True, VALIDATOR_MESSAGE: ('We require all physical products to be submitted at' ' least 60 days before the sales date. Please adjust' ' your sales date or contact your label manager' ' directly.') }