actor.rpg.master
Schema Diff
+1 -2
Compatibility Analysis
Backward Compatible
Backward compatible. 1 non-breaking change.
Non-Breaking Changes (1)
- ConstraintRemoved ConstraintRemoved { vertex_id: "actor.rpg.master:body.snapshotScope", sort: "default" }
Migration Guidance
Constraint Changes
- ConstraintRemoved ConstraintRemoved { vertex_id: "actor.rpg.master:body.snapshotScope", sort: "default" }
1
1
{
2
2
"id": "actor.rpg.master",
3
3
"defs": {
4
4
"main": {
5
5
"key": "tid",
6
6
"type": "record",
7
7
"record": {
8
8
"type": "object",
9
9
"required": [
10
10
"player",
11
11
"system",
12
12
"createdAt"
13
13
],
14
14
"properties": {
15
15
"stats": {
16
16
"type": "unknown",
17
17
"description": "Snapshot of the player's stats for this system. Omitted when snapshotScope is 'none'."
18
18
},
19
19
"player": {
20
20
"type": "string",
21
21
"format": "did",
22
22
"description": "DID of the player this record validates"
23
23
},
24
24
"system": {
25
25
"type": "string",
26
26
"maxLength": 50,
27
27
"description": "The stat system being validated (e.g. 'dnd', 'reverie', 'rmmz')"
28
28
},
29
29
"campaign": {
30
30
"type": "string",
31
31
"maxLength": 100,
32
32
"description": "Name of the campaign this validation relates to"
33
33
},
34
34
"createdAt": {
35
35
"type": "string",
36
36
"format": "datetime",
37
37
"description": "When this record was created"
38
38
},
39
39
"spriteCid": {
40
40
"type": "string",
41
41
"maxLength": 200,
42
42
"description": "CID of the approved sprite blob (optional)"
43
43
},
44
44
"updatedAt": {
45
45
"type": "string",
46
46
"format": "datetime",
47
47
"description": "When this record was last modified"
48
48
},
49
49
"snapshotScope": {
50
50
"type": "string",
51
-
"default": "full",
52
51
"maxLength": 20,
53
-
"description": "What portions of stats are validated. 'none' = inherent trust (always valid), 'custom' = selected fields only, 'full' = all fields must match",
52
+
"description": "What portions of stats are validated. 'none' = inherent trust (always valid), 'custom' = selected fields only, 'full' = all fields must match. Defaults to 'full' if omitted.",
54
53
"knownValues": [
55
54
"none",
56
55
"custom",
57
56
"full"
58
57
]
59
58
}
60
59
}
61
60
},
62
61
"description": "A master record validating one player's stats for one system. Multiple GMs can validate the same player."
63
62
}
64
63
},
65
64
"$type": "com.atproto.lexicon.schema",
66
65
"lexicon": 1,
67
66
"description": "A game master's validation of a player's RPG data for a specific system. One record per player per system per GM."
68
67
}