id.sifa.profile.certification
Schema Diff
+6 -6
Compatibility Analysis
Backward Compatible
Backward compatible. 6 non-breaking changes.
Non-Breaking Changes (6)
- ConstraintRelaxed ConstraintRelaxed { vertex_id: "id.sifa.profile.certification:body.name", sort: "maxGraphemes", old_value: "100", new_value: "256" }
- ConstraintRelaxed ConstraintRelaxed { vertex_id: "id.sifa.profile.certification:body.name", sort: "maxLength", old_value: "1000", new_value: "2560" }
- ConstraintRelaxed ConstraintRelaxed { vertex_id: "id.sifa.profile.certification:body.authority", sort: "maxLength", old_value: "1000", new_value: "2560" }
- ConstraintRelaxed ConstraintRelaxed { vertex_id: "id.sifa.profile.certification:body.authority", sort: "maxGraphemes", old_value: "100", new_value: "256" }
- ConstraintRelaxed ConstraintRelaxed { vertex_id: "id.sifa.profile.certification:body.credentialId", sort: "maxLength", old_value: "1000", new_value: "2560" }
- ConstraintRelaxed ConstraintRelaxed { vertex_id: "id.sifa.profile.certification:body.credentialId", sort: "maxGraphemes", old_value: "100", new_value: "256" }
Migration Guidance
Constraint Changes
- ConstraintRelaxed ConstraintRelaxed { vertex_id: "id.sifa.profile.certification:body.credentialId", sort: "maxLength", old_value: "1000", new_value: "2560" }
- ConstraintRelaxed ConstraintRelaxed { vertex_id: "id.sifa.profile.certification:body.credentialId", sort: "maxGraphemes", old_value: "100", new_value: "256" }
- ConstraintRelaxed ConstraintRelaxed { vertex_id: "id.sifa.profile.certification:body.authority", sort: "maxGraphemes", old_value: "100", new_value: "256" }
- ConstraintRelaxed ConstraintRelaxed { vertex_id: "id.sifa.profile.certification:body.authority", sort: "maxLength", old_value: "1000", new_value: "2560" }
- ConstraintRelaxed ConstraintRelaxed { vertex_id: "id.sifa.profile.certification:body.name", sort: "maxGraphemes", old_value: "100", new_value: "256" }
- ConstraintRelaxed ConstraintRelaxed { vertex_id: "id.sifa.profile.certification:body.name", sort: "maxLength", old_value: "1000", new_value: "2560" }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "Record representing a single certification or license.",
6
6
"key": "tid",
7
7
"record": {
8
8
"properties": {
9
9
"authority": {
10
10
"description": "Issuing organization or authority.",
11
-
"maxGraphemes": 100,
12
-
"maxLength": 1000,
11
+
"maxGraphemes": 256,
12
+
"maxLength": 2560,
13
13
"type": "string"
14
14
},
15
15
"authorityDid": {
16
16
"description": "DID of the issuing authority's ATproto account, if one exists.",
17
17
"format": "did",
18
18
"type": "string"
19
19
},
20
20
"createdAt": {
21
21
"description": "Client-declared timestamp when this record was originally created.",
22
22
"format": "datetime",
23
23
"type": "string"
24
24
},
25
25
"credentialId": {
26
26
"description": "Credential ID or license number.",
27
-
"maxGraphemes": 100,
28
-
"maxLength": 1000,
27
+
"maxGraphemes": 256,
28
+
"maxLength": 2560,
29
29
"type": "string"
30
30
},
31
31
"credentialUrl": {
32
32
"description": "URL to verify the credential.",
33
33
"format": "uri",
34
34
"type": "string"
35
35
},
36
36
"expiresAt": {
37
37
"description": "Expiry date. Omit if the certification does not expire.",
38
38
"format": "datetime",
39
39
"type": "string"
40
40
},
41
41
"issuedAt": {
42
42
"description": "Date the certification was issued.",
43
43
"format": "datetime",
44
44
"type": "string"
45
45
},
46
46
"labels": {
47
47
"description": "Self-label values for this certification record.",
48
48
"refs": [
49
49
"com.atproto.label.defs#selfLabels"
50
50
],
51
51
"type": "union"
52
52
},
53
53
"name": {
54
54
"description": "Certification or license name.",
55
-
"maxGraphemes": 100,
56
-
"maxLength": 1000,
55
+
"maxGraphemes": 256,
56
+
"maxLength": 2560,
57
57
"minLength": 1,
58
58
"type": "string"
59
59
}
60
60
},
61
61
"required": [
62
62
"name",
63
63
"createdAt"
64
64
],
65
65
"type": "object"
66
66
},
67
67
"type": "record"
68
68
}
69
69
},
70
70
"description": "A professional certification or license held by the user.",
71
71
"id": "id.sifa.profile.certification",
72
72
"lexicon": 1
73
73
}