# com.foto-log.profile

> One per member, with the record key 'self'. Every field is optional; a missing field means the member hasn't set that image.

- Kind: record
- Record key: literal:self
- Authority: foto-log.com
- Lexicon: 1
- Published by [foto-log.com](https://lexicon.garden/identity/did:plc:uex7tpbafbqyewx5zkvtc6pb), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:uex7tpbafbqyewx5zkvtc6pb/com.foto-log.profile)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:uex7tpbafbqyewx5zkvtc6pb/com.foto-log.profile/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:uex7tpbafbqyewx5zkvtc6pb/com.foto-log.profile/analytics)

## Record (`com.foto-log.profile`)

Type: record · key literal:self

### Properties

- `avatar` (ref): The member's profile photo on foto-log.com, in place of their Bluesky avatar.
  - Reference: `#image`
- `titleImage` (ref): Shown across the top of the member page in place of the text title.
  - Reference: `#image`
- `updatedAt` (string · datetime, required)
- `wallpaper` (ref): Fills the page behind and around the member page.
  - Reference: `#image`
- `wallpaperMode` (string): How the wallpaper fills the page: 'tile' repeats it at its natural size, 'fill' covers the window.
  - Constraints: maxLength: 32, knownValues: tile | fill

## #image (`com.foto-log.profile#image`)

Type: object

### Properties

- `aspectRatio` (ref)
  - Reference: `com.foto-log.photo#aspectRatio`
- `image` (blob, required)
  - Constraints: maxSize: 1000000, accept: image/*

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "image": {
      "properties": {
        "aspectRatio": {
          "ref": "com.foto-log.photo#aspectRatio",
          "type": "ref"
        },
        "image": {
          "accept": [
            "image/*"
          ],
          "maxSize": 1000000,
          "type": "blob"
        }
      },
      "required": [
        "image"
      ],
      "type": "object"
    },
    "main": {
      "description": "One per member, with the record key 'self'. Every field is optional; a missing field means the member hasn't set that image.",
      "key": "literal:self",
      "record": {
        "properties": {
          "avatar": {
            "description": "The member's profile photo on foto-log.com, in place of their Bluesky avatar.",
            "ref": "#image",
            "type": "ref"
          },
          "titleImage": {
            "description": "Shown across the top of the member page in place of the text title.",
            "ref": "#image",
            "type": "ref"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          },
          "wallpaper": {
            "description": "Fills the page behind and around the member page.",
            "ref": "#image",
            "type": "ref"
          },
          "wallpaperMode": {
            "description": "How the wallpaper fills the page: 'tile' repeats it at its natural size, 'fill' covers the window.",
            "knownValues": [
              "tile",
              "fill"
            ],
            "maxLength": 32,
            "type": "string"
          }
        },
        "required": [
          "updatedAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "How a member's fotolog page looks on foto-log.com: images the member uploaded for it.",
  "id": "com.foto-log.profile",
  "lexicon": 1
}
```
