Import records from another source

从其他来源导入记录指南

Use this JSON file format to bring meal, milk feed, stool, and growth records from another app, a spreadsheet, or your own notes into Tiny Taste Book. It is not needed for a backup exported by Tiny Taste Book: choose that file directly in Settings to restore it.

如需将其他 App、Excel 表格或自行记录中的辅食餐食、喂奶、排便和体格成长数据导入 Tiny Taste Book,请按本页 JSON 规范整理为 .json 文件。若文件是 Tiny Taste Book 本身导出的完整备份,请直接在 App【设置 ➔ 备份与数据 ➔ 导入】中选择,无需做任何格式转换。

Before you import / 导入前须知:
1. 必须声明 "format": "tinytastebook.records.v1"。
2. 所有日期时间必须为带时区偏移的 ISO 8601 标准字符串(如 2026-10-14T08:20:00-07:00 或 2026-10-14T15:20:00+08:00)。
3. 若某类数据为空,可直接省略该数组键名。App 在写入前会先提供数据预览与校验。

Complete example / 完整 JSON 示例

{
  "format": "tinytastebook.records.v1",
  "baby": {
    "name": "Annika",
    "birth_date": "2026-04-23T00:00:00-07:00",
    "timezone": "America/Vancouver"
  },
  "feedings": [
    {
      "fed_at": "2026-10-14T08:20:00-07:00",
      "method": "nursing",
      "side": "both",
      "first_side": "right",
      "duration_minutes": 18,
      "left_minutes": 8,
      "right_minutes": 10,
      "notes": "Calm feed"
    },
    {
      "fed_at": "2026-10-14T12:10:00-07:00",
      "method": "bottle",
      "milk": "formula",
      "amount_ml": 120,
      "formula_type": "standard"
    }
  ],
  "stools": [
    {
      "recorded_at": "2026-10-14T09:00:00-07:00",
      "consistency": "soft",
      "color": "yellow",
      "observations": ["mucus"],
      "notes": "Small amount"
    }
  ],
  "growth": [
    {
      "measured_at": "2026-10-10T12:00:00-07:00",
      "weight_grams": 7200,
      "weight_condition": "naked",
      "length_mm": 665
    }
  ],
  "meals": [
    {
      "eaten_at": "2026-10-14T11:50:00-07:00",
      "foods": [
        { "food_id": "oatmeal", "amount_value": 30, "amount_unit": "g", "preparation": "soft" }
      ],
      "notes": "Breakfast"
    }
  ]
}

Baby assignment and import choices / 宝宝归属与导入方式

Accepted values / 各字段允许的取值规范

1. 喂奶记录 (feedings)

method 为 nursing(亲喂母乳)或 bottle(瓶喂)。

2. 排便记录 (stools)

3. 体格成长记录 (growth)

4. 辅食餐食 (meals)

Need help? / 需要技术支持?

如果文件导入时提示格式错误,请仔细核对上述字段命名(如 fed_at、recorded_at、food_id)和允许的枚举值。如有任何疑问,欢迎发送邮件至 support@tinytastebook.com 咨询(邮件中请勿包含孩子姓名等敏感个人身份信息)。