app.bsky.embed.external
A representation of some externally linked content (eg, a URL and 'card'), embedded in a Bluesky record (eg, a post).
Details · object
| Kind | object |
|---|---|
| Authority | embed.bsky.app |
| Commit rev | 3n2zafgosfn25 |
| Indexed |
Showing version bafyreiferwstdi6t6dn2bzbsuuy2cj5axvgkt4suvjk6zojtzvajogjj4u. Show the latest
Checks
Validunlimited-stringdefs.external.properties.descriptionNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.external.properties.titleNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.viewArticle.properties.descriptionNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.viewArticle.properties.titleNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.viewArticlePublication.properties.descriptionNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.viewArticlePublication.properties.titleNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.viewArticlePublicationTheme.properties.accentNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.viewArticlePublicationTheme.properties.accentForegroundNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.viewArticlePublicationTheme.properties.backgroundNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.viewArticlePublicationTheme.properties.foregroundNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.viewExternal.properties.descriptionNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.viewExternal.properties.titleNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.viewExternalSource.properties.descriptionNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.viewExternalSource.properties.titleNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.viewGallery.properties.descriptionNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.viewGallery.properties.titleNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.viewGalleryImage.properties.altNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.viewLivestream.properties.descriptionNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.viewLivestream.properties.titleNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"colorRGB": {
"description": "RGB color definition, inspired by site.standard.theme.color#rgb",
"properties": {
"b": {
"maximum": 255,
"minimum": 0,
"type": "integer"
},
"g": {
"maximum": 255,
"minimum": 0,
"type": "integer"
},
"r": {
"maximum": 255,
"minimum": 0,
"type": "integer"
}
},
"required": [
"r",
"g",
"b"
],
"type": "object"
},
"external": {
"properties": {
"associatedRefs": {
"description": "StrongRefs (uri+cid) of the Atmosphere records that backed this view.",
"items": {
"ref": "com.atproto.repo.strongRef",
"type": "ref"
},
"type": "array"
},
"description": {
"type": "string"
},
"thumb": {
"accept": [
"image/*"
],
"maxSize": 1000000,
"type": "blob"
},
"title": {
"type": "string"
},
"uri": {
"format": "uri",
"type": "string"
}
},
"required": [
"uri",
"title",
"description"
],
"type": "object"
},
"main": {
"description": "A representation of some externally linked content (eg, a URL and 'card'), embedded in a Bluesky record (eg, a post).",
"properties": {
"external": {
"ref": "#external",
"type": "ref"
}
},
"required": [
"external"
],
"type": "object"
},
"view": {
"properties": {
"data": {
"description": "Hydrated modality-specific data for the external embed, when available.",
"refs": [
"#viewArticle",
"#viewArticlePublication",
"#viewGallery",
"#viewLivestream"
],
"type": "union"
},
"external": {
"ref": "#viewExternal",
"type": "ref"
}
},
"required": [
"external"
],
"type": "object"
},
"viewArticle": {
"properties": {
"associatedProfiles": {
"items": {
"ref": "app.bsky.actor.defs#profileViewBasic",
"type": "ref"
},
"type": "array"
},
"associatedRefs": {
"items": {
"ref": "com.atproto.repo.strongRef",
"type": "ref"
},
"type": "array"
},
"createdAt": {
"format": "datetime",
"type": "string"
},
"description": {
"type": "string"
},
"image": {
"format": "uri",
"type": "string"
},
"labels": {
"items": {
"ref": "com.atproto.label.defs#label",
"type": "ref"
},
"type": "array"
},
"likeCount": {
"minimum": 0,
"type": "integer"
},
"likers": {
"description": "Available profile previews. Selected deterministically by DID; not a ranking. Deprecated: use viewer.knownLikers instead.",
"items": {
"ref": "app.bsky.actor.defs#profileViewBasic",
"type": "ref"
},
"maxLength": 3,
"type": "array"
},
"providerId": {
"description": "Best-effort provider domain for cosmetic attribution, such as pckt.blog. Not verified provenance.",
"maxLength": 128,
"type": "string"
},
"publisher": {
"ref": "#viewArticlePublication",
"type": "ref"
},
"readingTime": {
"minimum": 1,
"type": "integer"
},
"title": {
"type": "string"
},
"updatedAt": {
"format": "datetime",
"type": "string"
},
"uri": {
"format": "uri",
"type": "string"
},
"viewer": {
"ref": "#viewArticleViewerState",
"type": "ref"
}
},
"required": [
"uri",
"title",
"description"
],
"type": "object"
},
"viewArticlePublication": {
"properties": {
"associatedProfiles": {
"items": {
"ref": "app.bsky.actor.defs#profileViewBasic",
"type": "ref"
},
"type": "array"
},
"associatedRefs": {
"items": {
"ref": "com.atproto.repo.strongRef",
"type": "ref"
},
"type": "array"
},
"createdAt": {
"format": "datetime",
"type": "string"
},
"description": {
"type": "string"
},
"image": {
"format": "uri",
"type": "string"
},
"labels": {
"items": {
"ref": "com.atproto.label.defs#label",
"type": "ref"
},
"type": "array"
},
"logo": {
"format": "uri",
"type": "string"
},
"providerId": {
"description": "Best-effort provider domain for cosmetic attribution, such as pckt.blog. Not verified provenance.",
"maxLength": 128,
"type": "string"
},
"subscribers": {
"description": "Available profile previews. Selected deterministically by DID; not a ranking.",
"items": {
"ref": "app.bsky.actor.defs#profileViewBasic",
"type": "ref"
},
"maxLength": 3,
"type": "array"
},
"subscriptionCount": {
"minimum": 0,
"type": "integer"
},
"theme": {
"ref": "#viewArticlePublicationTheme",
"type": "ref"
},
"title": {
"type": "string"
},
"updatedAt": {
"format": "datetime",
"type": "string"
},
"uri": {
"format": "uri",
"type": "string"
},
"viewer": {
"ref": "#viewArticlePublicationViewerState",
"type": "ref"
}
},
"required": [
"uri",
"title",
"description"
],
"type": "object"
},
"viewArticlePublicationTheme": {
"properties": {
"accent": {
"description": "Hex color string, if available. Example: '#ffffff'.",
"type": "string"
},
"accentForeground": {
"description": "Hex color string, if available. Example: '#ffffff'.",
"type": "string"
},
"background": {
"description": "Hex color string, if available. Example: '#ffffff'.",
"type": "string"
},
"foreground": {
"description": "Hex color string, if available. Example: '#ffffff'.",
"type": "string"
}
},
"type": "object"
},
"viewArticlePublicationViewerState": {
"description": "Metadata about the requesting account's relationship with the subject publication. Only has meaningful content for authed requests.",
"properties": {
"knownSubscriberCount": {
"description": "Total number of accounts the requesting account follows that subscribed to the subject, including those in knownSubscribers.",
"minimum": 0,
"type": "integer"
},
"knownSubscribers": {
"description": "Up to 3 accounts the requesting account follows that subscribed to the subject, newest first. Never includes the requesting account.",
"items": {
"ref": "app.bsky.actor.defs#profileViewBasic",
"type": "ref"
},
"maxLength": 3,
"type": "array"
},
"subscription": {
"description": "The requesting account's site.standard.graph.subscription record for this publication, if subscribed.",
"format": "at-uri",
"type": "string"
}
},
"type": "object"
},
"viewArticleViewerState": {
"description": "Metadata about the requesting account's relationship with the subject article. Only has meaningful content for authed requests.",
"properties": {
"knownLikerCount": {
"description": "Total number of accounts the requesting account follows that recommended the subject, including those in knownLikers.",
"minimum": 0,
"type": "integer"
},
"knownLikers": {
"description": "Up to 3 accounts the requesting account follows that recommended the subject, newest first. Never includes the requesting account.",
"items": {
"ref": "app.bsky.actor.defs#profileViewBasic",
"type": "ref"
},
"maxLength": 3,
"type": "array"
},
"like": {
"description": "The requesting account's site.standard.graph.recommend record for this article, if recommended.",
"format": "at-uri",
"type": "string"
}
},
"type": "object"
},
"viewExternal": {
"properties": {
"associatedProfiles": {
"description": "Profiles of the owners of the Atmosphere records that backed this view.",
"items": {
"ref": "app.bsky.actor.defs#profileViewBasic",
"type": "ref"
},
"type": "array"
},
"associatedRefs": {
"description": "StrongRefs (uri+cid) of the Atmosphere records that backed this view.",
"items": {
"ref": "com.atproto.repo.strongRef",
"type": "ref"
},
"type": "array"
},
"createdAt": {
"description": "When the external content was created, if available. Example: a publication date, for an article.",
"format": "datetime",
"type": "string"
},
"description": {
"type": "string"
},
"labels": {
"items": {
"ref": "com.atproto.label.defs#label",
"type": "ref"
},
"type": "array"
},
"readingTime": {
"description": "Estimated reading time in minutes, if applicable and available.",
"type": "integer"
},
"source": {
"ref": "#viewExternalSource",
"type": "ref"
},
"thumb": {
"format": "uri",
"type": "string"
},
"title": {
"type": "string"
},
"updatedAt": {
"description": "When the external content was updated, if available.",
"format": "datetime",
"type": "string"
},
"uri": {
"format": "uri",
"type": "string"
}
},
"required": [
"uri",
"title",
"description"
],
"type": "object"
},
"viewExternalSource": {
"description": "The source of an external embed, such as a standard.site publication.",
"properties": {
"description": {
"type": "string"
},
"icon": {
"description": "Fully-qualified URL where an icon representing the source can be fetched. For example, CDN location provided by the App View.",
"format": "uri",
"type": "string"
},
"theme": {
"ref": "#viewExternalSourceTheme",
"type": "ref"
},
"title": {
"type": "string"
},
"uri": {
"description": "URI of the source, if available. Example: the https:// URL of a site.standard.publication record.",
"format": "uri",
"type": "string"
}
},
"required": [
"uri",
"title"
],
"type": "object"
},
"viewExternalSourceTheme": {
"description": "The theme colors of an external source, such as a site.standard.publication. These colors may be used when rendering an embed from that source.",
"properties": {
"accentForegroundRGB": {
"ref": "#colorRGB",
"type": "ref"
},
"accentRGB": {
"ref": "#colorRGB",
"type": "ref"
},
"backgroundRGB": {
"ref": "#colorRGB",
"type": "ref"
},
"foregroundRGB": {
"ref": "#colorRGB",
"type": "ref"
}
},
"type": "object"
},
"viewGallery": {
"properties": {
"associatedProfiles": {
"items": {
"ref": "app.bsky.actor.defs#profileViewBasic",
"type": "ref"
},
"type": "array"
},
"associatedRefs": {
"items": {
"ref": "com.atproto.repo.strongRef",
"type": "ref"
},
"type": "array"
},
"createdAt": {
"format": "datetime",
"type": "string"
},
"description": {
"type": "string"
},
"items": {
"description": "The media items in the gallery. Each item may be of a different type, but all types must be supported by the client.",
"items": {
"refs": [
"#viewGalleryImage"
],
"type": "union"
},
"type": "array"
},
"labels": {
"items": {
"ref": "com.atproto.label.defs#label",
"type": "ref"
},
"type": "array"
},
"likeCount": {
"minimum": 0,
"type": "integer"
},
"likers": {
"description": "Available profile previews. Selected deterministically by DID; not a ranking. Deprecated: use viewer.knownLikers instead.",
"items": {
"ref": "app.bsky.actor.defs#profileViewBasic",
"type": "ref"
},
"maxLength": 3,
"type": "array"
},
"photoCount": {
"description": "Total number of gallery item backlinks, independent of the items included in this view.",
"minimum": 0,
"type": "integer"
},
"providerId": {
"description": "Best-effort provider domain for cosmetic attribution, such as grain.social. Not verified provenance.",
"maxLength": 128,
"type": "string"
},
"title": {
"type": "string"
},
"updatedAt": {
"format": "datetime",
"type": "string"
},
"uri": {
"format": "uri",
"type": "string"
},
"viewer": {
"ref": "#viewGalleryViewerState",
"type": "ref"
}
},
"required": [
"uri",
"title",
"description",
"items"
],
"type": "object"
},
"viewGalleryImage": {
"properties": {
"alt": {
"description": "Alt text description of the image, for accessibility.",
"type": "string"
},
"aspectRatio": {
"ref": "app.bsky.embed.defs#aspectRatio",
"type": "ref"
},
"fullsize": {
"description": "Fully-qualified URL where a large version of the image can be fetched. May or may not be the exact original blob. For example, CDN location provided by the App View.",
"format": "uri",
"type": "string"
},
"thumbnail": {
"description": "Fully-qualified URL where a thumbnail of the image can be fetched. For example, CDN location provided by the App View.",
"format": "uri",
"type": "string"
}
},
"required": [
"thumbnail",
"fullsize"
],
"type": "object"
},
"viewGalleryViewerState": {
"description": "Metadata about the requesting account's relationship with the subject gallery. Only has meaningful content for authed requests.",
"properties": {
"knownLikerCount": {
"description": "Total number of accounts the requesting account follows that favorited the subject, including those in knownLikers.",
"minimum": 0,
"type": "integer"
},
"knownLikers": {
"description": "Up to 3 accounts the requesting account follows that favorited the subject, newest first. Never includes the requesting account.",
"items": {
"ref": "app.bsky.actor.defs#profileViewBasic",
"type": "ref"
},
"maxLength": 3,
"type": "array"
},
"like": {
"description": "The requesting account's social.grain.favorite record for this gallery, if favorited.",
"format": "at-uri",
"type": "string"
}
},
"type": "object"
},
"viewLivestream": {
"properties": {
"active": {
"description": "True if the livestream is currently active at the time this view is served, false if it has ended.",
"type": "boolean"
},
"associatedProfiles": {
"items": {
"ref": "app.bsky.actor.defs#profileViewBasic",
"type": "ref"
},
"type": "array"
},
"associatedRefs": {
"items": {
"ref": "com.atproto.repo.strongRef",
"type": "ref"
},
"type": "array"
},
"createdAt": {
"format": "datetime",
"type": "string"
},
"description": {
"type": "string"
},
"endedAt": {
"format": "datetime",
"type": "string"
},
"image": {
"format": "uri",
"type": "string"
},
"labels": {
"items": {
"ref": "com.atproto.label.defs#label",
"type": "ref"
},
"type": "array"
},
"lastSeenAt": {
"description": "When the livestream last reported that it was live. A livestream without endedAt is considered active until two minutes after its last heartbeat; clients can apply the same window to tell whether a cached view is still live.",
"format": "datetime",
"type": "string"
},
"providerId": {
"description": "Best-effort provider domain for cosmetic attribution, such as stream.place. Not verified provenance.",
"maxLength": 128,
"type": "string"
},
"startedAt": {
"format": "datetime",
"type": "string"
},
"title": {
"type": "string"
},
"updatedAt": {
"format": "datetime",
"type": "string"
},
"uri": {
"format": "uri",
"type": "string"
}
},
"required": [
"uri",
"title",
"description",
"active"
],
"type": "object"
}
},
"id": "app.bsky.embed.external",
"lexicon": 1
}