# social.popfeed.embed.images

> A set of images embedded in a Bluesky record (eg, a post).

- Kind: object
- Authority: embed.popfeed.social
- Lexicon: 1
- Published by [popfeed.social](https://lexicon.garden/identity/did:plc:i6k6scfcdaup4e2va33nkprb), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:i6k6scfcdaup4e2va33nkprb/social.popfeed.embed.images)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:i6k6scfcdaup4e2va33nkprb/social.popfeed.embed.images/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:i6k6scfcdaup4e2va33nkprb/social.popfeed.embed.images/analytics)

## Object (`social.popfeed.embed.images`)

Type: object

### Properties

- `images` (array, required)
  - Constraints: maxLength: 10
  - `items` (ref)
    - Reference: `#image`

## #image (`social.popfeed.embed.images#image`)

Type: object

### Properties

- `alt` (string, required): Alt text description of the image, for accessibility.
- `aspectRatio` (ref)
  - Reference: `social.popfeed.embed.defs#aspectRatio`
- `image` (blob, required)
  - Constraints: maxSize: 1000000, accept: image/*

## #view (`social.popfeed.embed.images#view`)

Type: object

### Properties

- `images` (array, required)
  - Constraints: maxLength: 10
  - `items` (ref)
    - Reference: `#viewImage`

## #viewImage (`social.popfeed.embed.images#viewImage`)

Type: object

### Properties

- `alt` (string, required): Alt text description of the image, for accessibility.
- `aspectRatio` (ref)
  - Reference: `social.popfeed.embed.defs#aspectRatio`
- `fullsize` (string · uri, required): 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.
- `thumb` (string · uri, required): Fully-qualified URL where a thumbnail of the image can be fetched. For example, CDN location provided by the App View.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "image": {
      "properties": {
        "alt": {
          "description": "Alt text description of the image, for accessibility.",
          "type": "string"
        },
        "aspectRatio": {
          "ref": "social.popfeed.embed.defs#aspectRatio",
          "type": "ref"
        },
        "image": {
          "accept": [
            "image/*"
          ],
          "maxSize": 1000000,
          "type": "blob"
        }
      },
      "required": [
        "image",
        "alt"
      ],
      "type": "object"
    },
    "main": {
      "properties": {
        "images": {
          "items": {
            "ref": "#image",
            "type": "ref"
          },
          "maxLength": 10,
          "type": "array"
        }
      },
      "required": [
        "images"
      ],
      "type": "object"
    },
    "view": {
      "properties": {
        "images": {
          "items": {
            "ref": "#viewImage",
            "type": "ref"
          },
          "maxLength": 10,
          "type": "array"
        }
      },
      "required": [
        "images"
      ],
      "type": "object"
    },
    "viewImage": {
      "properties": {
        "alt": {
          "description": "Alt text description of the image, for accessibility.",
          "type": "string"
        },
        "aspectRatio": {
          "ref": "social.popfeed.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"
        },
        "thumb": {
          "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": [
        "thumb",
        "fullsize",
        "alt"
      ],
      "type": "object"
    }
  },
  "description": "A set of images embedded in a Bluesky record (eg, a post).",
  "id": "social.popfeed.embed.images",
  "lexicon": 1
}
```
