adding sqlite and trying to define the data structure

This commit is contained in:
2026-07-31 11:00:12 -05:00
parent 0ed0f11a5a
commit 93005494eb
7 changed files with 95 additions and 12 deletions

79
szds.md
View File

@@ -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,
}
},