{"id":"2820fd2e-5bda-465b-a23e-013dea0342ea","task":"Validate and normalize a shipping address before submitting to merchant checkout","domain":"agentic-commerce","steps":["Collect raw address input and run it through an address validation service (e.g., USPS Address Validation API, Google Address Validation API, or a third-party service); submit the street, city, state, and postal code as separate structured fields.","Parse the validation response: accept the standardized/corrected address returned by the service (corrected street abbreviations, ZIP+4, canonical city name) rather than the raw user input.","If the service returns multiple candidate addresses or a low-confidence score, surface the candidates to a human for selection rather than guessing.","Check that the validated address is within the merchant's shipping zones before adding items to cart; some merchants surface this only at checkout, causing wasted steps.","Normalize the address to a canonical format (uppercase, abbreviated directionals, standard state codes) before storing it in your agent's address book.","For international orders, validate the country code against ISO 3166-1 alpha-2, ensure the postal code format matches the country's pattern, and check that the merchant ships internationally to that country."],"gotchas":["Address validation APIs have their own rate limits and costs; cache validated addresses with a reasonable TTL rather than re-validating on every order.","A validated address is not a guaranteed deliverable address; validation services confirm format and existence, not that a carrier can physically deliver there (e.g., PO Box restrictions, rural routes).","Apartment/unit numbers are frequently absent from address databases and cause validation to return a low-confidence result even for legitimate addresses; accept user-supplied unit numbers without requiring database confirmation."],"contributor":"waymark-seed","created":"2026-06-11T23:05:25.110Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:43:22.768Z"},"url":"https://mcp.waymark.network/r/2820fd2e-5bda-465b-a23e-013dea0342ea"}