# exchange.recipe.collection

> Published by [recipe.exchange](https://lexicon.garden/identity/did:plc:4cx7ts7lqgjtsfquo53qo3sz)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:4cx7ts7lqgjtsfquo53qo3sz/exchange.recipe.collection)
- [Documentation](https://lexicon.garden/lexicon/did:plc:4cx7ts7lqgjtsfquo53qo3sz/exchange.recipe.collection/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:4cx7ts7lqgjtsfquo53qo3sz/exchange.recipe.collection/examples)

## Definitions

### `exchange.recipe.collection`

**Type**: `record`

**Key**: `tid`

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

## Raw Schema

```json
{
  "id": "exchange.recipe.collection",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "name",
          "createdAt",
          "updatedAt"
        ],
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 100
          },
          "text": {
            "type": "string",
            "maxLength": 1000
          },
          "recipes": {
            "type": "array",
            "items": {
              "ref": "com.atproto.repo.strongRef",
              "type": "ref"
            }
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          },
          "updatedAt": {
            "type": "string",
            "format": "datetime"
          }
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
