actor.rpg.master
Schema Diff
+6 -3
Compatibility Analysis
Breaking Changes Detected
2 breaking changes, 0 non-breaking changes.
Breaking Changes (2)
- ConstraintAdded ConstraintAdded { vertex_id: "actor.rpg.master:body.spriteCid", sort: "maxLength", value: "200" }
- ConstraintAdded ConstraintAdded { vertex_id: "actor.rpg.master:body.snapshotScope", sort: "maxLength", value: "20" }
Migration Guidance
Constraint Changes
- ConstraintAdded ConstraintAdded { vertex_id: "actor.rpg.master:body.spriteCid", sort: "maxLength", value: "200" }
- ConstraintAdded ConstraintAdded { vertex_id: "actor.rpg.master:body.snapshotScope", sort: "maxLength", value: "20" }
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
-
"format": "datetime"
36
+
"format": "datetime",
37
+
"description": "When this record was created"
37
38
},
38
39
"spriteCid": {
39
40
"type": "string",
41
+
"maxLength": 200,
40
42
"description": "CID of the approved sprite blob (optional)"
41
43
},
42
44
"updatedAt": {
43
45
"type": "string",
44
-
"format": "datetime"
46
+
"format": "datetime",
47
+
"description": "When this record was last modified"
45
48
},
46
49
"snapshotScope": {
47
50
"type": "string",
48
51
"default": "full",
52
+
"maxLength": 20,
49
53
"description": "What portions of stats are validated. 'none' = inherent trust (always valid), 'custom' = selected fields only, 'full' = all fields must match",
50
54
"knownValues": [
51
55
"none",
52
56
"custom",
53
57
"full"
54
58
]
55
59
}
56
60
}
57
61
},
58
62
"description": "A master record validating one player's stats for one system. Multiple GMs can validate the same player."
59
63
}
60
64
},
61
65
"$type": "com.atproto.lexicon.schema",
62
66
"lexicon": 1,
63
-
"revision": 3,
64
67
"description": "A game master's validation of a player's RPG data for a specific system. One record per player per system per GM."
65
68
}