# Variable: meal

```ts
const meal: object & Typed<{
  date: string;
  meal: "breakfast" | "lunch" | "dinner" | "snack";
  note?: string;
}>;
```

Defined in: [packages/core/src/schemas/library/life.ts:122](https://github.com/leifriksheim/minca/blob/main/core/src/schemas/library/life.ts#L122)

A meal on the plan: one per day per meal, and anyone may change it.

## Type Declaration

### description

```ts
readonly description: "A planned meal: one per day per meal." = 'A planned meal: one per day per meal.';
```

### links

```ts
readonly links: object;
```

#### links.about

```ts
readonly about: LinkDeclaration;
```

### name

```ts
readonly name: "std.meal" = 'std.meal';
```

### rules

```ts
readonly rules: object;
```

#### rules.onePer

```ts
readonly onePer: readonly ["date", "meal"];
```

### schema

```ts
readonly schema: object;
```

#### schema.properties

```ts
readonly properties: object;
```

#### schema.properties.date

```ts
readonly date: object & object;
```

##### Type Declaration

###### maxLength

```ts
maxLength: number = 10;
```

###### minLength

```ts
minLength: number = 10;
```

###### type

```ts
type: "string";
```

###### x-kind

```ts
readonly "x-kind": "day";
```

#### schema.properties.meal

```ts
readonly meal: object;
```

#### schema.properties.meal.enum

```ts
enum: ("breakfast" | "lunch" | "dinner" | "snack")[];
```

#### schema.properties.note

```ts
readonly note: object;
```

#### schema.properties.note.maxLength

```ts
maxLength: number = max;
```

#### schema.properties.note.minLength?

```ts
minLength?: number = min;
```

#### schema.properties.note.type

```ts
type: "string";
```

#### schema.required

```ts
readonly required: readonly ["date", "meal"];
```

#### schema.type

```ts
readonly type: "object" = 'object';
```

### title

```ts
readonly title: "Meal" = 'Meal';
```
