social.grain.photo.defs

grain.social

Documentation

exifView object

No description available.

Properties

cid string cid Optional

A content identifier (CID) referencing immutable data.

createdAt string datetime Required

An RFC 3339 formatted timestamp.

dateTimeOriginal string Optional

No description available.

exposureTime string Optional

No description available.

fNumber string Optional

No description available.

flash string Optional

No description available.

focalLengthIn35mmFormat string Optional

No description available.

iSO integer Optional

No description available.

lensMake string Optional

No description available.

lensModel string Optional

No description available.

make string Optional

No description available.

model string Optional

No description available.

photo string at-uri Required

An AT Protocol URI (e.g., at://did:plc:xyz/app.bsky.feed.post/abc).

uri string at-uri Optional

An AT Protocol URI (e.g., at://did:plc:xyz/app.bsky.feed.post/abc).

View raw schema
{
  "type": "object",
  "required": [
    "photo",
    "createdAt"
  ],
  "properties": {
    "cid": {
      "type": "string",
      "format": "cid"
    },
    "iSO": {
      "type": "integer"
    },
    "uri": {
      "type": "string",
      "format": "at-uri"
    },
    "make": {
      "type": "string"
    },
    "flash": {
      "type": "string"
    },
    "model": {
      "type": "string"
    },
    "photo": {
      "type": "string",
      "format": "at-uri"
    },
    "fNumber": {
      "type": "string"
    },
    "lensMake": {
      "type": "string"
    },
    "createdAt": {
      "type": "string",
      "format": "datetime"
    },
    "lensModel": {
      "type": "string"
    },
    "exposureTime": {
      "type": "string"
    },
    "dateTimeOriginal": {
      "type": "string"
    },
    "focalLengthIn35mmFormat": {
      "type": "string"
    }
  }
}
photoView object

No description available.

Properties

alt string Required

Alt text description of the image, for accessibility.

cid string cid Required

A content identifier (CID) referencing immutable data.

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.

uri string at-uri Required

An AT Protocol URI (e.g., at://did:plc:xyz/app.bsky.feed.post/abc).

View raw schema
{
  "type": "object",
  "required": [
    "uri",
    "cid",
    "thumb",
    "fullsize",
    "alt"
  ],
  "properties": {
    "alt": {
      "type": "string",
      "description": "Alt text description of the image, for accessibility."
    },
    "cid": {
      "type": "string",
      "format": "cid"
    },
    "uri": {
      "type": "string",
      "format": "at-uri"
    },
    "exif": {
      "ref": "social.grain.photo.defs#exifView",
      "type": "ref",
      "description": "EXIF metadata for the photo, if available."
    },
    "thumb": {
      "type": "string",
      "format": "uri",
      "description": "Fully-qualified URL where a thumbnail of the image can be fetched. For example, CDN location provided by the App View."
    },
    "fullsize": {
      "type": "string",
      "format": "uri",
      "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."
    },
    "aspectRatio": {
      "ref": "social.grain.defs#aspectRatio",
      "type": "ref"
    }
  }
}

Lexicon Garden

@