# social.lexical.works.collection

> Published by [lexical.social](https://lexicon.garden/identity/did:plc:k6xccphpraz5nylacjrdby3s)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:k6xccphpraz5nylacjrdby3s/social.lexical.works.collection)
- [Documentation](https://lexicon.garden/lexicon/did:plc:k6xccphpraz5nylacjrdby3s/social.lexical.works.collection/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:k6xccphpraz5nylacjrdby3s/social.lexical.works.collection/examples)

## Definitions

### `social.lexical.works.collection`

**Type**: `record`



**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `name` | `string` | Yes |  |
| `labels` | `array` | No |  |
| `createdAt` | `string` (datetime) | Yes |  |

## Raw Schema

```json
{
  "id": "social.lexical.works.collection",
  "defs": {
    "main": {
      "key": "any",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "name",
          "createdAt"
        ],
        "properties": {
          "name": {
            "type": "string",
            "nullable": false,
            "required": true,
            "maxLength": 1024,
            "description": "",
            "maxGraphemes": 512
          },
          "labels": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "nullable": false,
            "required": true
          }
        }
      },
      "description": ""
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
