{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "User profile record.",
      "key": "literal:self",
      "record": {
        "properties": {
          "avatar": {
            "accept": [
              "image/png",
              "image/jpeg"
            ],
            "maxSize": 1000000,
            "type": "blob"
          },
          "banner": {
            "accept": [
              "image/png",
              "image/jpeg",
              "image/webp"
            ],
            "description": "Cover image shown at the top of the profile.",
            "maxSize": 2000000,
            "type": "blob"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "description": {
            "maxGraphemes": 256,
            "maxLength": 2560,
            "type": "string"
          },
          "descriptionFacets": {
            "description": "Facets within description (mentions, tags, links).",
            "items": {
              "ref": "app.didpic.richtext.facet",
              "type": "ref"
            },
            "type": "array"
          },
          "displayName": {
            "maxGraphemes": 64,
            "maxLength": 640,
            "type": "string"
          },
          "location": {
            "maxGraphemes": 64,
            "maxLength": 640,
            "type": "string"
          },
          "pronouns": {
            "maxGraphemes": 64,
            "maxLength": 640,
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "app.didpic.actor.profile",
  "lexicon": 1
}
