# network.crate.fileName

> Published by [crate.network](https://lexicon.garden/identity/did:plc:hogkukbuqypodrkdgyvrw2ru)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:hogkukbuqypodrkdgyvrw2ru/network.crate.fileName)
- [Documentation](https://lexicon.garden/lexicon/did:plc:hogkukbuqypodrkdgyvrw2ru/network.crate.fileName/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:hogkukbuqypodrkdgyvrw2ru/network.crate.fileName/examples)

## Definitions

### `network.crate.fileName`

**Type**: `record`

Atomic uniqueness claim for a filename within a parent directory.

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `fileId` | `string` (tid) | Yes |  |
| `name` | `string` | Yes |  |
| `parentId` | `string` (tid) | No |  |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Atomic uniqueness claim for a filename within a parent directory.",
      "key": "any",
      "record": {
        "properties": {
          "fileId": {
            "format": "tid",
            "type": "string"
          },
          "name": {
            "maxLength": 1024,
            "minLength": 1,
            "type": "string"
          },
          "parentId": {
            "format": "tid",
            "type": "string"
          }
        },
        "required": [
          "fileId",
          "name"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "network.crate.fileName",
  "lexicon": 1
}
```
