--- id: wiki-2026-0508-외부-api-데이터의-런타임-검증-후-처리 title: 외부 API 데이터의 런타임 검증 후 처리 category: 10_Wiki/Topics status: duplicate canonical_id: runtime-type-validation duplicate_of: "[[Runtime Type Validation]]" aliases: [] source_trust_level: A confidence_score: 0.9 verification_status: redirected tags: [duplicate, validation, zod, type-safety] last_reinforced: 2026-05-10 github_commit: pending --- # 외부 API 데이터의 런타임 검증 후 처리 > **이 문서는 [[Runtime Type Validation]] 의 중복본입니다.** Canonical 문서로 redirect. ## 매 핵심 요약 (specialization) - 매 외부 API response 의 매 trust 의 X — 매 runtime parse + validate 의 필수. - 매 libraries: Zod (TS 의 de facto), Valibot (smaller bundle), io-ts, ArkType. - 매 pattern: `schema.parse(data)` → 매 typed result, parse 실패 시 throw. ## 🔗 Graph - 부모: [[Runtime Type Validation]] (canonical) - Adjacent: [[Zod]] · [[Schema Validation]] · [[Parse Don't Validate]] ## 🕓 변경 이력 | 날짜 | 변경 | |---|---| | 2026-05-08 | Phase 1 | | 2026-05-10 | 중복 처리 — canonical 문서로 redirect |