# eu.atchef.recipe

> Published by [luissilva.eu](https://lexicon.garden/identity/did:plc:xz7cghm6nkufwscryfzfjcsh)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:xz7cghm6nkufwscryfzfjcsh/eu.atchef.recipe)
- [Documentation](https://lexicon.garden/lexicon/did:plc:xz7cghm6nkufwscryfzfjcsh/eu.atchef.recipe/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:xz7cghm6nkufwscryfzfjcsh/eu.atchef.recipe/examples)

## Definitions

### `eu.atchef.recipe`

**Type**: `record`

A cooking recipe with ingredients, instructions, and metadata

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `name` | `string` | Yes | Recipe title |
| `time` | `integer` | No | Total time in minutes |
| `image` | `blob` | No | Cover image |
| `content` | `string` | Yes | Recipe content in Cooklang format |
| `cookTime` | `integer` | No | Cooking time in minutes |
| `portions` | `integer` | No | Number of servings |
| `prepTime` | `integer` | No | Preparation time in minutes |
| `createdAt` | `string` (datetime) | Yes | When the recipe was created |
| `updatedAt` | `string` (datetime) | No | When the recipe was last updated |
| `description` | `string` | No | Brief recipe description or summary |

## Raw Schema

```json
{
  "id": "eu.atchef.recipe",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "name",
          "content",
          "createdAt"
        ],
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 640,
            "description": "Recipe title",
            "maxGraphemes": 64
          },
          "time": {
            "type": "integer",
            "minimum": 1,
            "description": "Total time in minutes"
          },
          "image": {
            "type": "blob",
            "accept": [
              "image/png",
              "image/jpeg",
              "image/webp"
            ],
            "maxSize": 1000000,
            "description": "Cover image"
          },
          "content": {
            "type": "string",
            "maxLength": 15000,
            "description": "Recipe content in Cooklang format",
            "maxGraphemes": 3000
          },
          "cookTime": {
            "type": "integer",
            "minimum": 0,
            "description": "Cooking time in minutes"
          },
          "portions": {
            "type": "integer",
            "minimum": 1,
            "description": "Number of servings"
          },
          "prepTime": {
            "type": "integer",
            "minimum": 0,
            "description": "Preparation time in minutes"
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "When the recipe was created"
          },
          "updatedAt": {
            "type": "string",
            "format": "datetime",
            "description": "When the recipe was last updated"
          },
          "description": {
            "type": "string",
            "maxLength": 500,
            "description": "Brief recipe description or summary",
            "maxGraphemes": 200
          }
        }
      },
      "description": "A cooking recipe with ingredients, instructions, and metadata"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
