fyi.opensocial.updateProfile

lexicons.opensocial.fyi

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Replace the profile: name, description, join policy. Requires community.configure. Fields are inlined rather than referencing fyi.opensocial.profile, because a record def cannot be used as an input object — mirrors createCommunity.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "avatar": {
              "accept": [
                "image/png",
                "image/jpeg"
              ],
              "description": "The community's avatar, as returned by uploadImage. Omit to keep the current one; null to clear it.",
              "maxSize": 1000000,
              "type": "blob"
            },
            "banner": {
              "accept": [
                "image/png",
                "image/jpeg"
              ],
              "description": "The community's banner, as returned by uploadImage. Omit to keep the current one; null to clear it.",
              "maxSize": 1000000,
              "type": "blob"
            },
            "community": {
              "description": "The community DID. Every method is served by the community's host and authorized against that community's roles.",
              "format": "did",
              "type": "string"
            },
            "description": {
              "maxGraphemes": 300,
              "maxLength": 3000,
              "type": "string"
            },
            "displayName": {
              "maxGraphemes": 64,
              "maxLength": 640,
              "type": "string"
            },
            "joinPolicy": {
              "knownValues": [
                "fyi.opensocial.profile#open",
                "fyi.opensocial.profile#request",
                "fyi.opensocial.profile#invite"
              ],
              "type": "string"
            },
            "url": {
              "description": "The community's own site.",
              "format": "uri",
              "type": "string"
            }
          },
          "required": [
            "community",
            "displayName"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cid": {
              "format": "cid",
              "type": "string"
            },
            "uri": {
              "format": "at-uri",
              "type": "string"
            }
          },
          "required": [
            "uri",
            "cid"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "fyi.opensocial.updateProfile",
  "lexicon": 1
}

Validate Record

Validate a record against fyi.opensocial.updateProfile

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:2gqnilpksz2e7faj3bwvo6qc
CID
bafyreidt2l3gtt2vvxyonldwnfcdow6dgsnyajp3lpmhkb6zt3hfrq6n6i
Indexed At
2026-09-23 23:24 UTC
AT-URI
at://did:plc:2gqnilpksz2e7faj3bwvo6qc/com.atproto.lexicon.schema/fyi.opensocial.updateProfile

Version History (2 versions)

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

Lexicon Garden

@