Validation functions for the Automotive velocity pack
Learn what validation functions are preconfigured in entity types for the Automotive velocity pack.
The data model for the Automotive velocity pack includes validation functions for some entity types. Use validation functions to ensure data accuracy and improve data quality by checking data ingested into the Reltio platform against a set of validation functions defined for an entity type and then report the correctness of the data.
For general information on validation functions, see Define Data Validation Functions. For details on the preconfigured entity types that come with the Automotive velocity pack, see Entity types for the Automotive velocity pack.
Vehicle entity type validation functions
This table identifies the validation functions for the Vehicle entity type.
| Attribute to validate | Description | Validation warning message |
|---|---|---|
| deliveryDate | Reports an invalid value for deliveryDate. | deliveryDate must be on or after productionDate. |
| odometerReading | Reports an invalid value for odometerReading. | Odometer Reading (km) cannot be negative. |
| registrationExpiryDate | Reports an invalid value for registrationExpiryDate. | Registration expiry date must be after the date it became valid. |
| soldDate | Reports an invalid value for soldDate. | soldDate must be on or after productionDate. |
| vin | Reports an invalid format if vin doesn't match the criteria ^[A-HJ-NPR-Z0-9]{17}$. | VIN must contain 17 uppercase letters or digits and cannot contain I, O, or Q. |
| endDate | Reports an invalid value for endDate. | Warranty coverage end date must be on or after the start date. |
| vin | Reports a missing value if vin is not provided. | VIN is required. |
VehicleModel entity type validation functions
This table identifies the validation functions for the VehicleModel entity type.
| Attribute to validate | Description | Validation warning message |
|---|---|---|
| productionEndDate | Reports an invalid value for productionEndDate. | productionEndDate must be after productionStartDate. |
| make | Reports a missing value if make is not provided. | make is required. |
| modelName | Reports a missing value if modelName is not provided. | modelName is required. |
| modelYearFrom | Reports a missing value if modelYearFrom is not provided. | modelYearFrom is required. |
VehicleSpecification entity type validation functions
This table identifies the validation functions for the VehicleSpecification entity type.
| Attribute to validate | Description | Validation warning message |
|---|---|---|
| listPriceCurrency | Reports an invalid format if listPriceCurrency doesn't match the criteria ^[A-Z]{3}$. | Must be a 3-letter ISO 4217 code |
| specificationName | Reports a missing value if specificationName is not provided. | specificationName is required. |
Organization entity type validation functions
This table identifies the validation functions for the Organization entity type.
| Attribute to validate | Description | Validation warning message |
|---|---|---|
| dunsNumber | Reports an invalid format if dunsNumber doesn't match the criteria ^[0-9]{9}$. | DUNS number must be 9 numeric digits |
| gln | Reports an invalid format if gln doesn't match the criteria ^[0-9]{13}$. | GLN must be 13 numeric digits (GS1) |
| lei | Reports an invalid format if lei doesn't match the criteria ^[A-Z0-9]{20}$. | LEI must be 20 uppercase alphanumeric characters |
| Reports an invalid format if Email doesn't match the criteria ^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$. | Email address must be valid | |
| Number | Reports an invalid format if Number doesn't match the criteria ^[+]?[0-9][0-9\\s()-]{6,24}$. | Phone number must be valid |
| salesCurrency | Reports an invalid format if salesCurrency doesn't match the criteria ^[A-Z]{3}$. | Must be a 3-letter ISO 4217 code |
| Name | Reports a missing value if Name is not provided. | Name is required. |
| OrganizationType | Reports a missing value if OrganizationType is not provided. | OrganizationType is required — it separates dealers, fleets, insurers, and OEMs. |
| Name | Reports an invalid format if Name doesn't match the criteria ^.{1,3}$. | Suspiciously Short Name |
Supplier entity type validation functions
This table identifies the validation functions for the Supplier entity type.
| Attribute to validate | Description | Validation warning message |
|---|---|---|
| expiryDate | Reports an invalid value for expiryDate. | Certification expiry date must be on or after the issued date. |
| dunsNumber | Reports an invalid format if dunsNumber doesn't match the criteria ^[0-9]{9}$. | DUNS number must be 9 numeric digits |
| gln | Reports an invalid format if gln doesn't match the criteria ^[0-9]{13}$. | GLN must be 13 numeric digits (GS1) |
| lei | Reports an invalid format if lei doesn't match the criteria ^[A-Z0-9]{20}$. | LEI must be 20 uppercase alphanumeric characters |
| Reports an invalid format if Email doesn't match the criteria ^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$. | Email address must be valid | |
| Number | Reports an invalid format if Number doesn't match the criteria ^[+]?[0-9][0-9\\s()-]{6,24}$. | Phone number must be valid |
| Name | Reports a missing value if Name is not provided. | Name is required. |
RegulatoryAuthority entity type validation functions
This table identifies the validation functions for the RegulatoryAuthority entity type.
| Attribute to validate | Description | Validation warning message |
|---|---|---|
| dissolvedDate | Reports an invalid value for dissolvedDate. | dissolvedDate must be after establishedDate. |
| lei | Reports an invalid format if lei doesn't match the criteria ^[A-Z0-9]{20}$. | LEI must be 20 uppercase alphanumeric characters |
| authorityName | Reports a missing value if authorityName is not provided. | authorityName is required. |
| status | Reports a missing value if status is not provided. | status is required. |
| authorityType | Reports a missing value if authorityType is not provided. | authorityType is required. |
Individual entity type validation functions
This table identifies the validation functions for the Individual entity type.
| Attribute to validate | Description | Validation warning message |
|---|---|---|
| FirstName | Reports an invalid format if FirstName doesn't match the criteria .*[0-9].*. | First Name Contains Numbers |
| CompletionDate | Reports an invalid value for CompletionDate. | Certificate expiration date must be on or after the training completion date. |
| ExpirationDate | Reports an invalid value for ExpirationDate. | Certificate expiration date must be on or after the issued date. |
| ExpirationDate | Reports an invalid value for ExpirationDate. | Communication consent expiration date must be on or after its start date. |
| Reports an invalid format if Email doesn't match the criteria ^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$. | Email address must be valid | |
| Number | Reports an invalid format if Number doesn't match the criteria ^[+]?[0-9][0-9\\s()-]{6,24}$. | Phone number must be valid |
| ExpiryDate | Reports an invalid value for ExpiryDate. | Policy consent expiry date must be on or after its effective date. |
| LastName | Reports an invalid format if LastName doesn't match the criteria .*[0-9].*. | Last Name Contains Numbers |
| FirstName | Reports a missing value if FirstName is not provided. | Missing First or Last Name |
| DoB | Reports an invalid value for DoB. | Suspicious Date of Birth |
RecallCampaign entity type validation functions
This table identifies the validation functions for the RecallCampaign entity type.
| Attribute to validate | Description | Validation warning message |
|---|---|---|
| applicableModelYearEnd | Reports an invalid value for applicableModelYearEnd. | applicableModelYearEnd must be greater than or equal to applicableModelYearStart. |
| campaignClosedDate | Reports an invalid value for campaignClosedDate. | campaignClosedDate must be after recallInitiationDate. |
| campaignStatus | Reports a missing value if campaignStatus is not provided. | campaignStatus is required. |
| campaignTitle | Reports a missing value if campaignTitle is not provided. | campaignTitle is required. |
| campaignType | Reports a missing value if campaignType is not provided. | campaignType is required. |
| defectDescription | Reports a missing value if defectDescription is not provided. | defectDescription is required — owner notices cannot be generated without it. |
| remedyDescription | Reports a missing value if remedyDescription is not provided. | remedyDescription is required — owner notices cannot be generated without it. |
Household entity type validation functions
This table identifies the validation functions for the Household entity type.
| Attribute to validate | Description | Validation warning message |
|---|---|---|
| memberCount | Reports an invalid value for memberCount. | memberCount cannot be negative. |
| householdName | Reports a missing value if householdName is not provided. | householdName is required. |
Location entity type validation functions
This table identifies the validation functions for the Location entity type.
| Attribute to validate | Description | Validation warning message |
|---|---|---|
| gln | Reports an invalid format if gln doesn't match the criteria ^[0-9]{13}$. | GLN must be 13 numeric digits (GS1) |
| expirationDate | Reports an invalid value for expirationDate. | expirationDate must be on or after effectiveDate. |
| Latitude | Reports an invalid date order for Latitude based on the configured rule. | Latitude must be between -90 and 90. |
| Longitude | Reports an invalid date order for Longitude based on the configured rule. | Longitude must be between -180 and 180. |
| VerificationStatus | Reports an invalid value for VerificationStatus. | Address verification is unverified or failed |
Agreement entity type validation functions
This table identifies the validation functions for the Agreement entity type.
| Attribute to validate | Description | Validation warning message |
|---|---|---|
| expiryDate | Reports an invalid value for expiryDate. | expiryDate must be on or after effectiveDate. |
| renewalDate | Reports an invalid value for renewalDate. | renewalDate must be on or after effectiveDate. |
| terminationDate | Reports an invalid value for terminationDate. | terminationDate must be on or after effectiveDate. |
| agreementNumber | Reports a missing value if agreementNumber is not provided. | agreementNumber is required. |
| agreementType | Reports a missing value if agreementType is not provided. | agreementType is required. |
EVBattery entity type validation functions
This table identifies the validation functions for the EVBattery entity type.
| Attribute to validate | Description | Validation warning message |
|---|---|---|
| stateOfHealthMeasuredDate | Reports an invalid value for stateOfHealthMeasuredDate. | stateOfHealthMeasuredDate must be on or after manufactureDate. |
| warrantyEndDate | Reports an invalid value for warrantyEndDate. | warrantyEndDate must be on or after manufactureDate. |
| batteryIdentifier | Reports a missing value if batteryIdentifier is not provided. | batteryIdentifier is required. |
RegulatoryDocument entity type validation functions
This table identifies the validation functions for the RegulatoryDocument entity type.
| Attribute to validate | Description | Validation warning message |
|---|---|---|
| effectiveDate | Reports an invalid value for effectiveDate. | effectiveDate must be on or after publicationDate. |
| expiryDate | Reports an invalid value for expiryDate. | expiryDate must be on or after effectiveDate. |
| transitionDate | Reports an invalid value for transitionDate. | transitionDate must be on or after publicationDate. |
| documentType | Reports a missing value if documentType is not provided. | documentType is required. |
| regulationId | Reports a missing value if regulationId is not provided. | regulationId is required. |
| shortTitle | Reports a missing value if shortTitle is not provided. | shortTitle is required. |
ComplianceObligation entity type validation functions
This table identifies the validation functions for the ComplianceObligation entity type.
| Attribute to validate | Description | Validation warning message |
|---|---|---|
| expiryDate | Reports an invalid value for expiryDate. | expiryDate must be on or after effectiveDate. |
| transitionDeadline | Reports an invalid value for transitionDeadline. | transitionDeadline must be on or after effectiveDate. |
| obligationName | Reports a missing value if obligationName is not provided. | obligationName is required. |
| obligationType | Reports a missing value if obligationType is not provided. | obligationType is required. |