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
"id": "am.noz.at.spl.settlement",
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
"schemaVersion",
11
11
"settlementId",
12
12
"fromDid",
13
13
"toDid",
14
14
"currency",
15
15
"minorUnit",
16
16
"amountMinor",
17
17
"occurredAt",
18
18
"createdAt",
19
19
"voided"
20
20
],
21
21
"properties": {
22
22
"note": {
23
23
"type": "string",
24
24
"maxLength": 2000,
25
25
"maxGraphemes": 300
26
26
},
27
27
"toDid": {
28
28
"type": "string",
29
29
"format": "did"
30
30
},
31
31
"voided": {
32
32
"type": "boolean"
33
33
},
34
34
"fromDid": {
35
35
"type": "string",
36
36
"format": "did"
37
37
},
38
+
"groupId": {
39
+
"type": "string",
40
+
"maxLength": 64,
41
+
"minLength": 1,
42
+
"description": "Optional organizational group or trip within the ledger Space."
43
+
},
38
44
"currency": {
39
45
"type": "string",
40
46
"maxLength": 3,
41
47
"minLength": 3
42
48
},
43
49
"createdAt": {
44
50
"type": "string",
45
51
"format": "datetime"
46
52
},
47
53
"minorUnit": {
48
54
"type": "integer",
49
55
"maximum": 4,
50
56
"minimum": 0
51
57
},
52
58
"occurredAt": {
53
59
"type": "string",
54
60
"format": "datetime"
55
61
},
56
62
"amountMinor": {
57
63
"type": "integer",
58
64
"minimum": 1
59
65
},
60
66
"settlementId": {
61
67
"type": "string",
62
68
"maxLength": 64,
63
69
"minLength": 1
64
70
},
65
71
"schemaVersion": {
66
72
"type": "integer",
67
73
"const": 1
68
74
},
69
75
"paymentReference": {
70
76
"type": "string",
71
77
"maxLength": 500,
72
78
"description": "Optional opaque reference from a payment integration; never store credentials or secrets."
73
79
}
74
80
}
75
81
},
76
-
"description": "An immutable record of money paid from one group member to another."
82
+
"description": "An immutable record of money paid between two ledger members, optionally filed in a group."
77
83
}
78
84
},
79
85
"$type": "com.atproto.lexicon.schema",
80
86
"lexicon": 1
81
87
}