Naming Standards
for
Data Models

DRAFT
March 26, 1996
Version 1.3


First edition - Version 1.3
Copyright © 1995 by Stanford University. All rights reserved.

No portion of this publication may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying and recording, or by any information storage or retrieval system without the prior written permission of Stanford University.

For more information contact:

Douglas F. Smith, Jr., 415-725-1007, dsmithjr@leland.stanford.edu


Naming Standards for Data Models

Table of Contents . . . ToC (link)


(ToC)

Attibute/Column Descriptions

STANDARDS

An attribute description will develop over time as the attribute becomes understood. When it is fully implemented it will include the following components:

  1. BRIEF NARRATIVE: A brief narrative definition of the attribute which conforms to the following format.
  2. FULL NARRATIVE: A fully detailed definition of the attribute which conforms to the format described above. "Fully detailed" in this context means using enough of the statements described in Item c. above to describe the attribute fully.

    The Project Function Code describes the nature or focus of a Sponsored Project at SU. Sponsored projects are categorized under general headings such as research and grants. Classification of a sponsored project into a category determines the appropriate indirect cost rate to be charged.

    The Project Function Code will generally match the Budget Function Code of the parent account associated with the project. Projects that are mixed function are coded as multiple.

  3. HISTORY OF CHANGES: The history of any changes/refinements to the full detailed definition annotated with the date of the update and the initials of the author. The history will always be displayed in reverse chronological order.

    1-15-95 New Project Function Code approved and implemented. Project Function Code = e Project Function Name = none

    06-04-92 Project Function Code s agreed to with users

  4. DOMAIN: The domain of the attribute, if it is a relatively static set of known data, or examples of the data if the data is not a known set.

    Example

    Project Function Code Project Function Name
    a Instruction
    b Research
    c Miscellaneous
    d Multiple
    e None

  5. DERIVATION: The derivation of the attribute (if known).
    N/A

  6. EDIT MASK: The edit mask for the attribute.
    character 1

  7. SOURCE: Source of the attributeThe original source of this attribute is the selection of a Project Function Code made by a user when setting up a new Sponsored Research Project.


(ToC)

Relationships

Definition

Relationships are statements of business policy and business rules expressed as the description of an association between two entities in a data model.


Relationship Names

STANDARDS

  1. USE THE VERB FROM THE VERB PHRASE FOR A NAME. The name of the relationship between two entities is the word which is the verb from the verb phrase from a declarative sentence which describes the relationship.

    The name of the following relationship is 'receive:'
    each Employee must receive one or more Performance Review.

    The name of the following relationship is 'offered':
    each Course may be offered via one or more Course Offering

  2. USE NAME IN CONTEXT TO ENSURE CLARITY. The relationship name will only be used in the context of the two entities. For example an analyst might use the relationship name in the following way:

    "Let's discuss the 'receive' relationship between Employee and Performance Review"

    "This stored procedure implements the 'offered' relationship between Course and Course Offering."

  3. MAKE EACH NAME UNIQUE BETWEEN THE SAME TWO ENTITIES. Because more than one relationship may exist between two entities each relationship name must be unique between the same two entities.
  4. USE LOWER CASE LETTERS. Relationship names will be presented using lower case letters

Relationship Descriptions

STANDARDS

A relationship must be thought of as a business rule, stating a fact which the Conceptual Data Model is trying to capture and communicate. Each relationship or business rule makes a statement that can be judged as "true" or "false" by the business users who are the Subject Matter Experts (SMEs) about the area of business the relationship helps describe.

  1. USE SUBJECT/VERB PHRASE/OBJECT STRUCTURE: Relationship descriptions will be standard declarative sentences, consisting of a subject (source entity), verb phrase, and object (cardinality and target entity), in that order.
  2. MAKE THE SUBJECT THE SOURCE ENTITY. The subject will be the entity from which the relationship originates, often referred to as the source entity. It will be constructed with the modifier "Each" followed by the source entity name, such as:

    Each Person
    Each Organizational Unit
    Each Unit Of Instruction, etc.

  3. FOLLOW THE SUBJECT WITH AN APPROPRIATE VERB PHRASE.

    Following the subject is a description of the nature of the relationship. This description should be a verb phrase.

  4. FINISH WITH CARDINALITY PLUS TARGET ENTITY FOR THE OBJECT.

    The object, or the completer, of the relationship sentence follows the verb phrase. It consists of the cardinality phrase followed by the target entity name. The cardinality phrase is an indefinite pronoun "one" or "one or more" which is used as an adjective of the target entity. The object may also be a prepositional phrase which includes the cardinality phrase.

    Each Product may, over time, belong to one Product Family
    Each Employee must receive one or more Performance Review
    Each Course may be offered via one or more Course Offering, etc.


(ToC)

Class Words

Definition

A class word is a word or term that defines the content and role of a piece of data described by an attribute (this is in contrast to a Domain, which defines the format and range of values of an attribute instance).

A class word is defined by its name and description, and is further defined by a list of values (domain).



  • List of Standard Class Words

    Class words are presented by class word category.


  • List of Standard Class Words

    Mandatory
    Category Class Word Abbreviation
    Measurement amount amt
    Label code cd
    Chronology date dt
    Description description desc
    Label identifier id
    Unclassified image img
    Label indicator ind
    Label name nm
    Label number num
    Measurement quantity qty
    Measurement rate rt
    Unclassified sound snd
    Description text txt
    Chronology time tm


    (ToC)

    Abbreviations, Acronyms and Other Terms:

    Definition

    Abbreviations are shortened forms of a word, for example "dept" for "department". Acronyms are generally shortened forms of a phrase, for example "SSN" for "social security number". Both abbreviations and acronyms can be helpful, efficient ways to refer to commonly used words; however they can also cause problems if there are not consistent standards about their use.

    In this document, the word "term" is used to refer to any one component of an entity/table or attribute/column name. The word term is used instead of the word "word" because in many cases acceptable terms will be abbreviations or acronymns, rather than regular words. Terms may be abbreviations, acronyms, shortened words which are not constructed according to the rules of either abbreviations or acronyms, or fully spelled out words which usually have six or fewer characters.

    All model names should be composed of terms from the standard Terms List included at the end of this chapter. Specifying standard terms and term usage makes it possible to establish when abbreviations and acronyms are used, and what abbreviations and acronyms are used. The Terms List will be maintained and updated by Data Administration.


    Use of the Terms List

    When constructing entity/table or attribute/column names, all terms in the name should be taken from the appropriate column in the Terms List.

    For Logical Models and External Schema, it is desireable to have names that are as self-explanatory as possible. Therefore most of the terms in that column consist of spelled out words. In a few cases, mandatory abbreviated versions of a word are included instead, in cases where a word is very long, very common, and/or has a well-known abbreviation or acronym. If a situation arises where a name is simply too long unless additional words are abbreviated, then abbreviations from the column of Internal Schema terms may be used.

    For Internal Schema, it is desireable to have short, abbreviated names. Therefore most of the terms in that column consist of abbreviated words. Some words were left unabbreviated because they are already short, or they might be ambiguous if abbreviated.

    If any terms need to be changed or added, consult with Data Adminstration.


    Standards for Terms

    All of the terms included in the list must adhere to these standards:

    1. Terms must be unique. One term can stand for closely related words, but not for completely different words.
    2. Terms will be in singular form.
    3. Special characters will not be used in a term.
    4. Terms will follow the case standard for the model in which they are used, i.e. all in title case if being used for the entity tables in the logical model.

    Abbreviation Formulation

    1. Standard abbreviations must be formed in such a way that they make sense to business users.
    2. Abbreviations should be formed by following the following steps:
      1. remove unnecessary vowels,
      2. remove unnecessary consonants,
      3. substitute prefixes and suffixes, if possible.

    Acronym Formulation

    1. Acronyms should be taken from standard business usage, such as MBA for "Masters of Business Administration," AMA for "American Medical Association," MBO for "Management by Objective," etc.
    2. If acronyms are to be created, they should be formed by concatenating the first letter of each "significant" word of a business phrase. This may be used when creating names for projects, organizations, etc. An example would be: SU for Stanford University.

    Guidelines


    Terms List