diff --git a/lexicons/app/bsky/embed/video.json b/lexicons/app/bsky/embed/video.json index da58ded8bb4..0b91574ed57 100644 --- a/lexicons/app/bsky/embed/video.json +++ b/lexicons/app/bsky/embed/video.json @@ -26,6 +26,16 @@ "aspectRatio": { "type": "ref", "ref": "app.bsky.embed.defs#aspectRatio" + }, + "attribution": { + "type": "string", + "description": "Attribution for the video, e.g. the creator or source.", + "maxGraphemes": 300, + "maxLength": 3000 + }, + "licenseUri": { + "type": "string", + "format": "uri" } } }, @@ -59,7 +69,13 @@ "aspectRatio": { "type": "ref", "ref": "app.bsky.embed.defs#aspectRatio" - } + }, + "attribution": { + "type": "string", + "maxGraphemes": 300, + "maxLength": 3000 + }, + "licenseUri": { "type": "string", "format": "uri" } } } } diff --git a/packages/api/src/client/lexicons.ts b/packages/api/src/client/lexicons.ts index 5111b619dea..db8f6b9b944 100644 --- a/packages/api/src/client/lexicons.ts +++ b/packages/api/src/client/lexicons.ts @@ -5297,6 +5297,17 @@ export const schemaDict = { type: 'ref', ref: 'lex:app.bsky.embed.defs#aspectRatio', }, + attribution: { + type: 'string', + description: + 'Attribution for the video, e.g. the creator or source.', + maxGraphemes: 300, + maxLength: 3000, + }, + licenseUri: { + type: 'string', + format: 'uri', + }, }, }, caption: { @@ -5339,6 +5350,15 @@ export const schemaDict = { type: 'ref', ref: 'lex:app.bsky.embed.defs#aspectRatio', }, + attribution: { + type: 'string', + maxGraphemes: 300, + maxLength: 3000, + }, + licenseUri: { + type: 'string', + format: 'uri', + }, }, }, }, diff --git a/packages/api/src/client/types/app/bsky/embed/video.ts b/packages/api/src/client/types/app/bsky/embed/video.ts index 2be451b85ed..eae2d7968f6 100644 --- a/packages/api/src/client/types/app/bsky/embed/video.ts +++ b/packages/api/src/client/types/app/bsky/embed/video.ts @@ -13,6 +13,9 @@ export interface Main { /** Alt text description of the video, for accessibility. */ alt?: string aspectRatio?: AppBskyEmbedDefs.AspectRatio + /** Attribution for the video, e.g. the creator or source. */ + attribution?: string + licenseUri?: string [k: string]: unknown } @@ -53,6 +56,8 @@ export interface View { thumbnail?: string alt?: string aspectRatio?: AppBskyEmbedDefs.AspectRatio + attribution?: string + licenseUri?: string [k: string]: unknown } diff --git a/packages/bsky/src/lexicon/lexicons.ts b/packages/bsky/src/lexicon/lexicons.ts index 295d5beccdf..ff55ad7f148 100644 --- a/packages/bsky/src/lexicon/lexicons.ts +++ b/packages/bsky/src/lexicon/lexicons.ts @@ -5297,6 +5297,17 @@ export const schemaDict = { type: 'ref', ref: 'lex:app.bsky.embed.defs#aspectRatio', }, + attribution: { + type: 'string', + description: + 'Attribution for the video, e.g. the creator or source.', + maxGraphemes: 300, + maxLength: 3000, + }, + licenseUri: { + type: 'string', + format: 'uri', + }, }, }, caption: { @@ -5339,6 +5350,15 @@ export const schemaDict = { type: 'ref', ref: 'lex:app.bsky.embed.defs#aspectRatio', }, + attribution: { + type: 'string', + maxGraphemes: 300, + maxLength: 3000, + }, + licenseUri: { + type: 'string', + format: 'uri', + }, }, }, }, diff --git a/packages/bsky/src/lexicon/types/app/bsky/embed/video.ts b/packages/bsky/src/lexicon/types/app/bsky/embed/video.ts index 50eb59aa038..d6f1a777d88 100644 --- a/packages/bsky/src/lexicon/types/app/bsky/embed/video.ts +++ b/packages/bsky/src/lexicon/types/app/bsky/embed/video.ts @@ -13,6 +13,9 @@ export interface Main { /** Alt text description of the video, for accessibility. */ alt?: string aspectRatio?: AppBskyEmbedDefs.AspectRatio + /** Attribution for the video, e.g. the creator or source. */ + attribution?: string + licenseUri?: string [k: string]: unknown } @@ -53,6 +56,8 @@ export interface View { thumbnail?: string alt?: string aspectRatio?: AppBskyEmbedDefs.AspectRatio + attribution?: string + licenseUri?: string [k: string]: unknown } diff --git a/packages/ozone/src/lexicon/lexicons.ts b/packages/ozone/src/lexicon/lexicons.ts index 5111b619dea..db8f6b9b944 100644 --- a/packages/ozone/src/lexicon/lexicons.ts +++ b/packages/ozone/src/lexicon/lexicons.ts @@ -5297,6 +5297,17 @@ export const schemaDict = { type: 'ref', ref: 'lex:app.bsky.embed.defs#aspectRatio', }, + attribution: { + type: 'string', + description: + 'Attribution for the video, e.g. the creator or source.', + maxGraphemes: 300, + maxLength: 3000, + }, + licenseUri: { + type: 'string', + format: 'uri', + }, }, }, caption: { @@ -5339,6 +5350,15 @@ export const schemaDict = { type: 'ref', ref: 'lex:app.bsky.embed.defs#aspectRatio', }, + attribution: { + type: 'string', + maxGraphemes: 300, + maxLength: 3000, + }, + licenseUri: { + type: 'string', + format: 'uri', + }, }, }, }, diff --git a/packages/ozone/src/lexicon/types/app/bsky/embed/video.ts b/packages/ozone/src/lexicon/types/app/bsky/embed/video.ts index 50eb59aa038..d6f1a777d88 100644 --- a/packages/ozone/src/lexicon/types/app/bsky/embed/video.ts +++ b/packages/ozone/src/lexicon/types/app/bsky/embed/video.ts @@ -13,6 +13,9 @@ export interface Main { /** Alt text description of the video, for accessibility. */ alt?: string aspectRatio?: AppBskyEmbedDefs.AspectRatio + /** Attribution for the video, e.g. the creator or source. */ + attribution?: string + licenseUri?: string [k: string]: unknown } @@ -53,6 +56,8 @@ export interface View { thumbnail?: string alt?: string aspectRatio?: AppBskyEmbedDefs.AspectRatio + attribution?: string + licenseUri?: string [k: string]: unknown } diff --git a/packages/pds/src/lexicon/lexicons.ts b/packages/pds/src/lexicon/lexicons.ts index 5111b619dea..db8f6b9b944 100644 --- a/packages/pds/src/lexicon/lexicons.ts +++ b/packages/pds/src/lexicon/lexicons.ts @@ -5297,6 +5297,17 @@ export const schemaDict = { type: 'ref', ref: 'lex:app.bsky.embed.defs#aspectRatio', }, + attribution: { + type: 'string', + description: + 'Attribution for the video, e.g. the creator or source.', + maxGraphemes: 300, + maxLength: 3000, + }, + licenseUri: { + type: 'string', + format: 'uri', + }, }, }, caption: { @@ -5339,6 +5350,15 @@ export const schemaDict = { type: 'ref', ref: 'lex:app.bsky.embed.defs#aspectRatio', }, + attribution: { + type: 'string', + maxGraphemes: 300, + maxLength: 3000, + }, + licenseUri: { + type: 'string', + format: 'uri', + }, }, }, }, diff --git a/packages/pds/src/lexicon/types/app/bsky/embed/video.ts b/packages/pds/src/lexicon/types/app/bsky/embed/video.ts index 50eb59aa038..d6f1a777d88 100644 --- a/packages/pds/src/lexicon/types/app/bsky/embed/video.ts +++ b/packages/pds/src/lexicon/types/app/bsky/embed/video.ts @@ -13,6 +13,9 @@ export interface Main { /** Alt text description of the video, for accessibility. */ alt?: string aspectRatio?: AppBskyEmbedDefs.AspectRatio + /** Attribution for the video, e.g. the creator or source. */ + attribution?: string + licenseUri?: string [k: string]: unknown } @@ -53,6 +56,8 @@ export interface View { thumbnail?: string alt?: string aspectRatio?: AppBskyEmbedDefs.AspectRatio + attribution?: string + licenseUri?: string [k: string]: unknown }