com.atmosphereaccount.registry.profile
Schema Diff
+62 -8
Compatibility Analysis
Breaking Changes Detected
7 breaking changes, 16 non-breaking changes.
Breaking Changes (7)
- ConstraintAdded ConstraintAdded { vertex_id: "com.atmosphereaccount.registry.profile:body.createdAt", sort: "maxLength", value: "64" }
- ConstraintAdded ConstraintAdded { vertex_id: "com.atmosphereaccount.registry.profile:body.categories:items", sort: "maxLength", value: "32" }
- ConstraintAdded ConstraintAdded { vertex_id: "com.atmosphereaccount.registry.profile:body.mainLink", sort: "maxLength", value: "512" }
- ConstraintAdded ConstraintAdded { vertex_id: "com.atmosphereaccount.registry.profile:body.androidLink", sort: "maxLength", value: "512" }
- ConstraintAdded ConstraintAdded { vertex_id: "com.atmosphereaccount.registry.profile#linkEntry.kind", sort: "maxLength", value: "32" }
- ConstraintAdded ConstraintAdded { vertex_id: "com.atmosphereaccount.registry.profile:body.iosLink", sort: "maxLength", value: "512" }
- ConstraintAdded ConstraintAdded { vertex_id: "com.atmosphereaccount.registry.profile:body.profileType", sort: "maxLength", value: "16" }
Non-Breaking Changes (16)
- AddedVertex AddedVertex { vertex_id: "com.atmosphereaccount.registry.profile#screenshotEntry" }
- AddedVertex AddedVertex { vertex_id: "com.atmosphereaccount.registry.profile#screenshotEntry.image" }
- AddedVertex AddedVertex { vertex_id: "com.atmosphereaccount.registry.profile:body.androidLink" }
- AddedVertex AddedVertex { vertex_id: "com.atmosphereaccount.registry.profile:body.iosLink" }
- AddedVertex AddedVertex { vertex_id: "com.atmosphereaccount.registry.profile:body.mainLink" }
- AddedVertex AddedVertex { vertex_id: "com.atmosphereaccount.registry.profile:body.profileType" }
- AddedVertex AddedVertex { vertex_id: "com.atmosphereaccount.registry.profile:body.screenshots" }
- AddedVertex AddedVertex { vertex_id: "com.atmosphereaccount.registry.profile:body.screenshots:items" }
- AddedEdge AddedEdge { src: "com.atmosphereaccount.registry.profile#screenshotEntry", tgt: "com.atmosphereaccount.registry.profile#screenshotEntry.image", kind: "prop", name: Some("image") }
- AddedEdge AddedEdge { src: "com.atmosphereaccount.registry.profile:body", tgt: "com.atmosphereaccount.registry.profile:body.androidLink", kind: "prop", name: Some("androidLink") }
- AddedEdge AddedEdge { src: "com.atmosphereaccount.registry.profile:body", tgt: "com.atmosphereaccount.registry.profile:body.iosLink", kind: "prop", name: Some("iosLink") }
- AddedEdge AddedEdge { src: "com.atmosphereaccount.registry.profile:body", tgt: "com.atmosphereaccount.registry.profile:body.mainLink", kind: "prop", name: Some("mainLink") }
- AddedEdge AddedEdge { src: "com.atmosphereaccount.registry.profile:body", tgt: "com.atmosphereaccount.registry.profile:body.profileType", kind: "prop", name: Some("profileType") }
- AddedEdge AddedEdge { src: "com.atmosphereaccount.registry.profile:body", tgt: "com.atmosphereaccount.registry.profile:body.screenshots", kind: "prop", name: Some("screenshots") }
- AddedEdge AddedEdge { src: "com.atmosphereaccount.registry.profile:body.screenshots", tgt: "com.atmosphereaccount.registry.profile:body.screenshots:items", kind: "items", name: None }
- ConstraintRemoved ConstraintRemoved { vertex_id: "com.atmosphereaccount.registry.profile:body.description", sort: "minLength" }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "com.atmosphereaccount.registry.profile#screenshotEntry" }AddedVertex { vertex_id: "com.atmosphereaccount.registry.profile#screenshotEntry.image" }AddedVertex { vertex_id: "com.atmosphereaccount.registry.profile:body.androidLink" }AddedVertex { vertex_id: "com.atmosphereaccount.registry.profile:body.iosLink" }AddedVertex { vertex_id: "com.atmosphereaccount.registry.profile:body.mainLink" }AddedVertex { vertex_id: "com.atmosphereaccount.registry.profile:body.profileType" }AddedVertex { vertex_id: "com.atmosphereaccount.registry.profile:body.screenshots" }AddedVertex { vertex_id: "com.atmosphereaccount.registry.profile:body.screenshots:items" }
Constraint Changes
- ConstraintAdded ConstraintAdded { vertex_id: "com.atmosphereaccount.registry.profile:body.androidLink", sort: "maxLength", value: "512" }
- ConstraintAdded ConstraintAdded { vertex_id: "com.atmosphereaccount.registry.profile:body.categories:items", sort: "maxLength", value: "32" }
- ConstraintAdded ConstraintAdded { vertex_id: "com.atmosphereaccount.registry.profile:body.iosLink", sort: "maxLength", value: "512" }
- ConstraintAdded ConstraintAdded { vertex_id: "com.atmosphereaccount.registry.profile:body.profileType", sort: "maxLength", value: "16" }
- ConstraintAdded ConstraintAdded { vertex_id: "com.atmosphereaccount.registry.profile#linkEntry.kind", sort: "maxLength", value: "32" }
- ConstraintAdded ConstraintAdded { vertex_id: "com.atmosphereaccount.registry.profile:body.mainLink", sort: "maxLength", value: "512" }
- ConstraintAdded ConstraintAdded { vertex_id: "com.atmosphereaccount.registry.profile:body.createdAt", sort: "maxLength", value: "64" }
- ConstraintRemoved ConstraintRemoved { vertex_id: "com.atmosphereaccount.registry.profile:body.description", sort: "minLength" }
Additional Notes
- Non-breaking: AddedEdge { src: "com.atmosphereaccount.registry.profile#screenshotEntry", tgt: "com.atmosphereaccount.registry.profile#screenshotEntry.image", kind: "prop", name: Some("image") }
- Non-breaking: AddedEdge { src: "com.atmosphereaccount.registry.profile:body", tgt: "com.atmosphereaccount.registry.profile:body.androidLink", kind: "prop", name: Some("androidLink") }
- Non-breaking: AddedEdge { src: "com.atmosphereaccount.registry.profile:body", tgt: "com.atmosphereaccount.registry.profile:body.iosLink", kind: "prop", name: Some("iosLink") }
- Non-breaking: AddedEdge { src: "com.atmosphereaccount.registry.profile:body", tgt: "com.atmosphereaccount.registry.profile:body.mainLink", kind: "prop", name: Some("mainLink") }
- Non-breaking: AddedEdge { src: "com.atmosphereaccount.registry.profile:body", tgt: "com.atmosphereaccount.registry.profile:body.profileType", kind: "prop", name: Some("profileType") }
- Non-breaking: AddedEdge { src: "com.atmosphereaccount.registry.profile:body", tgt: "com.atmosphereaccount.registry.profile:body.screenshots", kind: "prop", name: Some("screenshots") }
- Non-breaking: AddedEdge { src: "com.atmosphereaccount.registry.profile:body.screenshots", tgt: "com.atmosphereaccount.registry.profile:body.screenshots:items", kind: "items", name: None }
1
1
{
2
2
"id": "com.atmosphereaccount.registry.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
"required": [
10
10
"name",
11
-
"description",
12
-
"categories",
13
11
"createdAt"
14
12
],
15
13
"properties": {
16
14
"icon": {
17
15
"type": "blob",
18
16
"accept": [
19
17
"image/svg+xml"
20
18
],
21
19
"maxSize": 200000,
22
20
"description": "Optional vector icon (SVG) intended for developers building badges, app showcases, sign-in flows, etc. Not displayed on the public Explore profile. Sanitised on upload (script tags, event handlers, foreignObject and javascript:/data: hrefs are stripped)."
23
21
},
24
22
"name": {
25
23
"type": "string",
26
24
"maxLength": 60,
27
25
"minLength": 1,
28
-
"description": "Display name for the project.",
26
+
"description": "Display name for the user or project.",
29
27
"maxGraphemes": 60
30
28
},
31
29
"links": {
32
30
"type": "array",
33
31
"items": {
34
32
"ref": "#linkEntry",
35
33
"type": "ref"
36
34
},
37
35
"maxLength": 12,
38
-
"description": "Outbound buttons shown on the public profile. Atmosphere links (kind = bsky / tangled / supper) derive their URL from the project's current handle by default; a `url` override is allowed for tangled / supper when the canonical destination differs from the handle. Custom link kinds (kind = website / other) always carry their `url`."
36
+
"description": "Outbound buttons shown on the public profile after the Web / iOS / Android app links. Atmosphere links (kind = bsky / tangled / supper) derive their URL from the project's current handle by default; a `url` override is allowed for tangled / supper when the canonical destination differs from the handle. Custom link kinds (kind = website / other) always carry their `url`; new records no longer emit website entries."
39
37
},
40
38
"avatar": {
41
39
"type": "blob",
42
40
"accept": [
43
41
"image/png",
44
42
"image/jpeg",
45
43
"image/webp"
46
44
],
47
45
"maxSize": 1000000,
48
46
"description": "Project icon. Recommended 512x512 square."
49
47
},
48
+
"iosLink": {
49
+
"type": "string",
50
+
"format": "uri",
51
+
"maxLength": 512,
52
+
"description": "Optional App Store URL for projects with an iOS app. Rendered as an iOS button on the public profile when present."
53
+
},
54
+
"mainLink": {
55
+
"type": "string",
56
+
"format": "uri",
57
+
"maxLength": 512,
58
+
"description": "Primary web destination for the project (the actual web app, service, or website). Rendered as the Web button inside the public profile card when present. Optional when an iOS or Android destination is provided."
59
+
},
50
60
"createdAt": {
51
61
"type": "string",
52
-
"format": "datetime"
62
+
"format": "datetime",
63
+
"maxLength": 64
53
64
},
54
65
"categories": {
55
66
"type": "array",
56
67
"items": {
57
68
"type": "string",
69
+
"maxLength": 32,
58
70
"knownValues": [
59
71
"app",
60
72
"accountProvider",
61
73
"moderator",
62
74
"infrastructure",
63
75
"developerTool"
64
76
]
65
77
},
66
78
"maxLength": 4,
67
79
"minLength": 1,
68
80
"description": "All categories that apply to the project. A project can be both an app and an account provider, etc. The first item is treated as the primary category for sort/grouping. New values can be added to knownValues over time without breaking existing records."
69
81
},
82
+
"androidLink": {
83
+
"type": "string",
84
+
"format": "uri",
85
+
"maxLength": 512,
86
+
"description": "Optional Google Play or Android distribution URL for projects with an Android app. Rendered as an Android button on the public profile when present."
87
+
},
70
88
"description": {
71
89
"type": "string",
72
90
"maxLength": 500,
73
-
"minLength": 1,
74
-
"description": "Short description of the project.",
91
+
"description": "Optional short description for a project or bio for a user profile.",
75
92
"maxGraphemes": 500
76
93
},
94
+
"profileType": {
95
+
"type": "string",
96
+
"maxLength": 16,
97
+
"description": "Distinguishes project profiles from user profiles. Omitted means project for backwards compatibility with existing records.",
98
+
"knownValues": [
99
+
"project",
100
+
"user"
101
+
]
102
+
},
103
+
"screenshots": {
104
+
"type": "array",
105
+
"items": {
106
+
"ref": "#screenshotEntry",
107
+
"type": "ref"
108
+
},
109
+
"maxLength": 4,
110
+
"description": "Optional screenshots for the project. Up to 4 PNG, JPEG, or WebP images."
111
+
},
77
112
"subcategories": {
78
113
"type": "array",
79
114
"items": {
80
115
"type": "string",
81
116
"maxLength": 32
82
117
},
83
118
"maxLength": 10,
84
119
"description": "Open-ended subcategory tags. For apps: microblog, photo, video, blogging, music, events, clients, tools, social, reading, productivity, research, science, reviews, gaming, community, food, location, liveStreaming, niche, content, art."
85
120
}
86
121
}
87
122
},
88
-
"description": "A project's profile in the Atmosphere registry. Created by the project's own account on its PDS; one record per account. Kept intentionally minimal so future additions (reviews, age ratings, donations metadata, etc.) live in sibling com.atmosphereaccount.registry.* records."
123
+
"description": "A user or project profile in the Atmosphere registry. Created by the account owner on their PDS; one record per account. Reviews, ratings, moderation, and other social data live in sibling com.atmosphereaccount.registry.* records."
89
124
},
90
125
"linkEntry": {
91
126
"type": "object",
92
127
"required": [
93
128
"kind"
94
129
],
95
130
"properties": {
96
131
"url": {
97
132
"type": "string",
98
133
"format": "uri",
99
134
"maxLength": 512,
100
135
"description": "Optional for atmosphere kinds (bsky derives URL from clientId+handle; tangled/supper default to the canonical handle URL but accept an override). Required for `website` and `other`."
101
136
},
102
137
"kind": {
103
138
"type": "string",
139
+
"maxLength": 32,
104
140
"description": "Link kind. Drives the icon/label and how `url` / `clientId` are resolved at render time. New atmosphere services can be added to knownValues without breaking older records.",
105
141
"knownValues": [
106
142
"bsky",
107
143
"tangled",
108
144
"supper",
109
145
"website",
110
146
"other"
111
147
]
112
148
},
113
149
"label": {
114
150
"type": "string",
115
151
"maxLength": 64,
116
152
"description": "Required when kind=\"other\". Used as the visible button title for custom links."
117
153
},
118
154
"clientId": {
119
155
"type": "string",
120
156
"maxLength": 64,
121
157
"description": "Required when kind=\"bsky\". Picks which Bluesky-compatible web client should host the link (bluesky, blacksky, deer, …)."
122
158
}
123
159
}
160
+
},
161
+
"screenshotEntry": {
162
+
"type": "object",
163
+
"required": [
164
+
"image"
165
+
],
166
+
"properties": {
167
+
"image": {
168
+
"type": "blob",
169
+
"accept": [
170
+
"image/png",
171
+
"image/jpeg",
172
+
"image/webp"
173
+
],
174
+
"maxSize": 5000000,
175
+
"description": "Screenshot image. Up to 5MB."
176
+
}
177
+
}
124
178
}
125
179
},
126
180
"$type": "com.atproto.lexicon.schema",
127
181
"lexicon": 1
128
182
}