{
"id": "app.streetseen.spot",
"defs": {
"main": {
"key": "any",
"type": "record",
"record": {
"type": "object",
"required": [
"image",
"label",
"createdAt",
"dateSeen",
"latitude",
"longitude",
"aspectRatio"
],
"properties": {
"image": {
"type": "blob",
"accept": [
"image/png",
"image/jpeg",
"image/webp",
"image/avif"
],
"maxSize": 2000000,
"description": "The photo of the spot"
},
"label": {
"type": "string",
"maxLength": 3000,
"minLength": 1,
"description": "The label of the spot",
"maxGraphemes": 300
},
"artist": {
"type": "string",
"maxLength": 3000,
"minLength": 1,
"description": "The name of the artist",
"maxGraphemes": 300
},
"dateSeen": {
"type": "string",
"format": "datetime",
"description": "The date and time when the spot was seen"
},
"latitude": {
"type": "integer",
"description": "The latitude of the spot"
},
"createdAt": {
"type": "string",
"format": "datetime",
"description": "The date and time when the spot was created"
},
"longitude": {
"type": "integer",
"description": "The longitude of the spot"
},
"aspectRatio": {
"type": "integer",
"description": "The aspect ratio of the image (width / height)"
}
}
},
"description": "A spot is a photographed piece of street"
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}