# app.studynext.backup

> Legacy public-PDS backup pointer retained only to read existing records. New StudyNext clients store backups in authenticated private AppView storage; do not create new public backup records. Existing public blobs may remain. Legacy rkey is the local date (YYYY-MM-DD) on which the backup was taken.

- Kind: record
- Record key: any
- Authority: studynext.app
- Lexicon: 1
- Published by [studynext.app](https://lexicon.garden/identity/did:plc:nstib2qjcu3tyun7cxz4dxcm), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:nstib2qjcu3tyun7cxz4dxcm/app.studynext.backup)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:nstib2qjcu3tyun7cxz4dxcm/app.studynext.backup/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:nstib2qjcu3tyun7cxz4dxcm/app.studynext.backup/analytics)

## Record (`app.studynext.backup`)

Type: record · key any

### Properties

- `archive` (blob, required)
  - Constraints: accept: application/json
- `exportedAt` (string · datetime, required)
- `localDate` (string, required): Local calendar date in YYYY-MM-DD format; the same value is used as the record rkey.
- `mimeType` (string, required)
  - Constraints: maxLength: 100
- `version` (integer, required): Backup archive format version.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Legacy public-PDS backup pointer retained only to read existing records. New StudyNext clients store backups in authenticated private AppView storage; do not create new public backup records. Existing public blobs may remain. Legacy rkey is the local date (YYYY-MM-DD) on which the backup was taken.",
      "key": "any",
      "record": {
        "properties": {
          "archive": {
            "accept": [
              "application/json"
            ],
            "type": "blob"
          },
          "exportedAt": {
            "format": "datetime",
            "type": "string"
          },
          "localDate": {
            "description": "Local calendar date in YYYY-MM-DD format; the same value is used as the record rkey.",
            "type": "string"
          },
          "mimeType": {
            "maxLength": 100,
            "type": "string"
          },
          "version": {
            "description": "Backup archive format version.",
            "type": "integer"
          }
        },
        "required": [
          "localDate",
          "exportedAt",
          "version",
          "mimeType",
          "archive"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "app.studynext.backup",
  "lexicon": 1
}
```
