Designing solutions - CCEAData dictionary

Software designers must produce specifications to guide development teams, then they must test the software.

Part ofDigital Technology (CCEA)Digital authoring concepts (multimedia)

Data dictionary

Data dictionary is like a database about a database. Data dictionaries are used by system designers to plan information. They describe:

  • Contents
  • Format
  • Structure of a database
  • Relationship between its entities or objects

Typically, a data dictionary will:

  • Include the names and descriptions and the fields contained in each table
  • Record information about the data type, length of each field
  • Validation to be used

The purpose of a data dictionary is to provide the implementation team with enough information to allow them to develop the system.

There is no set standard about layout or level of detail. It is generally accepted that data dictionaries should provide enough information to allow a third party to program or implement the system without prior knowledge of it.

An example can be seen below:

Entity name:CUSTOMER
Related to:ORDER
Primary key:Customer ID
Foreign key:N/A
Entity name:
CUSTOMER
Related to:
ORDER
Primary key:
Customer ID
Foreign key:
N/A
Attribute nameData typeValidationExample data
Customer forenameString/Text<=75 characters and force capital letterJane
Customer surnameString/Text<=75 characters and force capital letterDoe
Address1String/Text<= 150 characters and force capital letter10A Upper Lisburn Road
TownString/TextLook up table: Antrim, Armagh, BelfastBelfast
PostcodeString/Textinput mask BTLLNNLNBT45 9JH
AgeInteger/Number>= 16 AND <=12017
GenderBooleanM OR FF
Attribute nameCustomer forename
Data typeString/Text
Validation<=75 characters and force capital letter
Example dataJane
Attribute nameCustomer surname
Data typeString/Text
Validation<=75 characters and force capital letter
Example dataDoe
Attribute nameAddress1
Data typeString/Text
Validation<= 150 characters and force capital letter
Example data10A Upper Lisburn Road
Attribute nameTown
Data typeString/Text
ValidationLook up table: Antrim, Armagh, Belfast
Example dataBelfast
Attribute namePostcode
Data typeString/Text
Validationinput mask BTLLNNLN
Example dataBT45 9JH
Attribute nameAge
Data typeInteger/Number
Validation>= 16 AND <=120
Example data17
Attribute nameGender
Data typeBoolean
ValidationM OR F
Example dataF