# io.kich.cookinglog

> Published by [kich.io](https://lexicon.garden/identity/did:plc:uxjwdy4wvuridijisalvxlxe)

✓ This is the authoritative definition for this NSID.

## Description

Record declaring that the user cooked a public recipe.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:uxjwdy4wvuridijisalvxlxe/io.kich.cookinglog)
- [Documentation](https://lexicon.garden/lexicon/did:plc:uxjwdy4wvuridijisalvxlxe/io.kich.cookinglog/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:uxjwdy4wvuridijisalvxlxe/io.kich.cookinglog/examples)

## Definitions

### `io.kich.cookinglog`

**Type**: `record`

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `notes` | `string` | No | Optional user notes captured at completion. |
| `subject` | `ref` → `com.atproto.repo.strongRef` | Yes | Reference to the cooked recipe record (io.kich.recipe.recipe). |
| `createdAt` | `string` (datetime) | Yes | When this cooking log was created. |
| `scaledServings` | `unknown` | No | Optional servings value used while cooking. |

## Raw Schema

```json
{
  "id": "io.kich.cookinglog",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "subject",
          "createdAt"
        ],
        "properties": {
          "notes": {
            "type": "string",
            "maxLength": 500,
            "description": "Optional user notes captured at completion."
          },
          "subject": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref",
            "description": "Reference to the cooked recipe record (io.kich.recipe.recipe)."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "When this cooking log was created."
          },
          "scaledServings": {
            "type": "unknown",
            "description": "Optional servings value used while cooking."
          }
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "description": "Record declaring that the user cooked a public recipe."
}
```
