social.grain.photo
A photo, with its alt text and aspect ratio, placed in galleries by gallery items.
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | grain.social |
| Commit rev | 3n2mx2lxy4bbg |
| Indexed |
Checks
Validunlimited-stringdefs.main.record.properties.altNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "A photo, with its alt text and aspect ratio, placed in galleries by gallery items.",
"key": "tid",
"record": {
"properties": {
"alt": {
"description": "Alt text description of the image, for accessibility.",
"type": "string"
},
"aspectRatio": {
"ref": "social.grain.defs#aspectRatio",
"type": "ref"
},
"createdAt": {
"format": "datetime",
"type": "string"
},
"photo": {
"accept": [
"image/*"
],
"maxSize": 1000000,
"type": "blob"
}
},
"required": [
"photo",
"aspectRatio",
"createdAt"
],
"type": "object"
},
"type": "record"
}
},
"id": "social.grain.photo",
"lexicon": 1
}