am.noz.at.spl.group
Schema Diff
+8 -2
Compatibility Analysis
Breaking Changes Detected
1 breaking change, 1 non-breaking change.
Breaking Changes (1)
- RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "am.noz.at.spl.group:body", src: "am.noz.at.spl.group:body", tgt: "am.noz.at.spl.group:body.groupId", kind: "prop", name: Some("groupId") }
Non-Breaking Changes (1)
- AddedVertex AddedVertex { vertex_id: "am.noz.at.spl.group:body.groupId" }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "am.noz.at.spl.group:body.groupId" }
Additional Notes
- Breaking: RequiredEdgeAdded { vertex_id: "am.noz.at.spl.group:body", src: "am.noz.at.spl.group:body", tgt: "am.noz.at.spl.group:body.groupId", kind: "prop", name: Some("groupId") }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
-
"description": "Group metadata. Only the record in the space authority's repo is canonical.",
6
-
"key": "literal:self",
5
+
"description": "Optional group or trip metadata inside a ledger Space. Multiple groups may share one Space when they have the same members.",
6
+
"key": "tid",
7
7
"record": {
8
8
"properties": {
9
9
"createdAt": {
10
10
"format": "datetime",
11
11
"type": "string"
12
12
},
13
13
"defaultCurrency": {
14
14
"description": "Uppercase ISO 4217 currency code, such as EUR or USD.",
15
15
"maxLength": 3,
16
16
"minLength": 3,
17
17
"type": "string"
18
18
},
19
+
"groupId": {
20
+
"maxLength": 64,
21
+
"minLength": 1,
22
+
"type": "string"
23
+
},
19
24
"kind": {
20
25
"enum": [
21
26
"group",
22
27
"trip",
23
28
"household",
24
29
"couple",
25
30
"other"
26
31
],
27
32
"type": "string"
28
33
},
29
34
"members": {
30
35
"items": {
31
36
"ref": "lex:am.noz.at.spl.group#member",
32
37
"type": "ref"
33
38
},
34
39
"maxLength": 250,
35
40
"minLength": 1,
36
41
"type": "array"
37
42
},
38
43
"name": {
39
44
"maxGraphemes": 80,
40
45
"maxLength": 256,
41
46
"minLength": 1,
42
47
"type": "string"
43
48
},
44
49
"schemaVersion": {
45
50
"const": 1,
46
51
"type": "integer"
47
52
},
48
53
"simplifyDebts": {
49
54
"type": "boolean"
50
55
},
51
56
"timezone": {
52
57
"description": "IANA time-zone name used for recurring expenses.",
53
58
"maxLength": 64,
54
59
"minLength": 1,
55
60
"type": "string"
56
61
},
57
62
"updatedAt": {
58
63
"format": "datetime",
59
64
"type": "string"
60
65
}
61
66
},
62
67
"required": [
63
68
"schemaVersion",
69
+
"groupId",
64
70
"name",
65
71
"kind",
66
72
"defaultCurrency",
67
73
"timezone",
68
74
"simplifyDebts",
69
75
"members",
70
76
"createdAt",
71
77
"updatedAt"
72
78
],
73
79
"type": "object"
74
80
},
75
81
"type": "record"
76
82
},
77
83
"member": {
78
84
"properties": {
79
85
"active": {
80
86
"type": "boolean"
81
87
},
82
88
"did": {
83
89
"format": "did",
84
90
"type": "string"
85
91
},
86
92
"joinedAt": {
87
93
"format": "datetime",
88
94
"type": "string"
89
95
},
90
96
"role": {
91
97
"enum": [
92
98
"owner",
93
99
"admin",
94
100
"member"
95
101
],
96
102
"type": "string"
97
103
}
98
104
},
99
105
"required": [
100
106
"did",
101
107
"role",
102
108
"joinedAt",
103
109
"active"
104
110
],
105
111
"type": "object"
106
112
}
107
113
},
108
114
"id": "am.noz.at.spl.group",
109
115
"lexicon": 1
110
116
}