···3344export const DESCRIPTION_OVERRIDES: Record<string, Record<string, string>> = {
55 'site.standard.publication': {
66- url: 'Required base publication URL (ex: https://standard.site).',
77- icon: 'Optional square image to identify the publication. Should be at least 256x256.',
88- name: 'Required name of the publication.',
99- description: 'Optional brief description of the publication.',
1010- basicTheme: 'Optional simplified publication theme for tools and apps to easily implement when displaying content.',
1111- preferences: 'Optional object containing platform specific preferences (with a few shared properties).',
66+ url: 'Base publication url (ex: `https://standard.site`). The canonical document URL is formed by combining this value with the document `path`.',
77+ icon: 'Square image to identify the publication. Should be at least 256x256.',
88+ name: 'Name of the publication.',
99+ description: 'Brief description of the publication.',
1010+ basicTheme: 'Simplified publication theme for tools and apps to utilize when displaying content.',
1111+ preferences: 'Object containing platform specific preferences (with a few shared properties).',
1212 },
1313 'site.standard.theme.basic': {
1414- background: 'Required color used for content background.',
1515- foreground: 'Required color used for content text.',
1616- accent: 'Required color used for links and button backgrounds.',
1717- accentForeground: 'Required color used for button text.',
1414+ background: 'Color used for content background.',
1515+ foreground: 'Color used for content text.',
1616+ accent: 'Color used for links and button backgrounds.',
1717+ accentForeground: 'Color used for button text.',
1818 },
1919 'site.standard.publication#preferences': {
2020- showInDiscover: 'Optional boolean which decides whether the publication should appear in discovery feeds.',
2020+ showInDiscover: 'Boolean which decides whether the publication should appear in discovery feeds.',
2121 },
2222 'site.standard.document': {
2323- site: 'Required URI for parent site or publication (https:// or at://). Use https:// for loose documents. Avoid trailing slashes.',
2424- path: 'Optional path, combined with site or publication url value to construct a full url to the document. Prepend with a leading slash.',
2525- title: 'Required title of the document.',
2626- description: 'Optional brief description or expert of the document.',
2727- coverImage: 'Optional image to use as the documents cover. Less than 1MB is size.',
2828- content: 'Optional open union to construct content within the record. Can be extended with other lexicons to define any content format.',
2929- textContent: 'Optional plaintext representation of the documents contents. Useful for search and other cases.',
3030- bskyPostRef: 'Optional strong reference to a Bluesky post. Useful to keep track of comments off-platform.',
3131- tags: 'Optional array of strings used to tag/categorize the document. Avoid prepending tags with hashtags ("#").',
3232- publishedAt: 'Required timestamp of the documents publication.',
3333- updatedAt: 'Optional timestamp of the documents last edit.',
2323+ site: 'Points to a publication record (`at://`) or a publication url (`https://`) for loose documents. Avoid trailing slashes.',
2424+ path: 'Combine with `site` or publication `url` to construct a canonical URL to the document. Prepend with a leading slash.',
2525+ title: 'Title of the document.',
2626+ description: 'A brief description or excerpt from the document.',
2727+ coverImage: 'Image to used for thumbnail or cover image. Less than 1MB is size.',
2828+ content: 'Open union used to define the record\'s content. Each entry must specify a `$type` and may be extended with other lexicons to support additional content formats.',
2929+ textContent: 'Plaintext representation of the documents contents. Should not contain markdown or other formatting.',
3030+ bskyPostRef: 'Strong reference to a Bluesky post. Useful to keep track of comments off-platform.',
3131+ tags: 'Array of strings used to tag or categorize the document. Avoid prepending tags with hashtags.',
3232+ publishedAt: 'Timestamp of the documents publish time.',
3333+ updatedAt: 'Timestamp of the documents last edit.',
3434 },
3535}
3636···4040 defName: string | null,
4141 propertyName: string
4242): string | undefined {
4343- const key = defName && defName !== 'main' ? `${ lexiconId }#${ defName }` : lexiconId
4343+ const key = defName && defName !== 'main' ? `${lexiconId}#${defName}` : lexiconId
4444 return DESCRIPTION_OVERRIDES[key]?.[propertyName]
4545}
4646···8383 lexiconId: string,
8484 defName: string | null
8585): string[] | undefined {
8686- const key = defName && defName !== 'main' ? `${ lexiconId }#${ defName }` : lexiconId
8686+ const key = defName && defName !== 'main' ? `${lexiconId}#${defName}` : lexiconId
8787 return PROPERTY_ORDER[key]
8888}