週期追蹤 - JSON 匯出格式
JSON 匯出中週期追蹤結構的文件
最後更新: 2026年10月31日
JSON 匯出將週期追蹤項目儲存在 cycleTracking 陣列中。
結構
{
"start": "2024-02-01 00:00:00 -0800",
"end": "2024-02-01 23:59:59 -0800",
"name": "Menstrual Flow",
"value": "Medium",
"isCycleStart": true
}
欄位
start、end(字串):項目時間戳記,格式為yyyy-MM-dd HH:mm:ss Z。name(字串):週期追蹤類型。value(字串):該類型記錄的結果或狀態;某些類型使用空字串。isCycleStart(布林值,可選):僅在 Menstrual Flow 且項目標記週期開始時包含。否則省略。
類型與值
以下顯示匯出的英文值。
| 類型 | 值 |
|---|---|
| Menstrual Flow | None、Light、Medium、Heavy、Unspecified |
| Cervical Mucus Quality | Egg White、Watery、Creamy、Sticky、Dry |
| Ovulation Test Result | Positive/Peak、High、Negative/Low、Indeterminate |
| Progesterone Test Result | Positive、Negative、Indeterminate |
| Pregnancy Test Result | Positive、Negative、Inconclusive |
| Sexual Activity | Protected、Unprotected、Unspecified |
| Contraceptive | 記錄的避孕類型,例如 Oral 或 Intrauterine Device |
| Pregnancy、Lactation | 空字串 |
| Infrequent Menstrual Cycle、Irregular Menstrual Cycles、Intermenstrual Bleeding、Persistent Menstrual Bleeding、Prolonged Menstrual Period | 空字串 |
相關資料
基礎體溫 在健康指標下匯出,而不是 cycleTracking。Sexual Activity 也可作為帶每日保護狀態計數的健康指標使用。