Anda di halaman 1dari 6

Universal Data Models for

Financial Services
By Len Silverston

P eople often ask me for a universal data model for banking, credit card processing, securities bro-
kerage or other specific aspects of financial services. I reply that there is a universal data model
for financial services (see The Data Model Resource Book, Volume 2, Wiley, 2001) that provides detailed,
generic data models suitable for all PARTY RELATIONSHIP
types of financial service enterprises # FROM DATE
including banks, securities companies, o THRU DATE
described PARTY RELATIONSHIP TYPE
credit unions, brokerage services, credit ORGANIZATION CONTACT RELATIONSHIP by # PARTY RELATIONSHIP TYPE ID
card companies and many other types CUSTOMER RELATIONSHIP * NAME
o DESCRIPTION
of financial services enterprises. Should SUPPLIER RELATIONSHIP the
description of of
there be separate data models for each PROSPECT RELATIONSHIP for ~ ~

of these specific types of businesses or INFORMAL RELATIONSHIP


should there be common data con- SHAREHOLDER RELATIONSHIP
structs that handle the information SYNDICATOR RELATIONSHIP
needs for any of these types of finance EMPLOYMENT
services? of of
~ ~
One reason for providing a com- involved in involved in
used to
define
used to
define
mon financial services model is that described
PARTY ROLE
enterprises often provide (or may pro- # FROM DATE
FINANCIAL INSTITUTION by ROLE TYPE
vide in the future) many of these vari- o THRU DATE REGULATORY AGENCY # ROLE TYPE ID
* DESCRIPTION
ous financial services. Another reason is WORKER EMPLOYER COMPETITOR
~

PARTY ROLE TYPE


that various types of financial service EMPLOYEE HOUSEHOLD PARTNER the
description
organizations usually have very com- CONTRACTOR SUPPLIER for
mon information needs. In each of
CONTACT PARTICIPATING SYNDICATOR
these types of businesses, individuals or
SIGNER CONTROLLING SYNDICATOR
organizations make financial transac-
SHAREHOLDER
tions against their financial accounts. NOTARY
PROSPECT PUBLIC TRUSTEE BENEFICIARY
Accounts are governed by both the
agreements that are established for the CUSTOMER
account as well as financial regulations. PRIMARY CUSTOMER GUARANTOR
JOINT PARTY
Financial service products often have COSIGNER
features such as the interest rate and CO-BORROWER AUTHORIZED OTHER ROLE
functional settings such as when to BORROWER
send statements. This article explores of
~
acting in
the issue of having specific data models
such as a banking or securities broker- PERSON ORGANIZATION
age model versus having a generic PARTY ROLE
# PARTY ID o CURRENT FIRST NAME * NAME
financial services model. As this article o CURRENT LAST NAME o FEDERAL TAX ID
o SOCIAL SECURITY NUMBER
summarizes and expands upon The
Data Model Resource Book, Volume 2,
please refer to this book for a great Figure 1: Financial Services Party Roles and Relationships
Reprinted from DM Review July 2002 www.dmreview.com
many more details and explanations
behind the models in this article, plus BANK ACCOUNT
PARTY ROLE
examples of the types of data that # FROM DATE
TRUSTEE o THRU DATE
would populate these models. * FROM DATE overseen by

~
TRUSTEE
o THRU DATE responsible for
The models provided in this arti-
of
cle (and in related universal data ~
BANK ACCOUNT
model publications) are offered to pro- BENEFICIARY
involving

~
vide toolkits of common data struc- * FROM DATE BENEFICIARY
involved as
o THRU DATE
tures that have been proven to work in
of
real-life enterprises. However, they are ~
BANK ACCOUNT SIGNER
not intended to represent the only * FROM DATE involving

~
o THRU DATE signing as SIGNER
right answer in modeling this type o MAXIMUM AMOUNT
of data. Certainly, there are many of
options with pros and cons; and the ~ BANK ACCOUNT
HOLDER involving
experienced data modeler knows to

~
* FROM DATE owner of
JOINT PARTY
base the data model on the require- o THRU DATE
ments of the enterprise, using tools overseen benefiting signed by ~
by
such as universal data models when involving
BANK ACCOUNT PRIMARY
they are applicable. # ACCOUNT NUMBER the primary
CUSTOMER
owner of
This article will principally focus * DESCRIPTION
on four key data areas within financial * ESTABLISHED DATE
o CLOSED DATE of
services: parties, accounts, agreements ~

and financial products. of


~
initiated
from

Financial Services Parties the initiator of acting in

Figure 1 provides a party model involving PARTY


#PARTY ID
that can be used for financial service ACCOUNT TYPE
enterprises. As in most other enter- # ACCOUNT TYPE ID
* DESCRIPTION ORGANIZATION PERSON
prises, there are PERSONS and * NAME o CURRENT FIRST NAME
ORGANIZATIONS, or various PAR- o FEDERAL TAX ID o CURRENT LAST NAME
o SOCIAL SECURITY NUMBER
TIES that may take part in various
PARTY ROLES and may be involved
in various PARTY RELATION- Figure 2: Specific Bank Account Roles Data Model
SHIPS.
The PARTY entity records infor- these party roles are subtypes of a ship between the customer and one
mation about the PERSON or party. Thus, a CUSTOMER could be a bank and another relationship that the
ORGANIZATION independent of subtype of party. However, how can customer has with another bank.
the PERSON or ORGANIZATION we then show that a party can play However, regardless of the number of
role or relationship such as name, many roles? For instance, a party may relationships involved, there is still
demographics, SSN or federal tax ID. be acting as a CUSTOMER, a information about the customer (for
The PARTY ROLE subtypes would be SHAREHOLDER and an EMPLOYEE instance, the customer credit rating)
used to relate information about the at the same time. These would then that may be related to the customer
party in the context of role, such as the need to be inclusive subtypes of party. (assuming the enterprise only stores
credit rating(s) of a CUSTOMER. Thus, there could be many inclusive the credit rating for customers) and
Thus, certain types of information are subtypes, making the model quite should not be recorded redundantly
only related to a specific role of a party complex. Some data modeling conven- for each relationship. Additionally,
and not for all parties. Therefore, it is tions such as Oracle Designers sub- some party roles may exist without a
useful and usually practical to main- typing notation of boxes within boxes corresponding party relationship; for
tain information about specific party doesnt even allow inclusive subtyp- example, a person may play the role of
sub-entities. The PARTY RELA- ing, and subtypes are defined as mutu- NOTARY PUBLIC, thus further
TIONSHIP entity maintains informa- ally exclusive. establishing the need for a PARTY
tion about two parties such as the sta- Others may argue that the party ROLE independent of the relation-
tus or priority of the relationship. role only makes sense within the con- ships involved.
Each PARTY may be acting in text of a relationship. Thus, if an The ROLE TYPE accommodates
many PARTY ROLES, thus identify- organization is a customer, with whom any number of various roles, allowing
ing the various ways in which people do they have the customer relation- additional roles to be added over time.
and organizations may interact with ship? There may be two or more cus- The subtypes within PARTY ROLE
the enterprise. Some may argue that tomer relationships such as a relation- are shown to illustrate the various
Reprinted from DM Review July 2002 www.dmreview.com
types of roles that may exist for a ROLE subtypes shown apply to account data model with some of the
party, and both the logical data model many types of financial service specific roles associated with bank
and physical design should be cus- organizations. For instance, banks, accounts. A BANK ACCOUNT must
tomized depending upon the individ- credit unions, security brokerage be of an ACCOUNT TYPE such as a
ual needs of the enterprise. Alternate companies and credit card companies checking, savings or money market
ways of modeling this information are all typically have the PARTY ROLES account. A BANK ACCOUNT may
to either just include the PARTY of PRIMARY CUSTOMER, JOINT be overseen by one or more BANK
ROLE TYPE or just to include the OWNER, FINANCIAL INSTITU- ACCOUNT TRUSTEES, be set up for
PARTY ROLE subtypes; however, TION, REGULATORY AGENCY, the benefit of one or more BANK
both are shown in Figure 1 for illus- SIGNER, GUARANTOR, TRUSTEE ACCOUNT BENEFICIARIES, have
trative purposes. The PARTY RELA- and NOTARY PUBLIC as well as one or more BANK ACCOUNT
TIONSHIP TYPE allows categoriza- many of the very generic roles such SIGNERS, have one or more BANK
tion of the various types of relation- as EMPLOYEE, CONTRACTOR, ACCOUNT HOLDERS and, depend-
ships that may exist. The relationship CONTACT, SHAREHOLDER and ing on the business rules of the enter-
from the PARTY RELATIONSHIP SUPPLIER. prise, have one and only one PRIMARY
TYPE to the PARTY ROLE TYPE CUSTOMER. Of course, the last rela-
provides a mechanism to maintain Accounts tionship mentioned will vary based on
business rules about what types of Financial services enterprises such the enterprise; however, many finan-
roles may exist for what types of rela- as banks, credit card companies and cial institutions require that one party
tionships. For example, it may define securities organizations set up accounts be the primary customer and need the
that an employment relationship is a for their customers in order to track social security number for that party
relationship between an employee and group financial transactions for income tax reporting purposes.
role and an employer role. according to the customers wishes. Another relationship to BANK
Note that many of the PARTY Figure 2 shows a portion of a bank ACCOUNT is the ORGANIZA-
TION that initiated the account. One
may alternately form a relationship
PARTY ROLE
LOAN ACCOUNT # FROM DATE
from BANK ACCOUNT to the
COSIGNER o THRU DATE BRANCH that initiated the transac-
* FROM DATE involving
~

o THRU DATE involved as


COSIGNER tion (along with the routing number
of
for that branch), which could be
~
LOAN ACCOUNT shown as either a subtype of ORGA-
AUTH BORROWER NIZATION or a subtype of the
involving AUTHORIZED
~

* FROM DATE
o THRU DATE
involved as BORROWER PARTY ROLE. Is BRANCH a
of PARTY ROLE subtype or is it a sub-
~
LOAN ACCOUNT type of ORGANIZATION? Is it pos-
GUARANTOR involving
sible that the organization that repre-
~

o FROM DATE signing as GUARANTOR


o THRU DATE sents a branch could later play addi-
of
~ LOAN ACCOUNT
tional roles such as a division, affiliate
CO-BORROWER involving
or department of the enterprise?
~

* FROM DATE owner of


CO-BORROWER Again, depending on the business
o THRU DATE rules and needs of the enterprise, one
backed benefiting signed by ~
by may want to consider alternate
LOAN ACCOUNT
involving
PRIMARY options.
# ACCOUNT NUMBER the primary
owner of CUSTOMER Figure 3 shows a similar model to
* DESCRIPTION Figure 2 only with the appropriate
* ESTABLISHED DATE
o CLOSED DATE of
roles involved in loan accounts: namely,
~
COSIGNERS (people authorized to
of initiated
~ from sign transactions on the account),
the initiator of acting in
AUTHORIZED BORROWERS
PARTY
(people authorized to borrow against
involving
#PARTY ID the account), GUARANTORS (par-
ACCOUNT TYPE
# ACCOUNT TYPE ID
ties that guarantee payment is case of
* DESCRIPTION ORGANIZATION PERSON default), CO-BORROWERS (the var-
* NAME o CURRENT FIRST NAME ious parties that are responsible for
o FEDERAL TAX ID o CURRENT LAST NAME
o SOCIAL SECURITY NUMBER repayment) and the PRIMARY CUS-
TOMER (the primary party responsi-
ble). The roles involved and their rela-
Figure 3: Specific Loan Roles Data Model tionships to ACCOUNT (as well as
Reprinted from DM Review July 2002 www.dmreview.com
business terminology) may vary
depending on the business rules and BROKERAGE ACCOUNT
PARTY ROLE
needs of the enterprise. # FROM DATE
TRUSTEE o THRU DATE
Figure 4 again shows a similar * FROM DATE overseen by

~
TRUSTEE
o THRU DATE responsible for
model only with the roles associated
of
with a brokerage account. While these ~
BROKERAGE ACCOUNT
roles are very similar to BANK BENEFICIARY
involving

~
ACCOUNT roles, most enterprises * FROM DATE BENEFICIARY
involved as
o THRU DATE
maintain separate accounts for securi-
of
ties transactions. However there may ~
BROKERAGE
be a current or future opportunity to AUTH SIGNER involving

~
o FROM DATE signing as SIGNER
manage both bank account and securi- o THRU DATE
ties transactions together. of
~ BROKERAGE
Specific Modeling or JOINT PARY involving

~
* FROM DATE JOINT PARTY
Generic Modeling? o THRU DATE
owner of

Figure 5 provides a more generic overseen benefiting signed by ~


by
account model that meets the needs of involving
BROKERAGE ACCOUNT PRIMARY
a wide variety of financial service # ACCOUNT NUMBER the primary
CUSTOMER
owner of
enterprises including savings and loan * DESCRIPTION
accounts, brokerage accounts, line-of- * ESTABLISHED DATE
o CLOSED DATE of
credit accounts and many other types ~

of accounts. of
~
initiated
from
Whether a data model should be
acting in
designed more specifically or more the initiator of

generically depends on a number of involving PARTY


#PARTY ID
factors such as the modeling style ACCOUNT TYPE
used, the requirements of the enter- # ACCOUNT TYPE ID
* DESCRIPTION ORGANIZATION PERSON
prise and the intent of the data model. * NAME o CURRENT FIRST NAME
For instance, is the purpose of a data o FEDERAL TAX ID o CURRENT LAST NAME
o SOCIAL SECURITY NUMBER
model to document the data-oriented
business rules of an organization or to
provide a flexible generic structure to Figure 4: Specific Brokerage Roles Data Model
maintain information about the
enterprise? If the data models pur- information about a person or organi- works well. For instance, the previous
pose is to document the business rules zation, independent of roles. models show that there is one and only
and requirements of the enterprise, If the purpose of the data model is one PRIMARY CUSTOMER for a
Figures 2, 3 and 4 accomplish this. to provide a flexible structure that will bank account. Many financial institu-
They also provide some flexibility by accommodate changes to the enter- tions require that there be one primary
allowing a single place to record the prise over time, Figure 5s model customer for tax purposes, and they

Notes about this data modeling notation:


A crows foot (three prongs at the end of the relationship line) indicates that there are many occurrences of the
entity near the crows foot for each entity that is not near the crows foot. For example, each PARTY may be
acting in one or more PARTY ROLES (entity names are shown in caps in this article).

The dotted line indicates optionality (as opposed to mandatory) for each side of the relationship. Each PARTY ROLE
TYPE may be (because this is a dotted part of the line) the description for one or more PARTY ROLES. Reading the other
way, each PARTY ROLE must be described by one and only one ROLE TYPE.

A # in front of an attribute indicates that this attribute is a key. An * indicates that the attribute is a mandatory
attribute. An o before an attribute indicates that the attribute is optional.

Boxes within boxes indicate subtypes or subentities.


The tilde (~) on the relationship line represents foreign key inheritance. This means that the primary key of the entity
closest to the tilde includes, as part of its key, the primary key of the entity without the crows foot.

Reprinted from DM Review July 2002 www.dmreview.com


need to record the social security
ACCOUNT TRANSACTION
number for the primary customer and * TRANSACTION DATE
hold that party primarily responsible. ACCOUNT TRANSACTION ROLE
for o ENTRY DATE
o POST DATE

~
What if the business rules and policies # FROM DATE o AMOUNT
o THRU DATE involving
of the financial services organization
for
change over time and there could be ~ described ~ FINANCIAL TRANSACTION
by

equally responsible JOINT PARTIES ACCOUNT ROLE WITHDRAWAL DEPOSIT


# FROM DATE
on an account? In the more specific o THRU DATE ACCOUNT FEE INTEREST
data models, the underlying data of
~
for described
~ ~ by
DIVIDEND ACCOUNT
PAYMENT
model (and any corresponding data
structures) would need to change. SECURITIES TRANSACTION
Thus, in the model represented in BUY TRANSACTION
Figure 5, an ACCOUNT may have involved involved SELL TRANSACTION
with with
any number of ACCOUNT ROLES, PARTY MUTUAL FUND TRANSACTION
which are each for a PARTY and #PARTY ID ROLE TYPE
PURCHASE TRANSACTION
# ROLE TYPE ID
described by an ACCOUNT ROLE PERSON * DESCRIPTION REDEMPTION TRANSACTION
TYPE. In this model, the ACCOUNT o CURRENT FIRST NAME
EXCHANGE TRANSACTION
o CURRENT LAST NAME
ROLE TYPEs are stored in instances o SOCIAL SECURITY NUMBER the description
for
of the ROLE TYPE entity and could ACCOUNT REQUEST
ORGANIZATION ACCOUNT TRANSACTIONS
be signer, guarantor, joint party * NAME ROLE TYPE the
description INQUIRY CHANGE
and so on. This structure allows addi- o FEDERAL TAX ID
for REQUEST REQUEST
tional roles to be easily added over ACCOUNT
TRANSACTION SPECIAL REQUEST
time just by adding a new ROLE TYPE
ACCOUNT ROLE TYPE instance. within ~

For instance, a new business practice


involving used to group together
may involve another role of party
for notices which designates to ACCOUNT FINANCIAL CARD ACCOUNT
#ACCOUNT NUMBER DEBIT CARD ACCOUNT
whom notices should be delivered. *DESCRIPTION
Additionally, ACCOUNT TRANS- LOAN ACCOUNT
ACTIONS may involve many roles by DEPOSIT ACCOUNT
MORTGAGE VEHICLE LOAN
parties such as the person(s) or organi- SAVINGS ACCOUNT CHECKING ACCOUNT ACCOUNT ACCOUNT
CERTIFICATE OF DEPOSIT ACCOUNT
zation(s) depositing funds, the person INSTALLMENT LOAN ACCOUNT
MONEY MARKET ACCOUNT
accepting these funds, the person that LINE OF CREDIT ACCOUNT
records the transaction in the system, CREDIT CARD ACCOUNT
the person responsible for verifying INVESTMENT VEHICLE ACCOUNT EQUITY LINE ACCOUNT
that the transaction is correct and so OTHER ACCOUNT
on. Again, the roles and the business
rules could change over time, so the
model easily accommodates change. Figure 5: Account Roles Data Model
However, this latter model does
not enforce many business rules. Any through avenues such as the Business either the terms or conditions of the
number of parties can play any num- Rules Forum. agreement and could ultimately
ber of roles, and new role types can include relationships to various assets
even be added over time. Where, then, Agreements and Products held by the parties involved in the
are the business rules documented and Although there are many more agreement (these are examples of some
recorded? If our purpose is to provide details available within the financial of the details stored in the more full
a flexible data structure, another busi- services model, there are two additional version of the model). Each
ness rules layer could be defined over major data objects within financial ACCOUNT may be governed by one
the data model structure in order to services organizations: products and or more agreements; for instance,
accomplish flexibility as well as preci- agreements. there could be numerous contracts
sion of defining the requirements. Figure 6 illustrates some of the that are associated with a loan account.
How, then, does one document the key relationships from ACCOUNTS An AGREEMENT may also govern
business rules? There are many to AGREEMENTS and from each of many ACCOUNTS; for instance, a
answers such as documenting business these to FINANCIAL PRODUCTS. banking customer may sign an agree-
rules and relating them to the attrib- Each AGREEMENT may be com- ment with the bank governing his/her
utes affected; and as this is the topic of prised of several AGREEMENT various savings accounts at the bank.
ongoing debate in the business rules ITEMS which although not shown The financial services products of
movement, alternatives are available in Figure 6 ultimately relate to an enterprise may include both prede-
Reprinted from DM Review July 2002 www.dmreview.com
fined products such as a checking interest rate or a waiver of any mini- for an account or an agreement may
plus offering or a customized product mum balance. change. The from date and thru
that is defined and established for a Are financial products tied to date on AGREEMENT PRODUCT
particular customer. Each financial accounts or to agreements? The model and ACCOUNT PRODUCT allow
service offering may include a number shows the relationship from the the enterprise to record a change in
of features (FEATURE) such as the FINANCIAL PRODUCT to both the products on the account (for example,
interest rate (the value attribute stores ACCOUNT and the AGREEMENT, changing from a checking plus
the amount of interest), the annual fee depending on the circumstance. A product to a standard checking
(the value attribute stores the fee), and LOAN AGREEMENT may be in product on an account).
a standard feature such as checks are place for a specific type of product,
provided free with the account. and an account may not be needed Are there Right and
Customized products may be formed (for instance, if the customer agrees Wrong Data Models?
for specific customers (for instance, for to borrow a lump sum and pay it The models in this article are
high-wealth customers). A customized back a year later). Other scenarios intended to provide ideas, concepts
product may be a higher interest would suggest that one or more and alternatives and illustrate possible
investment account with special FEA- agreements are associated with an pitfalls within modeling for financial
TURES that are established for use by ACCOUNT, which is then associated services (although many of these con-
a customer. Hence, there may be with one or more FINANCIAL cepts apply to many other industries
agreement items that specifically PRODUCTS. For instance, there may as well), allowing the data modeler to
entitle certain features that are be a brokerage agreement with terms be more effective and develop higher
negotiated for by the agreement. A and conditions for the brokerage quality models in less time. Are the
high-worth individual may negotiate account as well as an agreement that models presented in this article the
a higher interest rate; hence, the provides power of attorney privileges right answer to modeling financial
AGREEMENT ITEM is applicable to a close family member. services applications? Or are they
to a FEATURE (through the FEA- How can there be more than one wrong compared to other ways of
TURE APPLICABILITY entity) that financial product for an account or for modeling the information? I believe
was negotiated such as a higher an agreement? Over time, the product that these models can be used as produc-
tivity tools and perhaps offer perspec-
tives that the modeler may not have
seen, especially because many of these
FEATURE described by
universal data models offer insights
~

FEATURE
APPLICABILITY the description for
PRODUCT FEATURE # FEATURE ID from actually implementing these
# FEATURE # FROM DATE * DESCRIPTION
APPLICABILITY ID described by types of designs. Furthermore, each of
~

* THRU DATE
the description for
* FROM DATE o VALUE these models should be used and cus-
o THRU DATE available
o VALUE
AGREEMENT PRODUCT for ~ ACCOUNT PRODUCT tomized as needed for the needs of the
* FROM DATE * FROM DATE
of o THRU DATE o THRU DATE
enterprise. However, they are not a
~
for of
~ available
of ~ for
~
substitute for effective requirements
~
used within with used within analysis. Thus, I believe these univer-
FINANCIAL PRODUCT sal data models are not right or wrong,
# PRODUCT ID
* NAME but useful in effective modeling. If
modelers do not have to redevelop the
for ACCOUNT AGREEMENT
AGREEMENT ITEM # FROM DATE
wheel and we can share ideas and
# AGREEMENT ITEM SEQ ID o THRU DATE models, then we are also practicing the
part ~
of
of ~ for ~
described
art of data sharing and integration.
composed of described by governing governed by by
Special thanks to Graeme Simsion,
AGREEMENT ITEM ACCOUNT Patrick Wilson and Jeffrey Katz for sharing
# AGREEMENT ID # ACCOUNT NUMBER
* AGREEMENT DATE * DESCRIPTION their expertise as I developed this article.
* FROM DATE DEPOSIT ACCOUNT
o THRU DATE Len Silverston is a data management consultant with
* DESCRIPTION FINANCIAL CARD more than 20 years of experience in helping enterprises
o TEXT ACCOUNT integrate data. He is the author of the best-selling The
Data Model Resource Book series (Wiley, 2001),
FINANCIAL AGREEMENT INVESTMENT VEHICLE which describes more than 230 integrated, reusable
LOAN AGREEMENT ACCOUNT generic and industry-specific data models. Silverston
has developed extensive software versions of these
INVESTMENT AGREEMENT LOAN ACCOUNT data models some of which are now licensed world-
LEASING AGREEMENT wide by Microsoft and some that are available for
OTHER ACCOUNT
licensing directly. Silverstons company, Universal Data
OTHER AGREEMENT Models, provides consulting, training and software to
jump-start data modeling and data warehouse
design efforts while increasing design quality and
facilitating data integration.Silverston can be reached
Figure 6: Financial Segments and Products at lsilverston@univdata.com.

Reprinted from DM Review July 2002 www.dmreview.com

Anda mungkin juga menyukai