full diff

com.opendatingprotocol.profile

From
bafyreie4deaevkxmvpsbcge33g3pppvyo5hz7zj7babcpjyeasjaazy2ky indexed 2026-11-16 16:49 UTC View this version
To
bafyreihoabpubngi6l7cqb5jvaczepasptq66a3h34chkr6xnwgjdvefnq indexed 2026-11-17 21:38 UTC View this version

Compatibility

backward compatible Backward compatible. 2 non-breaking changes.

Non-breaking changes (2)
  • AddedVertex AddedVertex { vertex_id: "com.opendatingprotocol.profile:body.example" }
  • AddedEdge AddedEdge { src: "com.opendatingprotocol.profile:body", tgt: "com.opendatingprotocol.profile:body.example", kind: "prop", name: Some("example") }

Migration guidance

Added

  • AddedVertex { vertex_id: "com.opendatingprotocol.profile:body.example" }

Notes

  • Non-breaking: AddedEdge { src: "com.opendatingprotocol.profile:body", tgt: "com.opendatingprotocol.profile:body.example", kind: "prop", name: Some("example") }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "The account's portable dating profile. Keep it in a permissioned Space, never a public repository.",
66 "key": "literal:self",
77 "record": {
88 "properties": {
99 "about": {
1010 "maxLength": 2000,
1111 "type": "string"
1212 },
1313 "displayName": {
1414 "maxLength": 160,
1515 "minLength": 1,
1616 "type": "string"
1717 },
18 "example": {
19 "description": "True only for an operator-owned, clearly fictional demonstration profile. Clients must not present it as a real person.",
20 "type": "boolean"
21 },
1822 "homeBase": {
1923 "description": "Broad location only; precise location is not part of this record.",
2024 "maxLength": 160,
2125 "type": "string"
2226 },
2327 "images": {
2428 "description": "Ordered profile images; the first is the lead image. Each blob lives on the author's PDS.",
2529 "items": {
2630 "ref": "#profileImage",
2731 "type": "ref"
2832 },
2933 "maxLength": 12,
3034 "minLength": 1,
3135 "type": "array"
3236 },
3337 "kind": {
3438 "description": "Who this account represents; readers must handle unfamiliar values.",
3539 "knownValues": [
3640 "single",
3741 "couple",
3842 "group"
3943 ],
4044 "maxLength": 40,
4145 "minLength": 1,
4246 "type": "string"
4347 },
4448 "people": {
4549 "items": {
4650 "ref": "#person",
4751 "type": "ref"
4852 },
4953 "maxLength": 12,
5054 "minLength": 1,
5155 "type": "array"
5256 },
5357 "picture": {
5458 "accept": [
5559 "image/webp",
5660 "image/jpeg",
5761 "image/png"
5862 ],
5963 "description": "Legacy lead image for clients that do not read images. If both are present, it must equal images[0].image.",
6064 "maxSize": 1048576,
6165 "type": "blob"
6266 },
6367 "pictureKind": {
6468 "description": "Legacy lead image kind. If both are present, it must equal images[0].kind.",
6569 "knownValues": [
6670 "photo",
6771 "avatar",
6872 "game-character"
6973 ],
7074 "maxLength": 40,
7175 "type": "string"
7276 },
7377 "videos": {
7478 "description": "Up to three ordered short videos. Video order is separate from images; clients show images before videos by default.",
7579 "items": {
7680 "ref": "#profileVideo",
7781 "type": "ref"
7882 },
7983 "maxLength": 3,
8084 "minLength": 1,
8185 "type": "array"
8286 }
8387 },
8488 "required": [
8589 "kind",
8690 "displayName",
8791 "people"
8892 ],
8993 "type": "object"
9094 },
9195 "type": "record"
9296 },
9397 "person": {
9498 "description": "One adult represented by the account. A linked DID is optional and does not attest to consent.",
9599 "properties": {
96100 "age": {
97101 "maximum": 120,
98102 "minimum": 18,
99103 "type": "integer"
100104 },
101105 "boundaries": {
102106 "items": {
103107 "ref": "com.opendatingprotocol.defs#term",
104108 "type": "ref"
105109 },
106110 "type": "array"
107111 },
108112 "did": {
109113 "format": "did",
110114 "type": "string"
111115 },
112116 "genders": {
113117 "items": {
114118 "ref": "com.opendatingprotocol.defs#term",
115119 "type": "ref"
116120 },
117121 "type": "array"
118122 },
119123 "interests": {
120124 "items": {
121125 "ref": "com.opendatingprotocol.defs#term",
122126 "type": "ref"
123127 },
124128 "type": "array"
125129 },
126130 "memberKey": {
127131 "description": "Stable unique key for this person within the profile. Preserve it across edits and reordering; do not reuse it for a different person.",
128132 "maxLength": 80,
129133 "minLength": 1,
130134 "type": "string"
131135 },
132136 "name": {
133137 "maxLength": 80,
134138 "minLength": 1,
135139 "type": "string"
136140 },
137141 "orientation": {
138142 "maxLength": 120,
139143 "type": "string"
140144 },
141145 "pronouns": {
142146 "maxLength": 80,
143147 "type": "string"
144148 }
145149 },
146150 "required": [
147151 "name"
148152 ],
149153 "type": "object"
150154 },
151155 "profileImage": {
152156 "description": "One image in the ordered profile gallery.",
153157 "properties": {
154158 "alt": {
155159 "maxLength": 300,
156160 "type": "string"
157161 },
158162 "image": {
159163 "accept": [
160164 "image/webp",
161165 "image/jpeg",
162166 "image/png"
163167 ],
164168 "maxSize": 1048576,
165169 "type": "blob"
166170 },
167171 "kind": {
168172 "knownValues": [
169173 "photo",
170174 "avatar",
171175 "game-character"
172176 ],
173177 "maxLength": 40,
174178 "type": "string"
175179 }
176180 },
177181 "required": [
178182 "image"
179183 ],
180184 "type": "object"
181185 },
182186 "profileVideo": {
183187 "description": "One short profile video. The source and poster blobs live on the author's PDS, not at a video website URL.",
184188 "properties": {
185189 "alt": {
186190 "description": "Short description for people who cannot play the video.",
187191 "maxLength": 300,
188192 "type": "string"
189193 },
190194 "captions": {
191195 "accept": [
192196 "text/vtt"
193197 ],
194198 "description": "Optional WebVTT timed captions.",
195199 "maxSize": 262144,
196200 "type": "blob"
197201 },
198202 "durationMs": {
199203 "maximum": 30000,
200204 "minimum": 1,
201205 "type": "integer"
202206 },
203207 "poster": {
204208 "accept": [
205209 "image/webp",
206210 "image/jpeg",
207211 "image/png"
208212 ],
209213 "maxSize": 1048576,
210214 "type": "blob"
211215 },
212216 "video": {
213217 "accept": [
214218 "video/mp4",
215219 "video/webm"
216220 ],
217221 "maxSize": 16777216,
218222 "type": "blob"
219223 }
220224 },
221225 "required": [
222226 "video",
223227 "poster",
224228 "durationMs"
225229 ],
226230 "type": "object"
227231 }
228232 },
229233 "description": "Draft portable dating profile owned by one AT Protocol account, which may represent one or several adults.",
230234 "id": "com.opendatingprotocol.profile",
231235 "lexicon": 1
232236}

Compare other versions