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.

Details · record, key literal:self
Kindrecord
Record keyliteral:self
Authoritymydata.newnal.ai
Commit rev3n2lk5rjzfw23
Indexed
cid bafyreih2nek33didcws3flgb7pvnbwzr47xroi4gbzs7emtludehavcwxy

Checks

Valid
  • field-name-syntax defs.main.record.properties._metaThe field name _meta should be letters and digits, starting with a letter.
JSONDownload
{
  "$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
}