...
Within the context of the sample application, this requirement is defined in "BPR10: Enforce VIN Number Accuracy" in the Developer Guide and the and the implementation is described in "About the Data Quality Design " in the Developer Guidefor the Sample Application.
See Adding a Validation Script to a Field for a detailed example using this script.