tools.ozone.hosting.getAccountHistory

ozone-lexicons.bsky.social

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "accountCreated": {
      "properties": {
        "email": {
          "type": "string"
        },
        "handle": {
          "format": "handle",
          "type": "string"
        }
      },
      "required": [],
      "type": "object"
    },
    "emailConfirmed": {
      "properties": {
        "email": {
          "type": "string"
        }
      },
      "required": [
        "email"
      ],
      "type": "object"
    },
    "emailUpdated": {
      "properties": {
        "email": {
          "type": "string"
        }
      },
      "required": [
        "email"
      ],
      "type": "object"
    },
    "event": {
      "properties": {
        "createdAt": {
          "format": "datetime",
          "type": "string"
        },
        "createdBy": {
          "type": "string"
        },
        "details": {
          "refs": [
            "#accountCreated",
            "#emailUpdated",
            "#emailConfirmed",
            "#passwordUpdated",
            "#handleUpdated"
          ],
          "type": "union"
        }
      },
      "required": [
        "details",
        "createdBy",
        "createdAt"
      ],
      "type": "object"
    },
    "handleUpdated": {
      "properties": {
        "handle": {
          "format": "handle",
          "type": "string"
        }
      },
      "required": [
        "handle"
      ],
      "type": "object"
    },
    "main": {
      "description": "Get account history, e.g. log of updated email addresses or other identity information.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "type": "string"
            },
            "events": {
              "items": {
                "ref": "#event",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "events"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "type": "string"
          },
          "did": {
            "format": "did",
            "type": "string"
          },
          "events": {
            "items": {
              "knownValues": [
                "accountCreated",
                "emailUpdated",
                "emailConfirmed",
                "passwordUpdated",
                "handleUpdated"
              ],
              "type": "string"
            },
            "type": "array"
          },
          "limit": {
            "default": 50,
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "did"
        ],
        "type": "params"
      },
      "type": "query"
    },
    "passwordUpdated": {
      "properties": {},
      "required": [],
      "type": "object"
    }
  },
  "id": "tools.ozone.hosting.getAccountHistory",
  "lexicon": 1
}

Validate Record

Validate a record against tools.ozone.hosting.getAccountHistory

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:33dt5kftu3jq2h5h4jjlqezt
CID
bafyreib5lubc76mgzrlegehotdpikjh7nqhn7pycjhehlooqdopm5lx2fa
Indexed At
2026-07-26 20:04 UTC
AT-URI
at://did:plc:33dt5kftu3jq2h5h4jjlqezt/com.atproto.lexicon.schema/tools.ozone.hosting.getAccountHistory

Similar Lexicons

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

Lexicon Garden

@