xyz.opnshelf.profile

opnshelf.xyz

Documentation

An OpnShelf profile record

main record

An OpnShelf profile record

Record Key literal:self Fixed literal value

Properties

avatar blob Optional

Profile photo stored in the user's PDS

maxSize: 5.2 MB
createdAt string datetime Required

Record creation timestamp

displayName string Optional

Display name shown in OpnShelf

maxLength: 64 bytes
updatedAt string datetime Required

Record update timestamp

View raw schema
{
  "key": "literal:self",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "createdAt",
      "updatedAt"
    ],
    "properties": {
      "avatar": {
        "type": "blob",
        "accept": [
          "image/jpeg",
          "image/png",
          "image/webp"
        ],
        "maxSize": 5242880,
        "description": "Profile photo stored in the user's PDS"
      },
      "createdAt": {
        "type": "string",
        "format": "datetime",
        "description": "Record creation timestamp"
      },
      "updatedAt": {
        "type": "string",
        "format": "datetime",
        "description": "Record update timestamp"
      },
      "displayName": {
        "type": "string",
        "maxLength": 64,
        "description": "Display name shown in OpnShelf"
      }
    }
  },
  "description": "An OpnShelf profile record"
}

Lexicon Garden

@