# app.streetseen.spot

> Published by [streetseen.app](https://lexicon.garden/identity/did:plc:xdll6dvkuzjomvu72tzhccrt)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:xdll6dvkuzjomvu72tzhccrt/app.streetseen.spot)
- [Documentation](https://lexicon.garden/lexicon/did:plc:xdll6dvkuzjomvu72tzhccrt/app.streetseen.spot/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:xdll6dvkuzjomvu72tzhccrt/app.streetseen.spot/examples)

## Definitions

### `app.streetseen.spot`

**Type**: `record`

A spot is a photographed piece of street

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `image` | `blob` | Yes | The photo of the spot |
| `label` | `string` | Yes | The label of the spot |
| `artist` | `string` | No | The name of the artist |
| `dateSeen` | `string` (datetime) | Yes | The date and time when the spot was seen |
| `latitude` | `integer` | Yes | The latitude of the spot |
| `createdAt` | `string` (datetime) | Yes | The date and time when the spot was created |
| `longitude` | `integer` | Yes | The longitude of the spot |
| `aspectRatio` | `integer` | Yes | The aspect ratio of the image (width / height) |

## Raw Schema

```json
{
  "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
}
```
