{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A user's profile information",
      "key": "literal:self",
      "record": {
        "properties": {
          "avatar": {
            "accept": [
              "image/png",
              "image/jpeg",
              "image/webp"
            ],
            "maxSize": 1000000,
            "type": "blob"
          },
          "banner": {
            "accept": [
              "image/png",
              "image/jpeg",
              "image/webp"
            ],
            "maxSize": 2000000,
            "type": "blob"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "description": {
            "description": "User bio/description with rich text support",
            "maxGraphemes": 256,
            "maxLength": 2560,
            "type": "string"
          },
          "descriptionFacets": {
            "description": "Rich text annotations for the description",
            "items": {
              "ref": "social.coves.richtext.facet",
              "type": "ref"
            },
            "maxLength": 50,
            "type": "array"
          },
          "displayName": {
            "description": "Optional display name",
            "maxGraphemes": 64,
            "maxLength": 640,
            "type": "string"
          },
          "origin": {
            "description": "Bridge-written home instance hostname (e.g. lemmy.world); display only. maxLength counts UTF-8 bytes.",
            "maxLength": 253,
            "type": "string"
          },
          "originSoftware": {
            "description": "Bridge-written home instance software; display only. maxLength counts UTF-8 bytes.",
            "maxLength": 64,
            "type": "string"
          },
          "originUrl": {
            "description": "Bridge-written URL of the account on its home instance; display only.",
            "format": "uri",
            "type": "string"
          },
          "originUsername": {
            "description": "Bridge-written username on the home instance; display only. maxLength counts UTF-8 bytes.",
            "maxLength": 256,
            "type": "string"
          }
        },
        "required": [],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "social.coves.actor.profile",
  "lexicon": 1
}
