# party.whey.files.prefs.star

> A starred file or folder. The record key is a stable hash of the drive space and path.

- Kind: record
- Record key: any
- Authority: prefs.files.whey.party
- Lexicon: 1
- Published by [whey.party](https://lexicon.garden/identity/did:plc:mn45tewwnse5btfftvd3powc), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:mn45tewwnse5btfftvd3powc/party.whey.files.prefs.star)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:mn45tewwnse5btfftvd3powc/party.whey.files.prefs.star/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:mn45tewwnse5btfftvd3powc/party.whey.files.prefs.star/analytics)

## Record (`party.whey.files.prefs.star`)

Type: record · key any

### Properties

- `at` (string · datetime, required): When the item was starred.
- `collection` (string · nsid)
  - Constraints: enum: party.whey.files.dir | party.whey.files.file
- `driveName` (string, required)
  - Constraints: minLength: 1, maxLength: 255
- `kind` (string, required)
  - Constraints: enum: file | dir
- `mimeType` (string)
  - Constraints: maxLength: 255
- `name` (string, required)
  - Constraints: minLength: 1, maxLength: 255
- `path` (string, required)
  - Constraints: minLength: 1, maxLength: 4096
- `rkey` (string · record-key, required)
- `size` (integer)
  - Constraints: minimum: 0
- `space` (string, required): Canonical drive space: at:space/<authority>/party.whey.files.drive/<skey>.
  - Constraints: maxLength: 512
- `updatedAt` (string · datetime)

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A starred file or folder. The record key is a stable hash of the drive space and path.",
      "key": "any",
      "record": {
        "properties": {
          "at": {
            "description": "When the item was starred.",
            "format": "datetime",
            "type": "string"
          },
          "collection": {
            "enum": [
              "party.whey.files.dir",
              "party.whey.files.file"
            ],
            "format": "nsid",
            "type": "string"
          },
          "driveName": {
            "maxLength": 255,
            "minLength": 1,
            "type": "string"
          },
          "kind": {
            "enum": [
              "file",
              "dir"
            ],
            "type": "string"
          },
          "mimeType": {
            "maxLength": 255,
            "type": "string"
          },
          "name": {
            "maxLength": 255,
            "minLength": 1,
            "type": "string"
          },
          "path": {
            "maxLength": 4096,
            "minLength": 1,
            "type": "string"
          },
          "rkey": {
            "format": "record-key",
            "type": "string"
          },
          "size": {
            "minimum": 0,
            "type": "integer"
          },
          "space": {
            "description": "Canonical drive space: at:space/<authority>/party.whey.files.drive/<skey>.",
            "maxLength": 512,
            "type": "string"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "space",
          "driveName",
          "path",
          "name",
          "kind",
          "rkey",
          "at"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "party.whey.files.prefs.star",
  "lexicon": 1
}
```
