{
"id": "place.birds.speciesPhoto",
"defs": {
"main": {
"key": "any",
"type": "record",
"record": {
"type": "object",
"required": [
"image",
"createdAt"
],
"properties": {
"image": {
"type": "blob",
"accept": [
"image/jpeg",
"image/png",
"image/webp"
],
"maxSize": 2000000,
"description": "The chosen picture. Usually a still the observer clipped from their own video, or one of their photos."
},
"source": {
"ref": "com.atproto.repo.strongRef",
"type": "ref",
"description": "The `place.birds.sighting` this picture was taken from, pinned to the exact revision it was taken from. Absent when the picture did not come from a sighting."
},
"createdAt": {
"type": "string",
"format": "datetime",
"description": "Client-declared timestamp for when this choice was made."
},
"speciesCode": {
"type": "string",
"maxLength": 32,
"description": "The taxon code this picture represents. Duplicates the record key so a consumer reading the value alone still knows what it is."
},
"sourceMediaIndex": {
"type": "integer",
"maximum": 3,
"minimum": 0,
"description": "Which attachment of `source` the picture came from, as a zero-based index into that record's `media` array."
}
}
},
"description": "The picture the observer wants to represent a species in their own collection. One per species; the record key is the taxon code (e.g. `easpho`), so the choice is addressable without a lookup. Purely a display preference — it asserts nothing about the bird."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}