app.didpic.actor.profile
Schema Diff
+20 -2
Compatibility Analysis
Breaking Changes Detected
4 breaking changes, 8 non-breaking changes.
Breaking Changes (4)
- ConstraintAdded ConstraintAdded { vertex_id: "app.didpic.actor.profile:body.pronouns", sort: "maxGraphemes", value: "64" }
- ConstraintAdded ConstraintAdded { vertex_id: "app.didpic.actor.profile:body.pronouns", sort: "maxLength", value: "640" }
- ConstraintAdded ConstraintAdded { vertex_id: "app.didpic.actor.profile:body.location", sort: "maxLength", value: "640" }
- ConstraintAdded ConstraintAdded { vertex_id: "app.didpic.actor.profile:body.location", sort: "maxGraphemes", value: "64" }
Non-Breaking Changes (8)
- AddedVertex AddedVertex { vertex_id: "app.didpic.actor.profile:body.descriptionFacets" }
- AddedVertex AddedVertex { vertex_id: "app.didpic.actor.profile:body.descriptionFacets:items" }
- AddedVertex AddedVertex { vertex_id: "app.didpic.actor.profile:body.location" }
- AddedVertex AddedVertex { vertex_id: "app.didpic.actor.profile:body.pronouns" }
- AddedEdge AddedEdge { src: "app.didpic.actor.profile:body", tgt: "app.didpic.actor.profile:body.descriptionFacets", kind: "prop", name: Some("descriptionFacets") }
- AddedEdge AddedEdge { src: "app.didpic.actor.profile:body", tgt: "app.didpic.actor.profile:body.location", kind: "prop", name: Some("location") }
- AddedEdge AddedEdge { src: "app.didpic.actor.profile:body", tgt: "app.didpic.actor.profile:body.pronouns", kind: "prop", name: Some("pronouns") }
- AddedEdge AddedEdge { src: "app.didpic.actor.profile:body.descriptionFacets", tgt: "app.didpic.actor.profile:body.descriptionFacets:items", kind: "items", name: None }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "app.didpic.actor.profile:body.descriptionFacets" }AddedVertex { vertex_id: "app.didpic.actor.profile:body.descriptionFacets:items" }AddedVertex { vertex_id: "app.didpic.actor.profile:body.location" }AddedVertex { vertex_id: "app.didpic.actor.profile:body.pronouns" }
Constraint Changes
- ConstraintAdded ConstraintAdded { vertex_id: "app.didpic.actor.profile:body.location", sort: "maxLength", value: "640" }
- ConstraintAdded ConstraintAdded { vertex_id: "app.didpic.actor.profile:body.location", sort: "maxGraphemes", value: "64" }
- ConstraintAdded ConstraintAdded { vertex_id: "app.didpic.actor.profile:body.pronouns", sort: "maxLength", value: "640" }
- ConstraintAdded ConstraintAdded { vertex_id: "app.didpic.actor.profile:body.pronouns", sort: "maxGraphemes", value: "64" }
Additional Notes
- Non-breaking: AddedEdge { src: "app.didpic.actor.profile:body", tgt: "app.didpic.actor.profile:body.descriptionFacets", kind: "prop", name: Some("descriptionFacets") }
- Non-breaking: AddedEdge { src: "app.didpic.actor.profile:body", tgt: "app.didpic.actor.profile:body.location", kind: "prop", name: Some("location") }
- Non-breaking: AddedEdge { src: "app.didpic.actor.profile:body", tgt: "app.didpic.actor.profile:body.pronouns", kind: "prop", name: Some("pronouns") }
- Non-breaking: AddedEdge { src: "app.didpic.actor.profile:body.descriptionFacets", tgt: "app.didpic.actor.profile:body.descriptionFacets:items", kind: "items", name: None }
1
1
{
2
2
"id": "app.didpic.actor.profile",
3
3
"defs": {
4
4
"main": {
5
5
"key": "literal:self",
6
6
"type": "record",
7
7
"record": {
8
8
"type": "object",
9
9
"properties": {
10
10
"avatar": {
11
11
"type": "blob",
12
12
"accept": [
13
13
"image/png",
14
14
"image/jpeg"
15
15
],
16
16
"maxSize": 1000000
17
17
},
18
18
"banner": {
19
19
"type": "blob",
20
20
"accept": [
21
21
"image/png",
22
22
"image/jpeg",
23
23
"image/webp"
24
24
],
25
25
"maxSize": 2000000,
26
-
"description": "Wide cover image displayed at the top of the profile. Any aspect ratio; clients cover-crop on display."
26
+
"description": "Cover image shown at the top of the profile."
27
+
},
28
+
"location": {
29
+
"type": "string",
30
+
"maxLength": 640,
31
+
"maxGraphemes": 64
32
+
},
33
+
"pronouns": {
34
+
"type": "string",
35
+
"maxLength": 640,
36
+
"maxGraphemes": 64
27
37
},
28
38
"createdAt": {
29
39
"type": "string",
30
40
"format": "datetime"
31
41
},
32
42
"description": {
33
43
"type": "string",
34
44
"maxLength": 2560,
35
45
"maxGraphemes": 256
36
46
},
37
47
"displayName": {
38
48
"type": "string",
39
49
"maxLength": 640,
40
50
"maxGraphemes": 64
51
+
},
52
+
"descriptionFacets": {
53
+
"type": "array",
54
+
"items": {
55
+
"ref": "app.didpic.richtext.facet",
56
+
"type": "ref"
57
+
},
58
+
"description": "Facets within description (mentions, tags, links)."
41
59
}
42
60
}
43
61
},
44
-
"description": "A didpic user profile. One per account, rkey 'self'."
62
+
"description": "User profile record."
45
63
}
46
64
},
47
65
"$type": "com.atproto.lexicon.schema",
48
66
"lexicon": 1
49
67
}