// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. // Lexicon schema: app.bsky.embed.images package bsky import ( lexutil "github.com/bluesky-social/indigo/lex/util" ) func init() { lexutil.RegisterType("app.bsky.embed.images#main", &EmbedImages{}) } // EmbedImages is a "main" in the app.bsky.embed.images schema. type EmbedImages struct { LexiconTypeID string `json:"$type" cborgen:"$type,const=app.bsky.embed.images"` Images []*EmbedImages_Image `json:"images" cborgen:"images"` } // EmbedImages_Image is a "image" in the app.bsky.embed.images schema. type EmbedImages_Image struct { // alt: Alt text description of the image, for accessibility. Alt string `json:"alt" cborgen:"alt"` AspectRatio *EmbedDefs_AspectRatio `json:"aspectRatio,omitempty" cborgen:"aspectRatio,omitempty"` // image: The raw image file. May be up to 2 MB, formerly limited to 1 MB. Image *lexutil.LexBlob `json:"image" cborgen:"image"` } // EmbedImages_View is a "view" in the app.bsky.embed.images schema. type EmbedImages_View struct { LexiconTypeID string `json:"$type" cborgen:"$type,const=app.bsky.embed.images#view"` Images []*EmbedImages_ViewImage `json:"images" cborgen:"images"` } // EmbedImages_ViewImage is a "viewImage" in the app.bsky.embed.images schema. type EmbedImages_ViewImage struct { // alt: Alt text description of the image, for accessibility. Alt string `json:"alt" cborgen:"alt"` AspectRatio *EmbedDefs_AspectRatio `json:"aspectRatio,omitempty" cborgen:"aspectRatio,omitempty"` // fullsize: 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. Fullsize string `json:"fullsize" cborgen:"fullsize"` // thumb: Fully-qualified URL where a thumbnail of the image can be fetched. For example, CDN location provided by the App View. Thumb string `json:"thumb" cborgen:"thumb"` }