Unify and manage your data

Validation functions for the Mill Products & Mining velocity pack

Learn what validation functions are preconfigured in entity types for the Mill Products & Mining velocity pack.

The data model for the Mill Products & Mining 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 Mill Products & Mining velocity pack, see Entity types for the Mill Products & Mining velocity pack.

Organization entity type validation functions

This table identifies the validation functions for the Organization entity type.

Attribute to validateDescriptionValidation warning message
creditLimitCurrencyReports an invalid format if creditLimitCurrency doesn't match the criteria ^[A-Z]{3}$.Must be a 3-letter ISO 4217 code
dunsNumberReports an invalid format if dunsNumber doesn't match the criteria ^[0-9]{9}$.DUNS number must be 9 numeric digits
glnReports an invalid format if gln doesn't match the criteria ^[0-9]{13}$.GLN must be 13 numeric digits (GS1)
leiReports an invalid format if lei doesn't match the criteria ^[A-Z0-9]{20}$.LEI must be 20 uppercase alphanumeric characters
EmailReports an invalid format if Email doesn't match the criteria ^[^@\s]+@[^@\s]+\.[^@\s]+$.Email address must be valid
NumberReports an invalid format if Number doesn't match the criteria ^\+?[0-9][0-9\s\-()]{6,24}$.Phone number must be valid
taxNumberReports an invalid format if taxNumber doesn't match the criteria ^[A-Za-z0-9 ./-]{4,32}$.Tax Registration Number contains invalid characters
countryOfRegistrationReports a missing value if countryOfRegistration is not provided.Country of Registration is required
NameReports a missing value if Name is not provided.Organization Name is required
creditLimitReports an invalid value for creditLimit.Credit Limit must be non-negative
NameReports 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 validateDescriptionValidation warning message
dunsNumberReports an invalid format if dunsNumber doesn't match the criteria ^[0-9]{9}$.DUNS number must be 9 numeric digits
glnReports an invalid format if gln doesn't match the criteria ^[0-9]{13}$.GLN must be 13 numeric digits (GS1)
leiReports an invalid format if lei doesn't match the criteria ^[A-Z0-9]{20}$.LEI must be 20 uppercase alphanumeric characters
orderCurrencyReports an invalid format if orderCurrency doesn't match the criteria ^[A-Z]{3}$.Must be a 3-letter ISO 4217 code
EmailReports an invalid format if Email doesn't match the criteria ^[^@\s]+@[^@\s]+\.[^@\s]+$.Email address must be valid
NumberReports an invalid format if Number doesn't match the criteria ^\+?[0-9][0-9\s\-()]{6,24}$.Phone number must be valid
taxNumberReports an invalid format if taxNumber doesn't match the criteria ^[A-Za-z0-9 ./-]{4,32}$.Tax Registration Number contains invalid characters
countryOfRegistrationReports a missing value if countryOfRegistration is not provided.Country of Registration is required
NameReports a missing value if Name is not provided.Supplier Name is required

Individual entity type validation functions

This table identifies the validation functions for the Individual entity type.

Attribute to validateDescriptionValidation warning message
FirstNameReports an invalid format if FirstName doesn't match the criteria .*[0-9].*.First Name Contains Numbers
EmailReports an invalid format if Email doesn't match the criteria ^[^@\s]+@[^@\s]+\.[^@\s]+$.Email address must be valid
NumberReports an invalid format if Number doesn't match the criteria ^\+?[0-9][0-9\s\-()]{6,24}$.Phone number must be valid
LastNameReports an invalid format if LastName doesn't match the criteria .*[0-9].*.Last Name Contains Numbers
FirstNameReports a missing value if FirstName is not provided.First Name is required
LastNameReports a missing value if LastName is not provided.Last Name is required
DoBReports an invalid value for DoB.Suspicious Date of Birth

CommunityGroup entity type validation functions

This table identifies the validation functions for the CommunityGroup entity type.

Attribute to validateDescriptionValidation warning message
NameReports a missing value if Name is not provided.Community Name is required

Location entity type validation functions

This table identifies the validation functions for the Location entity type.

Attribute to validateDescriptionValidation warning message
glnReports an invalid format if gln doesn't match the criteria ^[0-9]{13}$.GLN must be 13 numeric digits (GS1)
GeoLocationReports an invalid date order for GeoLocation based on the configured rule.Latitude must be between -90 and 90
GeoLocationReports an invalid date order for GeoLocation based on the configured rule.Longitude must be between -180 and 180
AddressLine1Reports a missing value if AddressLine1 is not provided.Address Line 1 is required
CityReports a missing value if City is not provided.City is required
CountryReports a missing value if Country is not provided.Country is required
VerificationStatusReports an invalid value for VerificationStatus.Address verification is unverified or failed

ForestRight entity type validation functions

This table identifies the validation functions for the ForestRight entity type.

Attribute to validateDescriptionValidation warning message
expiryDateReports an invalid value for expiryDate.Expiry Date must be on or after Grant Date
jurisdictionReports a missing value if jurisdiction is not provided.Forest Right Jurisdiction is required
rightNumberReports a missing value if rightNumber is not provided.Forest Right Number is required
areaHectaresReports an invalid value for areaHectares.Area (hectares) must be non-negative

Tenement entity type validation functions

This table identifies the validation functions for the Tenement entity type.

Attribute to validateDescriptionValidation warning message
expenditureCurrencyReports an invalid format if expenditureCurrency doesn't match the criteria ^[A-Z]{3}$.Must be a 3-letter ISO 4217 code
jurisdictionReports a missing value if jurisdiction is not provided.Jurisdiction is required
tenementNumberReports a missing value if tenementNumber is not provided.Tenement Number is required
areaHectaresReports an invalid value for areaHectares.Area (hectares) must be non-negative
expiryDateReports an invalid value for expiryDate.Expiry Date must be on or after Grant Date

LandParcel entity type validation functions

This table identifies the validation functions for the LandParcel entity type.

Attribute to validateDescriptionValidation warning message
parcelIdentifierReports a missing value if parcelIdentifier is not provided.Parcel Identifier is required
jurisdictionReports a missing value if jurisdiction is not provided.Jurisdiction is required
areaHectaresReports an invalid value for areaHectares.Area (hectares) must be non-negative

OreBodyDeposit entity type validation functions

This table identifies the validation functions for the OreBodyDeposit entity type.

Attribute to validateDescriptionValidation warning message
GeoLocationReports an invalid date order for GeoLocation based on the configured rule.Deposit Latitude must be between -90 and 90
GeoLocationReports an invalid date order for GeoLocation based on the configured rule.Deposit Longitude must be between -180 and 180
depositCodeReports a missing value if depositCode is not provided.Deposit Code is required
depositNameReports a missing value if depositName is not provided.Deposit Name is required

Site entity type validation functions

This table identifies the validation functions for the Site entity type.

Attribute to validateDescriptionValidation warning message
glnReports an invalid format if gln doesn't match the criteria ^[0-9]{13}$.GLN must be 13 numeric digits (GS1)
siteCodeReports a missing value if siteCode is not provided.Site Code is required
siteNameReports a missing value if siteName is not provided.Site Name is required
decommissioningDateReports an invalid value for decommissioningDate.Decommissioning Date must be on or after Commissioning Date

Material entity type validation functions

This table identifies the validation functions for the Material entity type.

Attribute to validateDescriptionValidation warning message
materialNumberReports an invalid format if materialNumber doesn't match the criteria ^[A-Za-z0-9]{1,40}$.Material number must be 1–40 alphanumeric characters
materialDiscontinuationDateReports an invalid value for materialDiscontinuationDate.Discontinuation Date must be on or after Valid From
baseUnitOfMeasureReports a missing value if baseUnitOfMeasure is not provided.Base Unit of Measure is required
millProductSegmentReports a missing value if millProductSegment is not provided.Mill Products Segment should be populated on Material
materialNumberReports a missing value if materialNumber is not provided.Material Number is required
shortDescriptionReports a missing value if shortDescription is not provided.Short description is required
materialTypeReports a missing value if materialType is not provided.Material Type is required
grossWeightReports an invalid value for grossWeight.Gross Weight must be non-negative
netWeightReports an invalid value for netWeight.Net Weight must be non-negative
totalShelfLifeDaysReports an invalid value for totalShelfLifeDays.Total Shelf Life must be non-negative

TradeItem entity type validation functions

This table identifies the validation functions for the TradeItem entity type.

Attribute to validateDescriptionValidation warning message
brandOwnerGlnReports an invalid format if brandOwnerGln doesn't match the criteria ^[0-9]{13}$.GLN must be 13 numeric digits (GS1)
gtinReports an invalid format if gtin doesn't match the criteria ^([0-9]{8}|[0-9]{12}|[0-9]{13}|[0-9]{14})$.GTIN must be 8, 12, 13, or 14 numeric digits (GS1)
tradeItemDescriptionReports a missing value if tradeItemDescription is not provided.Trade Item Description is required
tradeItemIdReports a missing value if tradeItemId is not provided.Trade Item ID is required
discontinuationDateReports an invalid value for discontinuationDate.Discontinuation date is set but lifecycle status is missing

MaterialLot entity type validation functions

This table identifies the validation functions for the MaterialLot entity type.

Attribute to validateDescriptionValidation warning message
expiryDateReports an invalid value for expiryDate.Lot expiry date must be on or after production date
materialNumberReports a missing value if materialNumber is not provided.Material Number is required on MaterialLot
millProductSegmentReports a missing value if millProductSegment is not provided.Mill Products Segment should be populated on MaterialLot
lotNumberReports a missing value if lotNumber is not provided.Lot Number is required
plantCodeReports a missing value if plantCode is not provided.ERP Site / Plant Code or Site Code is required on MaterialLot
lotRoleReports a missing value if lotRole is not provided.Lot Role is required
quantityReports an invalid value for quantity.Quantity must be non-negative
millCertificateNumberReports an invalid value for millCertificateNumber.Produced metals lots should have a mill certificate number

Agreement entity type validation functions

This table identifies the validation functions for the Agreement entity type.

Attribute to validateDescriptionValidation warning message
expiryDateReports an invalid value for expiryDate.Expiry Date must be on or after Effective Date
terminationDateReports an invalid value for terminationDate.Termination Date must be on or after Effective Date
currencyReports an invalid format if currency doesn't match the criteria ^[A-Z]{3}$.Must be a 3-letter ISO 4217 code
agreementNumberReports a missing value if agreementNumber is not provided.Agreement Number is required
agreementTypeReports a missing value if agreementType is not provided.Agreement Type is required
royaltyRateReports an invalid value for royaltyRate.Royalty Rate must be non-negative
volumeCommitmentReports an invalid value for volumeCommitment.Volume Commitment must be non-negative

RegulatoryAuthority entity type validation functions

This table identifies the validation functions for the RegulatoryAuthority entity type.

Attribute to validateDescriptionValidation warning message
internalRegRefReports a missing value if internalRegRef is not provided.Authority Internal Reference is required
jurisdictionScopeReports a missing value if jurisdictionScope is not provided.Jurisdiction Scope is required
authorityNameReports a missing value if authorityName is not provided.Authority Name is required
regulatoryDomainReports a missing value if regulatoryDomain is not provided.Regulatory Domain is required
authorityTypeReports a missing value if authorityType is not provided.Authority Type is required
officialAuthorityIdReports a missing value if officialAuthorityId is not provided.Official Authority ID is required

RegulatoryDocument entity type validation functions

This table identifies the validation functions for the RegulatoryDocument entity type.

Attribute to validateDescriptionValidation warning message
regulationIdReports a missing value if regulationId is not provided.Regulation ID is required
shortTitleReports a missing value if shortTitle is not provided.Short Title is required
effectiveDateReports a missing value if effectiveDate is not provided.Regulatory Document Effective Date is required
jurisdictionReports a missing value if jurisdiction is not provided.Regulatory Document Jurisdiction is required
documentTypeReports a missing value if documentType is not provided.Regulatory Document Type is required
enforcementDateReports an invalid value for enforcementDate.Enforcement date must be on or after effective date

ComplianceObligation entity type validation functions

This table identifies the validation functions for the ComplianceObligation entity type.

Attribute to validateDescriptionValidation warning message
obligationCodeReports a missing value if obligationCode is not provided.Obligation Code is required
obligationIdReports a missing value if obligationId is not provided.Obligation ID is required
obligationNameReports a missing value if obligationName is not provided.Obligation Name is required
regulatoryDocumentRefReports a missing value if regulatoryDocumentRef is not provided.Regulatory Document is required
regulatoryDomainReports a missing value if regulatoryDomain is not provided.Regulatory Domain is required
obligationTypeReports a missing value if obligationType is not provided.Obligation Type is required