/app.tempsky.recordLifecycle

Lexicon Definitions

{
  "lexicon": 1,
  "id": "app.tempsky.recordLifecycle",
  "description": "Lifecycle tracking record that defines when any record should be deleted. The slice is the source of truth for deletion schedules.",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "record",
          "createdAt",
          "expiresAt"
        ],
        "properties": {
          "record": {
            "type": "string",
            "format": "at-uri",
            "description": "AT URI of the record being tracked (e.g., at://did:example/app.bsky.feed.post/abc123)"
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "When the original record was created"
          },
          "expiresAt": {
            "type": "string",
            "format": "datetime",
            "description": "When the record should be deleted"
          },
          "recordType": {
            "type": "string",
            "description": "The collection/type of the record being tracked (e.g., app.bsky.feed.post)"
          }
        }
      }
    }
  }
}