पते में सब-प्राइमिस जोड़ना - उदाहरण (सिर्फ़ अमेरिका के लिए)
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
इस दस्तावेज़ में, कई ऐसे उदाहरण दिए गए हैं जिनमें Address Validation API, जवाब के ऐसे सिग्नल देता है जिनसे आपके सिस्टम को उप-इमारत की जानकारी जोड़ने की ज़रूरत होती है. ये सिग्नल सिर्फ़ अमेरिका के पतों के लिए उपलब्ध हैं.
संदर्भ के लिए, पुष्टि करने का लॉजिक बनाना में वर्कफ़्लो के उदाहरण देखें.
सामान्य उदाहरण: सबप्रीमाइसेस जोड़ना
इस इमेज में एक ऐसा पता दिखाया गया है जिसमें आपका सिस्टम, ग्राहक को पते में यूनिट नंबर जोड़ने के लिए कह सकता है.
पता डाला गया
क्षेत्र
1450 Brickell Avenue, Miami, FL 33131-4065
अमेरिका
किसी पते में सबप्रीमाइसेस की जानकारी मौजूद न होने पर फ़ैसला
नीचे दिए गए उदाहरण में, अहम सिग्नल को हाइलाइट किया गया है.
यहां दिए गए उदाहरण में, ऐसी स्थिति के बारे में बताया गया है जिसमें verdict से पता चलता है कि पते की क्वालिटी से जुड़ी समस्याएं हैं. इसलिए, इनकी आगे जांच करना ज़रूरी है. इस उदाहरण में यह भी बताया गया है कि आपके लॉजिक को फ़ैसले से लेकर पते के कॉम्पोनेंट तक कैसे ले जाया जा सकता है, ताकि आपके सिस्टम के लॉजिक को बेहतर बनाने के लिए ज़्यादा जानकारी मिल सके.
सबप्रीमाइसेस और अनुमानित और बदले गए कॉम्पोनेंट मौजूद नहीं हैं
इस उदाहरण में, अमेरिका के ऐसे पते की एंट्री दिखाई गई है जिसमें इलाके की जानकारी मौजूद नहीं है और पिन कोड गलत है.
पता डाला गया
क्षेत्र
1450 Brickell Avenue, FL 33132-4065
अमेरिका
उप-परिसर की जानकारी मौजूद न होने पर, अनुमानित और बदले गए कॉम्पोनेंट के लिए फ़ैसला
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-08-31 (UTC) को अपडेट किया गया."],[],[],null,["This document describes a number of real-world scenarios where the\nAddress Validation API provides response signals that warrant an *add subpremises*\nbehavior from your system. These signals are only available for US addresses.\nSee [Example workflows](/maps/documentation/address-validation/build-validation-logic#example-workflows) in\n**Build your validation logic** for context.\n| **Note:** The examples here are illustrative, but don't cover all scenarios.\n\nCommon example: add subpremises\n\nThis scenario illustrates an address in which your system might prompt a\ncustomer to add a unit number to the address.\n\n| Address entered | Region |\n|--------------------------------------------|--------|\n| 1450 Brickell Avenue, Miami, FL 33131-4065 | US |\n\nVerdict for an address missing a subpremises\n\nThe example below highlights the important signal. \n\n {\n \"inputGranularity\": \"PREMISE\",\n \"validationGranularity\": \"PREMISE\",\n \"geocodeGranularity\": \"PREMISE\",\n \"possibleNextAction\": \"CONFIRM_ADD_SUBPREMISES\"\n }\n\n| **Action:** For this address, you might prompt your user to add a unit number.\n\nEdge case example: add subpremises\n\nThe following example covers a situation in which the `verdict` indicates\naddress quality issues that warrant further investigation. This examples also\nillustrates how your logic can travel from the verdict to the address components\nto obtain a more complete picture in order to enhance your system logic.\n\nMissing subpremises and inferred and replaced components\n\nThis example illustrates entry of a US address with a missing locality and an\nincorrect postal code.\n\n| Address entered | Region |\n|-------------------------------------|--------|\n| 1450 Brickell Avenue, FL 33132-4065 | US |\n\nVerdict for a missing subpremises and inferred and replaced components \n\n {\n \"inputGranularity\": \"PREMISE\",\n \"validationGranularity\": \"PREMISE\",\n \"geocodeGranularity\": \"PREMISE\",\n \"hasInferredComponents\": true,\n \"hasReplacedComponents\": true,\n \"possibleNextAction\": \"CONFIRM_ADD_SUBPREMISES\"\n }\n\nFurther investigation of the address components reveals that the locality has\nbeen inferred, and the postal code has been replaced. \n\n {\n \"componentName\": {\n \"text\": \"33131\",\n }\n \"componentType\": \"postal_code\",\n \"confirmationLevel\": \"CONFIRMED\",\n \"replaced\": true\n },\n {\n \"componentName\": {\n \"text\": \"Miami\",\n \"languageCode\": \"en\"\n }\n \"componentType\": \"locality\",\n \"confirmationLevel\": \"CONFIRMED\",\n \"inferred\": true\n }\n\n| **Action:** For this address, you might prompt your user to add a unit number, or prompt them to review the entire address."]]