{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"redocly_category":"Journeys","product":"Identity Management","type":"markdown"},"seo":{"title":"Data Zoo External Data Validation","description":"Everything about Mosaic Journeys, SDKs, and APIs","siteUrl":"https://developer.transmitsecurity.com"},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"data-zoo-external-data-validation","__idx":0},"children":["Data Zoo External Data Validation"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"badge-wrapper"},"children":[{"$$mdtype":"Tag","name":"div","attributes":{"className":"badge"},"children":["Client SDK"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"badge"},"children":["Backend API"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"badge"},"children":["Mobile approve"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"badge"},"children":["SSO"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"badge"},"children":["Sub-journey"]}]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Verifies a government-issued document against Data Zoo, an external identity data vendor"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"description","__idx":1},"children":["Description"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This step verifies a government-issued document by checking it against Data Zoo, an external identity data vendor, with no user interaction — the journey submits the details from a licence and Data Zoo confirms whether they match the official record. It's a ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["system execution"]}," step — it runs entirely within the Mosaic journey engine with no client-facing UI, so it can be used in both Client SDK and Backend API journeys. Before using this step, configure a ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/guides/orchestration/external-connections/third-party-integrations/data_zoo"},"children":["Data Zoo connection"]}," in Integration Hub."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Currently supported: ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["New Zealand and Australian Driver Licence"]},". To request support for a country or document type that isn't yet listed, contact Transmit Security support."]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"Recommended: run Identity Verification first"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Transmit Security recommends running ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/guides/verify/identity_verification_overview"},"children":["Identity Verification"]}," before this step. Identity Verification performs document authentication, biometric/liveness, and fraud checks that Data Zoo does not — Data Zoo instead validates document data (name, date of birth, licence number/version) against government/registry sources, a different and complementary set of checks. Running Identity Verification first gives the journey a stronger overall identity assurance signal before the Data Zoo check executes."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Once triggered, the step authenticates to Data Zoo (reusing a valid session token or generating a new one), sends the identity and document details for the selected country, and stores the normalized result in the configured output variable."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"configuration","__idx":2},"children":["Configuration"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Start by choosing ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Country"]}," — that decides which document fields are required, and the form updates as soon as it's switched. ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Document Type"]}," is fixed to ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["Driver Licence"]},"; it's shown for clarity, not for editing."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"table"},"children":[{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Field"},"children":["Field"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"NZ"},"children":["NZ"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"AU"},"children":["AU"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data Zoo Instance"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["required"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["required"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The connection from Integration Hub."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Country"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["required"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["required"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["NZ"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["AU"]},". Defaults to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["NZ"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["First Name"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["required"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["required"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["As printed on the licence."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Last Name"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["required"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["required"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["As printed on the licence."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Middle Name"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["optional"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["optional"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Must be provided if it appears on the licence"]}," — omitting a middle name that the official record carries can cause a mismatch."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Date of Birth"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["required"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["required"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["YYYY-MM-DD"]}," preferred; ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DD-MM-YYYY"]}," also accepted."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Document Number"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["required"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["required"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The driver licence number."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Document Version"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["required"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["not used"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The 3-digit version number printed on the front of an NZ licence."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["State of Issue"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["not used"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["required"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["State or territory abbreviation, e.g. ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["NSW"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["VIC"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Card Number"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["not used"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["required"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The card number printed on an AU licence."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Consent Obtained"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["required"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["required"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Must evaluate to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]},". Data Zoo rejects the request otherwise — point it at whatever the journey uses to record consent rather than hardcoding ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Client Reference"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["optional"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["optional"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Your own identifier, echoed back by Data Zoo and visible in their reporting console. Leave empty and the journey's correlation ID is used, which is what makes Data Zoo's logs line up with Mosaic's — usually the better choice."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Output Variable"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["—"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["—"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Defaults to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["data_zoo_document_verification_result"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Error Output Variable"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["—"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["—"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Name of the variable that stores failure reasons."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Failure Behavior"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["—"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["—"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Determines the behavior in case of failure, which either aborts the journey or proceeds to a failure branch of the control flow (default)."]}]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The NZ and AU field sets are exclusive — a journey never fills in both Document Version and State of Issue/Card Number at once."]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"Journey event data"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This step can be configured to record step input and output data, or a custom payload, which is then surfaced in journey events in Journey Analytics for diagnostic purposes. For details, see ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/guides/orchestration/getting-started/event_reporting"},"children":["Additional data reporting"]},"."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"output","__idx":3},"children":["Output"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"identity_verified\": true,\n  \"match_status\": \"Verified\",\n  \"search_status\": \"Successful\",\n  \"safe_harbour\": false,\n  \"reporting_reference\": \"DZ-123456\",\n  \"client_reference\": \"journey-correlation-id\",\n  \"country_code\": \"NZ\",\n  \"document_type\": \"Driver Licence\",\n  \"search_error_message\": \"\",\n  \"remarks\": [\"All supplied fields matched\"],\n  \"service_responses\": {},\n  \"raw_response\": {}\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"table"},"children":[{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Field"},"children":["Field"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Meaning"},"children":["Meaning"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["identity_verified"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The primary success signal — ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]},"/",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["false"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["match_status"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Overall verification outcome."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["search_status"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Whether the vendor search actually executed (e.g. ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"Successful\""]},")."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["safe_harbour"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Compliance-grade indicator."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["reporting_reference"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Data Zoo's transaction ID — quote this when raising a case with them."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["client_reference"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Echo of the Client Reference input."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["country_code"]},", ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["document_type"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Echoed back by Data Zoo."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["search_error_message"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Error detail from the vendor, when present."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["remarks"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Vendor remarks."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["service_responses"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Per-service detail, including per-field match results (first name, last name, date of birth, licence number)."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["raw_response"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Data Zoo's complete response."]}]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For a partial-match policy — e.g. accepting a licence-number and DOB match while the name differs — read the per-field results under ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["service_responses"]}," rather than relying on ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["identity_verified"]}," alone."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"branches","__idx":4},"children":["Branches"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"table"},"children":[{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Branch"},"children":["Branch"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"When it occurs"},"children":["When it occurs"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Verified"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The search ran and the identity was confirmed."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Not Verified"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Either the search ran and didn't confirm the identity, ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["or"]}," the search itself couldn't be completed. Both are answers from Data Zoo, not faults, so both land here — ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["search_status"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["search_error_message"]}," distinguish the two: a genuine mismatch is a fraud signal, while an unavailable source is a retry-or-fallback situation."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Failed"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Bad credentials, malformed requests, timeouts, or network errors."]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"troubleshooting","__idx":5},"children":["Troubleshooting"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Everything comes back Not Verified"]},": Two usual causes. First, an environment mismatch — a sandbox connection only recognizes Data Zoo's test data, so real licence details correctly fail there. Second, a missing ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Middle Name"]}," when the official record has one, or a ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Document Version"]}," / ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Card Number"]}," that was mistyped — those are exact-match fields."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Verification is rejected outright"]},": Check that ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Consent Obtained"]}," resolves to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]}," at runtime, not just in the editor."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Unexpected required fields appear"]},": The journey switched Country. NZ requires Document Version; AU requires State of Issue and Card Number — the fields are exclusive."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"example","__idx":6},"children":["Example"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Suppose a journey collects a user's name, date of birth, and driver licence number and version using a ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/guides/orchestration/journeys/get_info_from_client"},"children":["Collect information"]}," form, storing the result in ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["licenceForm"]},", and has already captured consent in ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["consentGiven"]},". This step is configured with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["country = NZ"]}," (or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["AU"]},"), mapping the name, date of birth, document number/version (or state of issue/card number for AU), and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Consent Obtained = consentGiven"]}," from the form, and storing the result in an output variable named ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["dataZooResult"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["A following ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/guides/orchestration/journeys/condition"},"children":["Condition"]}," step can check ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["dataZooResult.identity_verified == true"]}," on the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Verified"]}," / ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Not Verified"]}," path — if true, the journey proceeds (e.g., to ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/guides/orchestration/journeys/create_user"},"children":["Create user"]},"). If the step takes the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Not Verified"]}," branch, inspect ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["dataZooResult.search_status"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["dataZooResult.search_error_message"]}," to distinguish a genuine no-match from a vendor-declined search; if it takes the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Failed"]}," branch, inspect the configured ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Error Output Variable"]}," for connector or request errors."]}]},"headings":[{"value":"Data Zoo External Data Validation","id":"data-zoo-external-data-validation","depth":1},{"value":"Description","id":"description","depth":2},{"value":"Configuration","id":"configuration","depth":2},{"value":"Output","id":"output","depth":2},{"value":"Branches","id":"branches","depth":2},{"value":"Troubleshooting","id":"troubleshooting","depth":2},{"value":"Example","id":"example","depth":2}],"frontmatter":{"markdown":{"toc":{"depth":2}},"redirects":{"/guides/orchestration/journeys/data_zoo_verify_document":{}},"seo":{"title":"Data Zoo External Data Validation"}},"lastModified":"2026-09-14T08:02:43.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/guides/orchestration/journeys/external/data_zoo_external_data_validation","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}