{ "lexicon": 1, "id": "social.grain.photo", "defs": { "main": { "description": "A photo, with its alt text and aspect ratio, placed in galleries by gallery items.", "type": "record", "key": "tid", "record": { "type": "object", "required": [ "photo", "aspectRatio", "createdAt" ], "properties": { "photo": { "type": "blob", "accept": [ "image/*" ], "maxSize": 1000000 }, "alt": { "type": "string", "description": "Alt text description of the image, for accessibility." }, "aspectRatio": { "type": "ref", "ref": "social.grain.defs#aspectRatio" }, "createdAt": { "type": "string", "format": "datetime" } } } } } }