{
  "filename": "contract-ui-check.docx",
  "detected_type": "nda",
  "confidence": 0.8,
  "flags": {
    "has_personal_data": false,
    "has_penalty": false,
    "has_ip": false,
    "has_termination": false,
    "has_ambiguity": false
  },
  "sections": [],
  "analysis": {
    "detected_type": "nda",
    "confidence": 0.88,
    "source": "heuristic",
    "flags": {
      "has_personal_data": false,
      "has_penalty": false,
      "has_ip": false,
      "has_termination": false,
      "has_ambiguity": false
    },
    "sections": [],
    "missing_clauses": [
      "비밀정보 정의",
      "비밀유지의무",
      "예외",
      "반환/파기",
      "기간",
      "손해배상"
    ],
    "findings": [
      {
        "code": "missing__",
        "title": "필수 조항 누락: 비밀정보 정의",
        "severity": "medium",
        "location": "전반",
        "original": "",
        "suggestion": "비밀정보 정의 조항을 추가하세요.",
        "rationale": "핵심 조항이 빠져 있습니다.",
        "source": "heuristic",
        "edit_type": "insert",
        "proposed_text": "비밀정보 정의 조항을 추가하세요."
      },
      {
        "code": "missing__",
        "title": "필수 조항 누락: 비밀유지의무",
        "severity": "medium",
        "location": "전반",
        "original": "",
        "suggestion": "비밀유지의무 조항을 추가하세요.",
        "rationale": "핵심 조항이 빠져 있습니다.",
        "source": "heuristic",
        "edit_type": "insert",
        "proposed_text": "비밀유지의무 조항을 추가하세요."
      },
      {
        "code": "missing__",
        "title": "필수 조항 누락: 예외",
        "severity": "medium",
        "location": "전반",
        "original": "",
        "suggestion": "예외 조항을 추가하세요.",
        "rationale": "핵심 조항이 빠져 있습니다.",
        "source": "heuristic",
        "edit_type": "insert",
        "proposed_text": "예외 조항을 추가하세요."
      },
      {
        "code": "missing__",
        "title": "필수 조항 누락: 반환/파기",
        "severity": "medium",
        "location": "전반",
        "original": "",
        "suggestion": "반환/파기 조항을 추가하세요.",
        "rationale": "핵심 조항이 빠져 있습니다.",
        "source": "heuristic",
        "edit_type": "insert",
        "proposed_text": "반환/파기 조항을 추가하세요."
      },
      {
        "code": "missing__",
        "title": "필수 조항 누락: 기간",
        "severity": "medium",
        "location": "전반",
        "original": "",
        "suggestion": "기간 조항을 추가하세요.",
        "rationale": "핵심 조항이 빠져 있습니다.",
        "source": "heuristic",
        "edit_type": "insert",
        "proposed_text": "기간 조항을 추가하세요."
      },
      {
        "code": "missing__",
        "title": "필수 조항 누락: 손해배상",
        "severity": "high",
        "location": "전반",
        "original": "",
        "suggestion": "직접손해/간접손해, 상한, 예외를 분리해 적으세요.",
        "rationale": "책임 범위를 분명히 하세요.",
        "source": "heuristic",
        "edit_type": "insert",
        "proposed_text": "당사자는 고의 또는 중과실로 상대방에게 손해를 입힌 경우 그 손해를 배상한다. 다만, 간접손해와 책임상한은 별도 합의로 정한다."
      }
    ],
    "summary": "비밀유지계약(NDA) 기준으로 6개의 검토 포인트를 찾았습니다.",
    "original_text": "서비스 계약서\n\n제1조 대금은 10일 내 지급한다.\n\n제2조 비밀유지 의무를 준수한다.",
    "revised_text": "서비스 계약서\n\n제1조 대금은 10일 내 지급한다.\n\n제2조 비밀유지 의무를 준수한다.\n\n제5조(손해배상) 당사자는 고의 또는 중과실로 상대방에게 손해를 입힌 경우 그 손해를 배상한다. 다만, 간접손해와 책임상한은 별도 합의로 정한다."
  }
}