# at.functions.recipe

> Published by [hamburgerz.bsky.social](https://lexicon.garden/identity/did:plc:vsnj4aaxyatiht4spdht2q2t)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:vsnj4aaxyatiht4spdht2q2t/at.functions.recipe)
- [Documentation](https://lexicon.garden/lexicon/did:plc:vsnj4aaxyatiht4spdht2q2t/at.functions.recipe/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:vsnj4aaxyatiht4spdht2q2t/at.functions.recipe/examples)

## Definitions

### `at.functions.recipe`

**Type**: `record`

A recipe — invented on the spot to prove AT Search can index a lexicon it has never seen.

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `tags` | `array` | No |  |
| `steps` | `string` | Yes | How to make it |
| `title` | `string` | Yes | Name of the dish |
| `createdAt` | `string` (datetime) | No |  |
| `sourceUrl` | `string` (uri) | No |  |
| `ingredients` | `array` | No | Ingredient list |

## Raw Schema

```json
{
  "id": "at.functions.recipe",
  "defs": {
    "main": {
      "key": "any",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "title",
          "steps"
        ],
        "properties": {
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "steps": {
            "type": "string",
            "maxLength": 20000,
            "description": "How to make it"
          },
          "title": {
            "type": "string",
            "maxLength": 200,
            "description": "Name of the dish"
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          },
          "sourceUrl": {
            "type": "string",
            "format": "uri"
          },
          "ingredients": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Ingredient list"
          }
        }
      },
      "description": "A recipe — invented on the spot to prove AT Search can index a lexicon it has never seen."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
