{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://life-helper.local/schema/lapse_log.schema.json", "title": "Lapse Log (LEARN 5필드)", "description": "habit-breaking-protocols.md §1.4 — 재발 후 24시간 안에 작성. 자기비판 차단 + 데이터화.", "type": "object", "required": ["id", "habit_id", "date", "label_text", "examine_halt", "antecedent", "replan", "next_action"], "additionalProperties": false, "properties": { "id": { "type": "string" }, "habit_id": { "type": "string" }, "date": { "$ref": "enums.schema.json#/$defs/DateString" }, "label_text": { "type": "string", "description": "L (Label) — 'lapse 발생. 실패가 아닌 데이터.' 형태" }, "examine_halt": { "type": "array", "items": { "$ref": "enums.schema.json#/$defs/HALT" }, "description": "E (Examine HALT) — Hungry/Angry/Lonely/Tired 중 해당 항목" }, "antecedent": { "type": "array", "items": { "type": "string" }, "minItems": 1, "maxItems": 5, "description": "A (Antecedent) — 트리거 3개 이상 권장 (시간/장소/사람/감정/직전 행동)" }, "replan": { "type": "string", "description": "R (Replan) — 추가 If-Then 또는 환경 디자인 1개" }, "next_action": { "type": "string", "description": "N (Next) — 24시간 안에 즉시 실행. 'Never miss twice'" }, "created_at": { "$ref": "enums.schema.json#/$defs/DateTimeString" } } }