{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://life-helper.local/schema/urge_log.schema.json", "title": "Urge Log (충동 발생/통과)", "description": "habit-breaking-protocols.md §1.2 Urge Surf. 선택 사항. 비율(통과/발생)이 시간 따라 상승 추적.", "type": "object", "required": ["id", "habit_id", "occurred_at", "passed"], "additionalProperties": false, "properties": { "id": { "type": "string" }, "habit_id": { "type": "string" }, "occurred_at": { "$ref": "enums.schema.json#/$defs/DateTimeString" }, "intensity_before": { "type": "integer", "minimum": 0, "maximum": 10 }, "intensity_after": { "type": "integer", "minimum": 0, "maximum": 10 }, "duration_seconds": { "type": "integer", "minimum": 0 }, "body_location": { "type": "array", "items": { "type": "string", "enum": ["chest", "throat", "abdomen", "hands", "head", "other"] } }, "passed": { "type": "boolean", "description": "true=urge surf 성공, false=행동으로 이어짐(lapse)" }, "method_used": { "type": "string", "enum": ["cyclic_sighing", "walk", "water", "social_contact", "if_then_action", "other"] } } }