···1414 "maxGraphemes": 64,
1515 "maxLength": 640
1616 },
1717- "description": {
1717+ "about": {
1818 "type": "string",
1919- "description": "Free-form profile description text.",
1919+ "description": "Conference attendee extended about text",
2020+ "maxGraphemes": 1024,
2121+ "maxLength": 10240
2222+ },
2323+ "shortbio": {
2424+ "type": "string",
2525+ "description": "If you are a speaker, this is displayed as your bio. Use about for extended text",
2026 "maxGraphemes": 256,
2127 "maxLength": 2560
2228 },
2329 "avatar": {
2430 "type": "blob",
2525- "description": "Profile picture for conference attendee",
3131+ "description": "Profile picture for conference attendee. Defaults to Bluesky profile pic on first login. If you are speaking, this is used as your speaker headshot",
2632 "accept": ["image/png", "image/jpeg"],
2733 "maxSize": 1000000
2834 },
···11/**
22 * GENERATED CODE - DO NOT MODIFY
33 */
44-import {
55- type LexiconDoc,
66- Lexicons,
77- ValidationError,
88- type ValidationResult,
99-} from '@atproto/lexicon'
44+import { type LexiconDoc, Lexicons, ValidationError, type ValidationResult } from '@atproto/lexicon'
105import { type $Typed, is$typed, maybe$typed } from './util.js'
116127export const schemaDict = {
···1611 defs: {
1712 label: {
1813 type: 'object',
1919- description:
2020- 'Metadata tag on an atproto resource (eg, repo or record).',
1414+ description: 'Metadata tag on an atproto resource (eg, repo or record).',
2115 required: ['src', 'uri', 'val', 'cts'],
2216 properties: {
2317 ver: {
···3226 uri: {
3327 type: 'string',
3428 format: 'uri',
3535- description:
3636- 'AT URI of the record, repository (account), or other resource that this label applies to.',
2929+ description: 'AT URI of the record, repository (account), or other resource that this label applies to.',
3730 },
3831 cid: {
3932 type: 'string',
4033 format: 'cid',
4141- description:
4242- "Optionally, CID specifying the specific version of 'uri' resource this label applies to.",
3434+ description: "Optionally, CID specifying the specific version of 'uri' resource this label applies to.",
4335 },
4436 val: {
4537 type: 'string',
4638 maxLength: 128,
4747- description:
4848- 'The short string name of the value or type of this label.',
3939+ description: 'The short string name of the value or type of this label.',
4940 },
5041 neg: {
5142 type: 'boolean',
5252- description:
5353- 'If true, this is a negation label, overwriting a previous label.',
4343+ description: 'If true, this is a negation label, overwriting a previous label.',
5444 },
5545 cts: {
5646 type: 'string',
···6050 exp: {
6151 type: 'string',
6252 format: 'datetime',
6363- description:
6464- 'Timestamp at which this label expires (no longer applies).',
5353+ description: 'Timestamp at which this label expires (no longer applies).',
6554 },
6655 sig: {
6756 type: 'bytes',
···7160 },
7261 selfLabels: {
7362 type: 'object',
7474- description:
7575- 'Metadata tags on an atproto record, published by the author within the record.',
6363+ description: 'Metadata tags on an atproto record, published by the author within the record.',
7664 required: ['values'],
7765 properties: {
7866 values: {
···9482 val: {
9583 type: 'string',
9684 maxLength: 128,
9797- description:
9898- 'The short string name of the value or type of this label.',
8585+ description: 'The short string name of the value or type of this label.',
9986 },
10087 },
10188 },
10289 labelValueDefinition: {
10390 type: 'object',
104104- description:
105105- 'Declares a label value and its expected interpretations and behaviors.',
9191+ description: 'Declares a label value and its expected interpretations and behaviors.',
10692 required: ['identifier', 'severity', 'blurs', 'locales'],
10793 properties: {
10894 identifier: {
···132118 },
133119 adultOnly: {
134120 type: 'boolean',
135135- description:
136136- 'Does the user need to have adult content enabled in order to configure this label?',
121121+ description: 'Does the user need to have adult content enabled in order to configure this label?',
137122 },
138123 locales: {
139124 type: 'array',
···146131 },
147132 labelValueDefinitionStrings: {
148133 type: 'object',
149149- description:
150150- 'Strings which describe the label in the UI, localized into a specific language.',
134134+ description: 'Strings which describe the label in the UI, localized into a specific language.',
151135 required: ['lang', 'name', 'description'],
152136 properties: {
153137 lang: {
154138 type: 'string',
155155- description:
156156- 'The code of the language these strings are written in.',
139139+ description: 'The code of the language these strings are written in.',
157140 format: 'language',
158141 },
159142 name: {
···164147 },
165148 description: {
166149 type: 'string',
167167- description:
168168- 'A longer description of what the label means and why it might be applied.',
150150+ description: 'A longer description of what the label means and why it might be applied.',
169151 maxGraphemes: 10000,
170152 maxLength: 100000,
171153 },
···205187 maxGraphemes: 64,
206188 maxLength: 640,
207189 },
208208- description: {
190190+ about: {
191191+ type: 'string',
192192+ description: 'Conference attendee extended about text',
193193+ maxGraphemes: 512,
194194+ maxLength: 5120,
195195+ },
196196+ shortbio: {
209197 type: 'string',
210210- description: 'Free-form profile description text.',
198198+ description: 'If you are a speaker, this is displayed as your bio. Use about for extended text',
211199 maxGraphemes: 256,
212200 maxLength: 2560,
213201 },
214202 avatar: {
215203 type: 'blob',
216216- description: 'Profile picture for conference attendee',
204204+ description:
205205+ 'Profile picture for conference attendee. Defaults to Bluesky profile pic on first login. If you are speaking, this is used as your speaker headshot',
217206 accept: ['image/png', 'image/jpeg'],
218207 maxSize: 1000000,
219208 },
220209 banner: {
221210 type: 'blob',
222222- description:
223223- 'Larger horizontal image to display behind profile view.',
211211+ description: 'Larger horizontal image to display behind profile view.',
224212 accept: ['image/png', 'image/jpeg'],
225213 maxSize: 1000000,
226214 },
···275263 hash: string,
276264 requiredType?: false,
277265): ValidationResult<T>
278278-export function validate(
279279- v: unknown,
280280- id: string,
281281- hash: string,
282282- requiredType?: boolean,
283283-): ValidationResult {
266266+export function validate(v: unknown, id: string, hash: string, requiredType?: boolean): ValidationResult {
284267 return (requiredType ? is$typed : maybe$typed)(v, id, hash)
285268 ? lexicons.validate(`${id}#${hash}`, v)
286269 : {
287270 success: false,
288288- error: new ValidationError(
289289- `Must be an object with "${hash === 'main' ? id : `${id}#${hash}`}" $type property`,
290290- ),
271271+ error: new ValidationError(`Must be an object with "${hash === 'main' ? id : `${id}#${hash}`}" $type property`),
291272 }
292273}
293274