social.grain.actor.profile

grain.social

Documentation

A declaration of a basic account profile.

main record

A declaration of a basic account profile.

Record Key literal:self Fixed literal value

Properties

avatar blob Optional

Small image to be displayed next to posts from account. AKA, 'profile picture'

maxSize: 1.0 MB
createdAt string datetime Optional

An RFC 3339 formatted timestamp.

description string Optional

Free-form profile description text.

maxLength: 2560 bytesmaxGraphemes: 256 graphemes
displayName string Optional

No description available.

maxLength: 640 bytesmaxGraphemes: 64 graphemes
View raw schema
{
  "key": "literal:self",
  "type": "record",
  "record": {
    "type": "object",
    "properties": {
      "avatar": {
        "type": "blob",
        "accept": [
          "image/png",
          "image/jpeg"
        ],
        "maxSize": 1000000,
        "description": "Small image to be displayed next to posts from account. AKA, 'profile picture'"
      },
      "createdAt": {
        "type": "string",
        "format": "datetime"
      },
      "description": {
        "type": "string",
        "maxLength": 2560,
        "description": "Free-form profile description text.",
        "maxGraphemes": 256
      },
      "displayName": {
        "type": "string",
        "maxLength": 640,
        "maxGraphemes": 64
      }
    }
  },
  "description": "A declaration of a basic account profile."
}

Lexicon Garden

@