# Validation Rules

The validation rules are used by the PassCheck platform. These are rules that products abide by. Each rule is responsible for validating its own rule and nothing else. Here is a list of the available rules and what they do.

# Continuity

This rule, if activated on a product, checks if the user already used it on the same day, if allowed, will validate the reuse of the pass on that day. If however it's not activated, it will not allow the use of it more than once a day.

This rule is people who book for a day ticket then decide to continue skiing during the evening.

This rule is only applied for bookings made with an association pass or using the pass directly in PassCheck.

# Day

This rule checks if the ticket is for the current day. It is only used for bookings. Direct access using an association pass does not in general validate day.

The only product that uses this rule is the Individual 5 pass. Like the name says it's only allowed 5 days per week.

This rule is also used at the Marketplace level to validate if the pass used is allowed on requested day.

# MaxUse

This rule checks if the pass you are using has reached its use limit. For example, a Corpo + is allowed 4 uses of a single ticket, or 2 uses of 2 tickets. 1 use = 1 ski ticket.

This rule checks if you have reached the limit, if you did, it will not allow the use of the pass.

This rule is also used at the Marketplace level to validate that same rule for the passes that have a limit set on them.

# Relay

This rule, if activated, checks if the user has already used the given pass on the same day but at a different resort. If the pass has relay activated, it will be permitted to redeem it for a ski ticket at another resort. Otherwise, it will not allow the use of the pass.

# Resort

This rule checks if the pass or booking is for the resort that is using PassCheck. The reason it checks if the pass can be used at the resort is because some resorts do not honor some association passes.

# Time

This rule checks if the booking is used at the right period of the day. If a user buys an AM ticket, it cannot be used in the afternoon or evening. a Day ticket can be used either in AM and/or PM.

Last Updated: 7/15/2022, 3:12:37 PM