am.noz.at.spl.settlement
Schema Diff
+7 -1
Compatibility Analysis
Backward Compatible
Backward compatible. 2 non-breaking changes.
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "am.noz.at.spl.settlement:body.groupId" }
- AddedEdge AddedEdge { src: "am.noz.at.spl.settlement:body", tgt: "am.noz.at.spl.settlement:body.groupId", kind: "prop", name: Some("groupId") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "am.noz.at.spl.settlement:body.groupId" }
Additional Notes
- Non-breaking: AddedEdge { src: "am.noz.at.spl.settlement:body", tgt: "am.noz.at.spl.settlement:body.groupId", kind: "prop", name: Some("groupId") }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
-
"description": "An immutable record of money paid from one group member to another.",
5
+
"description": "An immutable record of money paid between two ledger members, optionally filed in a group.",
6
6
"key": "tid",
7
7
"record": {
8
8
"properties": {
9
9
"amountMinor": {
10
10
"minimum": 1,
11
11
"type": "integer"
12
12
},
13
13
"createdAt": {
14
14
"format": "datetime",
15
15
"type": "string"
16
16
},
17
17
"currency": {
18
18
"maxLength": 3,
19
19
"minLength": 3,
20
20
"type": "string"
21
21
},
22
22
"fromDid": {
23
23
"format": "did",
24
24
"type": "string"
25
25
},
26
+
"groupId": {
27
+
"description": "Optional organizational group or trip within the ledger Space.",
28
+
"maxLength": 64,
29
+
"minLength": 1,
30
+
"type": "string"
31
+
},
26
32
"minorUnit": {
27
33
"maximum": 4,
28
34
"minimum": 0,
29
35
"type": "integer"
30
36
},
31
37
"note": {
32
38
"maxGraphemes": 300,
33
39
"maxLength": 2000,
34
40
"type": "string"
35
41
},
36
42
"occurredAt": {
37
43
"format": "datetime",
38
44
"type": "string"
39
45
},
40
46
"paymentReference": {
41
47
"description": "Optional opaque reference from a payment integration; never store credentials or secrets.",
42
48
"maxLength": 500,
43
49
"type": "string"
44
50
},
45
51
"schemaVersion": {
46
52
"const": 1,
47
53
"type": "integer"
48
54
},
49
55
"settlementId": {
50
56
"maxLength": 64,
51
57
"minLength": 1,
52
58
"type": "string"
53
59
},
54
60
"toDid": {
55
61
"format": "did",
56
62
"type": "string"
57
63
},
58
64
"voided": {
59
65
"type": "boolean"
60
66
}
61
67
},
62
68
"required": [
63
69
"schemaVersion",
64
70
"settlementId",
65
71
"fromDid",
66
72
"toDid",
67
73
"currency",
68
74
"minorUnit",
69
75
"amountMinor",
70
76
"occurredAt",
71
77
"createdAt",
72
78
"voided"
73
79
],
74
80
"type": "object"
75
81
},
76
82
"type": "record"
77
83
}
78
84
},
79
85
"id": "am.noz.at.spl.settlement",
80
86
"lexicon": 1
81
87
}