{
  "$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
}
