TDTech Digest

050. 검증용 블루프린트 만들기 (Create Blueprints for Validation)

  • 원문: English
  • 위치: Additional capabilities › Data Automation › Custom output and blueprints › Creating blueprints › Creating Blueprints for Documents › Create Blueprints for Validation

한 줄 요약

블루프린트에 검증 질문을 Boolean + Inferred 필드로 넣으면 BDA가 추출 값을 자동 검사합니다. 검증 실패 시 사람 검토(human review)를 트리거하는 데 쓸 수 있습니다.

쉽게 말하면

“이전 잔액이 1,000달러보다 큰가?”, “라우팅 번호가 9자리인가?” 같은 질문을 필드로 만들어 true/false 답을 받는 방식입니다.

핵심 내용

검증 종류필드 예시지시문
숫자BalanceGreaterCheckIs previous balance greater than $1000?
숫자 (교차 필드)is_gross_pay_validIs the YTD gross pay the largest dollar amount value on the paystub?
날짜/시간is_overdueIs the statement overdue? Has the balance due date expired?
날짜/시간is_delivery_date_validIs the delivery date within the next 30 days?
문자열/형식routing_number_validTrue if the bank routing number has 9 digits
문자열/형식Is_NumMeterIDsListedAre there more than 5 meter IDs listed on the bill?
  • 모든 예시는 추출 유형 Inferred, 타입 Boolean입니다.
  • 여러 조건·계산·논리 연산을 조합한 교차 필드(cross-field) 검증도 가능합니다. (예: 매출총이익 = 매출 − 매출원가인지)

SA 관점

  • 검증 Boolean 필드를 Step Functions 등 워크플로의 분기 조건으로 써서, false면 Amazon A2I 같은 사람 검토 단계로 보내는 구조가 일반적인 IDP 패턴입니다(원문은 “사람 검토 트리거 가능"까지만 언급).
  • “30일 이내” 같은 상대 날짜 검증은 처리 시점 기준 해석이 모호할 수 있으니 테스트로 동작을 확인하세요.