forked from EntropiaFox/astranauta.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
data-structure.jsonc
94 lines (94 loc) · 2.25 KB
/
data-structure.jsonc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"campaigns": {
"--campaign-uid-123--": {
"name": "The War of Storms",
"users": [ "--user-reference-123--" ],
"characters": [ "--character-reference-123--" ],
"notes": [],
"timeline": [],
"inventories": [
"--inventories-reference-1--",
"--inventories-reference-2--",
"--inventories-reference-3--"
],
"unidentified": [
"--item-reference-1--",
"--item-reference-2--",
"--item-reference-3--"
]
}
},
"characters": {
"--character-uid-123--": {
"name": "Tenebrae",
"campaign": "--campaign-reference--",
"attuned": [
"--item-reference-1--",
"--item-reference-2--",
"--item-reference-3--"
],
"inventory": [
"--inventories-reference-1--",
"--inventories-reference-2--",
"--inventories-reference-3--"
],
"notes": {
"items": [
{
"ref": "--any-reference-1--",
"entries": []
}
]
}
}
},
"items": {
"--random-id-123--": {
"name": "Bag of Holding",
"source": "PHB",
"rarity": "string",
// merging reqAttune & reqAttuneTags & reqAttuneAlt
"attunement": "string | boolean | object",
// hasFluff & hasFluffImages
"image": "boolean",
// entries
"description": "array | object",
"srd": "boolean",
"type": "string",
"tier": "string"
}
},
"inventories": {
"--inventory-uid-123": {
"name": "Equipment",
"ref": "--item-uid-321--",
"items": [
{
"ref": "--item-uid-321--",
"quantity": 3
}
]
}
},
"users": {
"--random-id-123--": {
"name": "Tim McKay",
"email": "[email protected]",
// users should select which books they "own",
// this determines what content (items) are available in the campaign
"books": [ "--random-id-123--" ],
// campaign id as master
"campaigns": [ "--random-id-123--" ],
// created characters
"characters": [ "--random-id-123--" ]
}
},
"siteindex": {
"adventure": {
"out-of-the-abyss": [
"chapter-1-prisoners-of-the-drow",
"chapter-2-into-the-dark"
]
}
}
}