# ai.newnal.mydata.interestsAndTastesFood

> Dietary rules and food preferences. Recurring eating habits are kept in lifestyle.habits, and food allergies and intolerances in health.allergies.

- Kind: record
- Record key: literal:self
- Authority: mydata.newnal.ai
- Lexicon: 1
- Published by [newnal-platform.newnal.id](https://lexicon.garden/identity/did:plc:vciktevzoffubdvdaajz2yp3), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:vciktevzoffubdvdaajz2yp3/ai.newnal.mydata.interestsAndTastesFood)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:vciktevzoffubdvdaajz2yp3/ai.newnal.mydata.interestsAndTastesFood/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:vciktevzoffubdvdaajz2yp3/ai.newnal.mydata.interestsAndTastesFood/analytics)

## Record (`ai.newnal.mydata.interestsAndTastesFood`)

Type: record · key literal:self

### Properties

- `_meta` (ref, required)
  - Reference: `ai.newnal.mydata.defs#recordMeta`
- `data` (union, required)
  - One of (closed): `#section`

## #section (`ai.newnal.mydata.interestsAndTastesFood#section`)

Type: object

Dietary rules and food preferences. Recurring eating habits are kept in lifestyle.habits, and food allergies and intolerances in health.allergies.

### Properties

- `dietaryRules` (array): List of the dietary rules followed.
  - Constraints: maxLength: 100
  - `items` (string): One item of the list of the dietary rules followed.
    - Constraints: maxLength: 640, maxGraphemes: 64, knownValues: vegetarian | halal | gluten_free | low_sodium
- `dislikes` (array): List of the things avoided or not preferred in this area of taste.
  - Constraints: maxLength: 100
  - `items` (string): One item of the list of the things avoided or not preferred in this area of taste.
    - Constraints: maxLength: 640, maxGraphemes: 64, knownValues: cilantro | shellfish | very_sweet_desserts
- `preferences` (array): List of preferences such as favourite foods and drinks.
  - Constraints: maxLength: 100
  - `items` (string): One item of the list of preferences such as favourite foods and drinks.
    - Constraints: maxLength: 640, maxGraphemes: 64, knownValues: korean_food | coffee | seafood | salads
- `preferredSpiceLevel` (string): The preferred level of spiciness.
  - Constraints: maxLength: 640, maxGraphemes: 64, knownValues: hot | mild | none | medium | very_hot

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Dietary rules and food preferences. Recurring eating habits are kept in lifestyle.habits, and food allergies and intolerances in health.allergies.",
      "key": "literal:self",
      "record": {
        "properties": {
          "_meta": {
            "ref": "ai.newnal.mydata.defs#recordMeta",
            "type": "ref"
          },
          "data": {
            "closed": true,
            "refs": [
              "#section"
            ],
            "type": "union"
          }
        },
        "required": [
          "data",
          "_meta"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "section": {
      "description": "Dietary rules and food preferences. Recurring eating habits are kept in lifestyle.habits, and food allergies and intolerances in health.allergies.",
      "properties": {
        "dietaryRules": {
          "description": "List of the dietary rules followed.",
          "items": {
            "description": "One item of the list of the dietary rules followed.",
            "knownValues": [
              "vegetarian",
              "halal",
              "gluten_free",
              "low_sodium"
            ],
            "maxGraphemes": 64,
            "maxLength": 640,
            "type": "string"
          },
          "maxLength": 100,
          "type": "array"
        },
        "dislikes": {
          "description": "List of the things avoided or not preferred in this area of taste.",
          "items": {
            "description": "One item of the list of the things avoided or not preferred in this area of taste.",
            "knownValues": [
              "cilantro",
              "shellfish",
              "very_sweet_desserts"
            ],
            "maxGraphemes": 64,
            "maxLength": 640,
            "type": "string"
          },
          "maxLength": 100,
          "type": "array"
        },
        "preferences": {
          "description": "List of preferences such as favourite foods and drinks.",
          "items": {
            "description": "One item of the list of preferences such as favourite foods and drinks.",
            "knownValues": [
              "korean_food",
              "coffee",
              "seafood",
              "salads"
            ],
            "maxGraphemes": 64,
            "maxLength": 640,
            "type": "string"
          },
          "maxLength": 100,
          "type": "array"
        },
        "preferredSpiceLevel": {
          "description": "The preferred level of spiciness.",
          "knownValues": [
            "hot",
            "mild",
            "none",
            "medium",
            "very_hot"
          ],
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        }
      },
      "type": "object"
    }
  },
  "id": "ai.newnal.mydata.interestsAndTastesFood",
  "lexicon": 1
}
```
