This repository was archived by the owner on Jul 8, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
Data model
frankrousseau edited this page Apr 2, 2012
·
8 revisions
Each data are stored as JSON document.
Each note has following fields:
- creationDate: date
- lastModificationDate: date
- title: string
- content: string
- tags: list(string)
- tagParent: string
- struct: object
Exemple of structure representation (coffescript):
technic:
code:
tutorial:
leaves: [
id: id1
title: title1,
id: id2
title: title2,
...
id: idn
title: titlen
]
python:
web:
leaves: [
id: id1
title: title1,
id: id2
title: title2,
...
id: idn
title: titlen
]
leaves: [
id: id1
title: title1,
id: id2
title: title2,
...
id: idn
title: titlen
]
ruby:
leaves: [
id: id1
title: title1,
id: id2
title: title2,
...
id: idn
title: titlen
]
cooking:
dessert:
leaves: [
id: id1
title: title1,
id: id2
title: title2,
...
id: idn
title: titlen
]
maindishes:
leaves: [
id: id1
title: title1,
id: id2
title: title2,
...
id: idn
title: titlen
]
todo:
leaves: [
id: id1
title: title1,
id: id2
title: title2,
...
id: idn
title: titlen
]