app.didpic.actor.profile
Schema Diff
+13 -0
Compatibility Analysis
Breaking Changes Detected
2 breaking changes, 6 non-breaking changes.
Breaking Changes (2)
- 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 (6)
- 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" }
- 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.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" }
Constraint Changes
- ConstraintAdded ConstraintAdded { vertex_id: "app.didpic.actor.profile:body.location", sort: "maxGraphemes", value: "64" }
- ConstraintAdded ConstraintAdded { vertex_id: "app.didpic.actor.profile:body.location", sort: "maxLength", value: "640" }
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.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
26
"description": "Cover image shown at the top of the profile."
27
27
},
28
+
"location": {
29
+
"type": "string",
30
+
"maxLength": 640,
31
+
"maxGraphemes": 64
32
+
},
28
33
"pronouns": {
29
34
"type": "string",
30
35
"maxLength": 640,
31
36
"maxGraphemes": 64
32
37
},
33
38
"createdAt": {
34
39
"type": "string",
35
40
"format": "datetime"
36
41
},
37
42
"description": {
38
43
"type": "string",
39
44
"maxLength": 2560,
40
45
"maxGraphemes": 256
41
46
},
42
47
"displayName": {
43
48
"type": "string",
44
49
"maxLength": 640,
45
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)."
46
59
}
47
60
}
48
61
},
49
62
"description": "User profile record."
50
63
}
51
64
},
52
65
"$type": "com.atproto.lexicon.schema",
53
66
"lexicon": 1
54
67
}