1. Home
  2. Validation rules
  3. Validation rules by category

Validation rules for Office for Students (OfS)

Last updated:
29 July 2026

Rule name Version Status Error message
UCASSCHEMECODE_01 1 Changed

The UCAS scheme code must be returned for this learning aim

UCASSCHEMECODE_02 1 New

The UCAS Scheme code must be two alphabetic characters followed by two numeric digits.

UKPRN_03 1 Active

The UKPRN is not the same as recorded in the Header

ULN_04 1 Active

The Unique learner number does not pass the checksum calculation

ULN_05 1 Active

The Unique learner number is not valid

WithdrawReason_02 1 Active

The Withdrawal reason is not a valid code

WithdrawReason_03 1 Active

The Withdrawal reason must be returned for this Completion status

WithdrawReason_04 1 Active

The Withdrawal reason must not be returned for this Completion status

WithdrawReason_05 1 Active

The Withdrawal reason is only valid for OLASS - Offenders in custody

ZIP_CORRUPT 1 Active

Zip folder is corrupt or invalid

ZIP_EMPTY 1 Active

Zip folder must contain only one XML file

ZIP_INCONSISTENT_FILENAME 1 Active

Zip filename does not match the xml filename