at.happyproto.registry.updateProfile

happyproto.at

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Replace a package profile the caller has already published, held to the rules publishProfile applies. This is how a publisher edits a profile: it writes to the caller's own repo as them, where com.atproto.repo.putRecord sent through a HappyView instance goes wherever that instance's proxy routing points. It never creates a profile; publish a new one with publishProfile.",
      "errors": [
        {
          "description": "The caller's identity could not be determined, so there is no repo to write to.",
          "name": "AuthRequired"
        },
        {
          "description": "The record is not a profile the indexer would accept. The message names the reason.",
          "name": "InvalidRecord"
        },
        {
          "description": "No profile is indexed at that slug for the caller.",
          "name": "ProfileMissing"
        },
        {
          "description": "The profile changed after swapCid was read.",
          "name": "InvalidSwap"
        },
        {
          "description": "The record could not be written to the caller's repo.",
          "name": "Upstream"
        },
        {
          "description": "The registry has no identity configured.",
          "name": "NotConfigured"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "record": {
              "description": "The replacement at.happyproto.plugin.profile record.",
              "type": "unknown"
            },
            "slug": {
              "description": "The package slug: the record key of the profile to replace.",
              "maxLength": 512,
              "type": "string"
            },
            "swapCid": {
              "description": "The CID the profile was read at. The write is refused with InvalidSwap if the profile has changed since.",
              "format": "cid",
              "type": "string"
            }
          },
          "required": [
            "slug",
            "record"
          ],
          "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": "at.happyproto.registry.updateProfile",
  "lexicon": 1
}

Validate Record

Validate a record against at.happyproto.registry.updateProfile

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:mo7vq4jbioxwafy5zkcc3eux
CID
bafyreicyqillmvhkns7t73vglmvbxu3jck7vg4c5h3zlq3uwdwtw77usau
Indexed At
2026-10-19 18:20 UTC
AT-URI
at://did:plc:mo7vq4jbioxwafy5zkcc3eux/com.atproto.lexicon.schema/at.happyproto.registry.updateProfile

Similar Lexicons

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

  • Check a package profile against the rules the indexer applies, and optionally write it to the caller's repo. The indexer validates a record only after it is published and skips an invalid one quietly, so a publisher wri…

  • Create or update a plugin project in the caller's repo. The first call writes the site.standard.publication, the at.happyproto.registry.project and the software.release.project, in that order, so each is indexed after w…

Lexicon Garden

@