# email.atmos.filePersonal.file

> Immutable metadata for one actor-private file revision.

- Kind: record
- Record key: any
- Authority: filePersonal.atmos.email
- Lexicon: 1
- Published by [comail.at](https://lexicon.garden/identity/did:plc:yu6rmwoemqfnmsdkljyvmuhg), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:yu6rmwoemqfnmsdkljyvmuhg/email.atmos.filePersonal.file)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:yu6rmwoemqfnmsdkljyvmuhg/email.atmos.filePersonal.file/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:yu6rmwoemqfnmsdkljyvmuhg/email.atmos.filePersonal.file/analytics)

## Record (`email.atmos.filePersonal.file`)

Type: record · key any

### Properties

- `blob` (ref, required)
  - Reference: `#blobRef`
- `fileId` (string, required)
  - Constraints: minLength: 69, maxLength: 69
- `mimeType` (string, required)
  - Constraints: minLength: 3, maxLength: 255
- `name` (string, required)
  - Constraints: minLength: 1, maxLength: 255
- `operationId` (string, required)
  - Constraints: minLength: 67, maxLength: 67
- `parentId` (string)
  - Constraints: minLength: 69, maxLength: 69
- `parents` (array, required)
  - Constraints: maxLength: 10000
  - `items` (string)
    - Constraints: minLength: 73, maxLength: 73
- `revisionId` (string, required)
  - Constraints: minLength: 73, maxLength: 73
- `sha256` (string, required)
  - Constraints: minLength: 64, maxLength: 64
- `size` (integer, required)
  - Constraints: minimum: 0, maximum: 36700160

## #blobRef (`email.atmos.filePersonal.file#blobRef`)

Type: object

### Properties

- `cid` (string, required)
  - Constraints: minLength: 73, maxLength: 73
- `mimeType` (string, required)
  - Constraints: minLength: 3, maxLength: 255
- `size` (integer, required)
  - Constraints: minimum: 0, maximum: 36700160

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "blobRef": {
      "properties": {
        "cid": {
          "maxLength": 73,
          "minLength": 73,
          "type": "string"
        },
        "mimeType": {
          "maxLength": 255,
          "minLength": 3,
          "type": "string"
        },
        "size": {
          "maximum": 36700160,
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "cid",
        "mimeType",
        "size"
      ],
      "type": "object"
    },
    "main": {
      "description": "Immutable metadata for one actor-private file revision.",
      "key": "any",
      "record": {
        "properties": {
          "blob": {
            "ref": "#blobRef",
            "type": "ref"
          },
          "fileId": {
            "maxLength": 69,
            "minLength": 69,
            "type": "string"
          },
          "mimeType": {
            "maxLength": 255,
            "minLength": 3,
            "type": "string"
          },
          "name": {
            "maxLength": 255,
            "minLength": 1,
            "type": "string"
          },
          "operationId": {
            "maxLength": 67,
            "minLength": 67,
            "type": "string"
          },
          "parentId": {
            "maxLength": 69,
            "minLength": 69,
            "type": "string"
          },
          "parents": {
            "items": {
              "maxLength": 73,
              "minLength": 73,
              "type": "string"
            },
            "maxLength": 10000,
            "type": "array"
          },
          "revisionId": {
            "maxLength": 73,
            "minLength": 73,
            "type": "string"
          },
          "sha256": {
            "maxLength": 64,
            "minLength": 64,
            "type": "string"
          },
          "size": {
            "maximum": 36700160,
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "fileId",
          "revisionId",
          "operationId",
          "name",
          "mimeType",
          "blob",
          "sha256",
          "size",
          "parents"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "email.atmos.filePersonal.file",
  "lexicon": 1
}
```
