adding sqlite and trying to define the data structure
This commit is contained in:
79
szds.md
79
szds.md
@@ -1,7 +1,80 @@
|
||||
# SessionZero Data System
|
||||
|
||||
|
||||
```c
|
||||
|
||||
|
||||
```text
|
||||
|
||||
sessionzero/
|
||||
├─ data/
|
||||
│ ├─ datasets/
|
||||
│ │ ├─ author.dataset_name/
|
||||
│ │ │ ├─ objects/
|
||||
│ │ │ │ ├─ item/
|
||||
│ │ │ │ │ ├─ stick.szdo
|
||||
│ │ │ │ ├─ npc/
|
||||
│ │ │ │ │ ├─ marcus.szdo
|
||||
│ │ │ ├─ templates/
|
||||
│ │ │ │ ├─ item.szdt
|
||||
│ │ │ │ ├─ npc.szdt
|
||||
│ │ │ ├─ dataset.sz
|
||||
│ │ │ ├─ icon.png
|
||||
│ ├─ sessions/
|
||||
│ │ ├─ author.session_name/
|
||||
│ │ │ ├─ players/
|
||||
│ │ │ │ ├─ player1/
|
||||
│ │ │ │ │ ├─ characters/
|
||||
│ │ │ │ │ │ ├─ thumbs/
|
||||
│ │ │ │ │ │ │ ├─ character1.png
|
||||
│ │ │ │ │ │ ├─ character1.szco
|
||||
│ │ │ │ │ ├─ playerinfo.sz
|
||||
│ │ │ ├─ character_template.szct
|
||||
│ │ │ ├─ session.sz
|
||||
│ ├─ local.db
|
||||
├─ config.ini
|
||||
├─ sessionzero
|
||||
|
||||
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Psuedocode for the various data elements and how they connect:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
```text
|
||||
Dataset: {
|
||||
Metadata: {
|
||||
ID (required unique string),
|
||||
@@ -20,7 +93,9 @@ Dataset: {
|
||||
DataType (required string)
|
||||
},
|
||||
TemplateFields: {
|
||||
FieldType,
|
||||
ID (required unique string),
|
||||
FieldType,
|
||||
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user