Stage 5 of 17

Stage 5 of 17

Data Design

The data design defines every field in the Visits list — its type, purpose, validation rules, and privacy classification. It also includes the data minimisation exercise, which teaches why collecting unnecessary personal data is a risk, not a feature.

Why Are We Doing This?

The data dictionary is the single source of truth for the data model. It ensures that every field has a defined purpose, type, and validation rule before you start building. Building without a data dictionary leads to inconsistent field names, missing validation, and data quality problems that are expensive to fix later.

Data Dictionary — Visits List

VisitID

Single line of text (auto-generated)Required

Default

Auto-generated: VIS-NNNN

Example

VIS-0001

Validation

Format: VIS- followed by 4-digit zero-padded number. Unique. Set on creation, never changed.

Who Sets It

System (auto-generated)

Privacy — Low

this is a reference number, not personal data.

VisitorName

Single line of textRequired

Default

None

Example

James Thornton

Validation

Maximum 100 characters. Cannot be blank.

Who Sets It

Host (pre-registration) or Reception (walk-in)

Privacy — High

this is personal data. Access must be restricted to reception, the host, and administrators.

VisitorOrganisation

Single line of textOptional

Default

None

Example

Meridian Consulting Ltd

Validation

Maximum 100 characters.

Who Sets It

Host (pre-registration) or Reception (walk-in)

Privacy — Medium

organisation name is less sensitive than personal name but may still be confidential.

VisitorType

ChoiceRequired

Default

Client

Example

Client

Validation

Must be one of: Client, Contractor, Candidate, Auditor, Delivery, Other.

Who Sets It

Host (pre-registration) or Reception (walk-in)

Privacy — Low

visitor type is operational data.

HostName

Person or Group (Microsoft 365)Required

Default

Current user (pre-registration)

Example

Sophie Clarke

Validation

Must be a valid Contoso Services employee. Cannot be blank.

Who Sets It

Host (pre-registration) or Reception (walk-in)

Privacy — Low

employee name is not sensitive in this context.

HostEmail

Single line of text (email)Required

Default

Auto-populated from HostName

Example

sophie.clarke@contoso.co.uk

Validation

Must be a valid email address. Used by the notification flow.

Who Sets It

Auto-populated from HostName field

Privacy — Low

employee email is not sensitive in this context.

ExpectedDate

Date and Time (date only)Required

Default

Today

Example

15/01/2027

Validation

Cannot be in the past (for new registrations). Date only — no time component.

Who Sets It

Host (pre-registration) or Reception (walk-in)

Privacy — Low

visit date is operational data.

ExpectedArrivalTime

Single line of text (time)Required

Default

None

Example

10:30

Validation

Format: HH:MM (24-hour). Must be within reception hours (08:00–18:00).

Who Sets It

Host (pre-registration) or Reception (walk-in)

Privacy — Low

expected time is operational data.

ActualArrival

Date and TimeOptional

Default

None

Example

15/01/2027 10:42

Validation

Set automatically to Now() when reception checks in the visitor. Cannot be manually set to a future time.

Who Sets It

Reception (check-in)

Privacy — Medium

actual arrival time is personal data (it records when a specific person was at a specific location).

ActualDeparture

Date and TimeOptional

Default

None

Example

15/01/2027 12:15

Validation

Set automatically to Now() when reception checks out the visitor. Must be after ActualArrival.

Who Sets It

Reception (check-out)

Privacy — Medium

actual departure time is personal data.

Purpose

Single line of textRequired

Default

None

Example

Q4 project review meeting

Validation

Maximum 200 characters. Cannot be blank.

Who Sets It

Host (pre-registration) or Reception (walk-in)

Privacy — Medium

purpose of visit may be commercially sensitive.

Status

ChoiceRequired

Default

Expected

Example

Arrived

Validation

Must be one of: Expected, Arrived, Host Notified, Departed, Cancelled, No Show. Transitions must follow the lifecycle rules.

Who Sets It

System (lifecycle transitions)

Privacy — Low

status is operational data.

ReceptionNotes

Multiple lines of textOptional

Default

None

Example

Visitor required a wheelchair-accessible meeting room.

Validation

Maximum 500 characters. Free text.

Who Sets It

Reception

Privacy — High

notes may contain sensitive personal information. Access restricted to reception and administrators.

Office

ChoiceRequired

Default

London

Example

Manchester

Validation

Must be one of: London, Manchester, Bristol.

Who Sets It

Host (pre-registration) or Reception (walk-in)

Privacy — Low

office location is operational data.

Data Minimisation Exercise

Why Data Minimisation Matters

Under UK GDPR, you may only collect personal data that is adequate, relevant, and limited to what is necessary for the purpose. Collecting data "just in case" is not lawful. Every field you add to a form is a decision about whether to collect personal data. This exercise teaches you to question each field before adding it.

Home Address

Do not collect

Does the visitor management system need the visitor's home address?

Answer: No.

The purpose of the system is to manage visits to the office. The visitor's home address is not needed for this purpose. Collecting it would be a breach of the data minimisation principle.

Personal Phone Number

Do not collect

Does the system need the visitor's personal mobile or home phone number?

Answer: No.

The host is notified via email or Teams. Reception can contact the host if needed. There is no requirement to contact the visitor directly. If a visitor needs to be contacted (e.g. they are late), the host can do so using their own contact details.

Date of Birth

Do not collect

Does the system need the visitor's date of birth?

Answer: No.

Date of birth is sensitive personal data. There is no requirement in the visitor management process that requires knowing a visitor's age. Do not collect it.

Vehicle Registration

Do not collect (out of scope)

Does the system need the visitor's vehicle registration number?

Answer: Possibly — but only if car park management is in scope.

Car park management is explicitly out of scope for this project (see Brief). Therefore, vehicle registration is not required. If car park management is added in a future version, this decision should be revisited with the DPO.

Passport Number

Do not collect

Does the system need the visitor's passport number?

Answer: No.

Passport numbers are highly sensitive personal data. There is no requirement in the visitor management process that requires verifying a visitor's identity document. If identity verification is required for specific visitor types (e.g. security-cleared contractors), this should be handled through a separate, controlled process — not stored in a general visitor management list.

The Rule

Before adding any field to a form or database, ask: "What is the specific, documented reason we need this data?" If you cannot answer that question, do not collect the data. This is not just good practice — it is a legal requirement under UK GDPR Article 5(1)(c).

Sample Visit Records

Visit IDVisitor NameOrganisationTypeHostDateTimeStatusOffice
VIS-0001James ThorntonMeridian ConsultingClientSophie Clarke15/01/202710:30DepartedLondon
VIS-0002Aisha PatelTechBridge LtdContractorRavi Sharma15/01/202709:00DepartedLondon
VIS-0003Oliver GrantN/ACandidateTom Reeves15/01/202714:00Host NotifiedLondon
VIS-0004Chloe WintersApex Audit PartnersAuditorDiane Okafor16/01/202709:30ExpectedLondon
VIS-0005Ben NakamuraFastPrint SuppliesDeliverySandra Obi16/01/202711:00CancelledLondon
VIS-0006Priya DesaiHorizon GroupClientMarcus Webb16/01/202713:00ExpectedManchester
VIS-0007Liam O'BrienCloudNet SolutionsContractorPriya Mehta17/01/202708:30ExpectedLondon
VIS-0008Natalie FrostSterling AdvisoryClientSophie Clarke17/01/202710:00No ShowLondon
VIS-0009David OseiPinnacle RecruitmentCandidateTom Reeves17/01/202715:30ExpectedBristol
VIS-0010Yasmin KhalilVantage PartnersClientRavi Sharma18/01/202709:00ExpectedLondon
VIS-0011Connor HughesSafeGuard SecurityContractorMarcus Webb18/01/202707:45ExpectedLondon
VIS-0012Mei LinBrightfield ConsultingClientDiane Okafor19/01/202711:30ExpectedManchester

Stage Complete — What You Now Have

  • ✓14-field data dictionary with type, required, default, example, validation, privacy classification, and who sets each field
  • ✓Data minimisation exercise: 5 fields considered and rejected with reasons
  • ✓12 sample visit records covering all 6 statuses and all 3 offices

Need more help with the concepts?

Visit DosToDigital for guides, templates, and deeper explanations.

DosToDigital
DToD Labs

Learn it. Build it. Make it work.

A DosToDigital Project

About DToD Labs

Practical technology learning for Microsoft 365 and Power Platform. Build real business solutions from real business problems.

Learn the concepts at DosToDigital. Put them into practice at DToD Labs.

DToD Labs provides practical learning projects for educational purposes. Microsoft services, interfaces, licensing and product capabilities change over time. Always check current Microsoft documentation and licensing before implementing a solution in a production environment. All organisations, business scenarios and data used in DToD Labs are fictional. Learners should not use confidential employer, customer or personal information when following DToD Labs exercises.

© 2026 DToD Labs — A DosToDigital Project