Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.
Ian Mayo edited this page Mar 27, 2018 · 2 revisions

Data model

Our database is an array of structured diary entries. Each diary entry shares these fields:

{
    id: GUID,
    created: Date,
    type: String,
    privacy: String (enum)
}

Different types of entry then have additional fields, such as course-change:

{
    ...
    course: Number,
    speed: Number,
    reason: String
}
Clone this wiki locally