Defining a customer schema

Whether you are working with files or databases of customer data you’ll likely have an idea of the data contents of that object.

When programmers create databases they are typically required to consider factors in the database schema like datatype, field length etc. When you are working with files, this is not really required but can be useful. When you don’t have a schema definition that elaborates these critical facets of a dataset, you compromise the ultimate integrity and data quality assurance of the underlying data.

Data quality compromises as a result of weak controls lead to other kinds of problems that you could avoid if you added more controls and discipline to curated data. Establishing a robust schema definition is a starting point for data quality management in customer master data management.

There are no definitive data quality or data definition standards for customer data. We can leverage standards, in some cases, ISO recommendations, and database best practices based on maximum known values. In the end, it is all at your own discretion or dependent on the configuration and expectation of your various systems of record

Here are some common dataset schema definitions along with their maximum recommended allowable length and data type.

FieldData TypeMax length
First nameAlphanumeric50
Last nameAlphanumeric50
Display nameAlphanumeric100
Street addressAlphanumeric100
TownAlphanumeric60
StateAlphanumeric50
Country nameAlphanumeric55
Postal codeAlphanumeric9
Monetary amountsDecimal Numeric16
Date of birthDate10
AgeNumeric3
Email addressEmail Address254
Phone numberAlphanumeric15
Phone number extensionNumeric11
National Identity Alphanumeric19
IP addressIP Address12
Company nameAlphanumeric100
LongitudeDecimal Numeric9
LatitudeDecimal Numeric8
Twitter handleAlphanumeric15
Linkedin NameAlphanumeric29
Facebook NameAlphanumeric50
Instagram NameAlphanumeric64
What3Words AddressAlphanumeric56

Your particular system of use or interest may have some all or more than the schema items called out here, in addition it may be more constrictive.

To learn more about defining your own schemas in the Pretectum CMDM and benefit from the Pretectum advantage contact us for more information

Leave a Reply

Your email address will not be published. Required fields are marked *