{
  "service": "lob",
  "displayName": "Lob",
  "categories": [
    "Marketing",
    "Location"
  ],
  "authTypes": [
    "api_key"
  ],
  "auth": [
    {
      "type": "api_key",
      "label": "API Key",
      "placeholder": "live_...",
      "description": "Lob API key used with HTTP Basic authentication. Create or view API keys in the Lob dashboard under Settings > API Keys: https://dashboard.lob.com/#/settings/api-keys."
    }
  ],
  "homepageUrl": "https://www.lob.com",
  "actions": [
    {
      "id": "lob.autocomplete_us_addresses",
      "service": "lob",
      "name": "autocomplete_us_addresses",
      "description": "Return Lob US address autocomplete suggestions for a partial address.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "address_prefix": {
            "type": "string",
            "minLength": 1,
            "description": "The beginning of the US address to autocomplete."
          },
          "city": {
            "type": "string",
            "minLength": 1,
            "description": "The city name for the address."
          },
          "state": {
            "type": "string",
            "minLength": 1,
            "description": "The US state or region for the address."
          },
          "zip_code": {
            "type": "string",
            "minLength": 1,
            "description": "The US ZIP or ZIP+4 code for the address."
          },
          "geo_ip_sort": {
            "type": "boolean",
            "description": "Whether Lob should sort suggestions based on the request origin's IP geolocation."
          }
        },
        "additionalProperties": false,
        "required": [
          "address_prefix"
        ],
        "description": "Input for retrieving Lob US address autocompletion suggestions."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "suggestions": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A Lob US address autocomplete suggestion."
            },
            "description": "The Lob US address autocomplete suggestions."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw Lob autocomplete response metadata."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Lob US address autocomplete result."
      }
    },
    {
      "id": "lob.bulk_verify_international_addresses",
      "service": "lob",
      "name": "bulk_verify_international_addresses",
      "description": "Verify and standardize multiple international addresses with Lob Address Verification.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "addresses": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "primary_line": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The primary street address line."
                },
                "secondary_line": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The secondary address line, such as an apartment, suite, or unit."
                },
                "city": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The city name for the address."
                },
                "state": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The US state or region for the address."
                },
                "postal_code": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The postal code for an international address."
                },
                "country": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The destination country code or country name."
                },
                "recipient": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The recipient name associated with the address."
                }
              },
              "additionalProperties": false,
              "required": [
                "primary_line",
                "country"
              ],
              "description": "Input for verifying one international address with Lob."
            },
            "description": "The international addresses to verify.",
            "minItems": 1,
            "maxItems": 100
          }
        },
        "additionalProperties": false,
        "description": "Input for verifying multiple international addresses with Lob."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "verifications": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A Lob address verification object."
            },
            "description": "The Lob international address verification objects."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw Lob bulk international verification response metadata."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Lob bulk international verification result."
      }
    },
    {
      "id": "lob.bulk_verify_us_addresses",
      "service": "lob",
      "name": "bulk_verify_us_addresses",
      "description": "Verify and standardize multiple US addresses with Lob Address Verification.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "addresses": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "primary_line": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The primary street address line."
                },
                "secondary_line": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The secondary address line, such as an apartment, suite, or unit."
                },
                "city": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The city name for the address."
                },
                "state": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The US state or region for the address."
                },
                "zip_code": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The US ZIP or ZIP+4 code for the address."
                },
                "recipient": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The recipient name associated with the address."
                }
              },
              "additionalProperties": false,
              "required": [
                "primary_line"
              ],
              "description": "Input for verifying one US address with Lob."
            },
            "description": "The US addresses to verify.",
            "minItems": 1,
            "maxItems": 100
          }
        },
        "additionalProperties": false,
        "description": "Input for verifying multiple US addresses with Lob."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "verifications": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A Lob address verification object."
            },
            "description": "The Lob US address verification objects."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw Lob bulk verification response metadata."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Lob bulk US address verification result."
      }
    },
    {
      "id": "lob.verify_international_address",
      "service": "lob",
      "name": "verify_international_address",
      "description": "Verify and standardize one international address with Lob Address Verification.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "primary_line": {
            "type": "string",
            "minLength": 1,
            "description": "The primary street address line."
          },
          "secondary_line": {
            "type": "string",
            "minLength": 1,
            "description": "The secondary address line, such as an apartment, suite, or unit."
          },
          "city": {
            "type": "string",
            "minLength": 1,
            "description": "The city name for the address."
          },
          "state": {
            "type": "string",
            "minLength": 1,
            "description": "The US state or region for the address."
          },
          "postal_code": {
            "type": "string",
            "minLength": 1,
            "description": "The postal code for an international address."
          },
          "country": {
            "type": "string",
            "minLength": 1,
            "description": "The destination country code or country name."
          },
          "recipient": {
            "type": "string",
            "minLength": 1,
            "description": "The recipient name associated with the address."
          }
        },
        "additionalProperties": false,
        "required": [
          "primary_line",
          "country"
        ],
        "description": "Input for verifying one international address with Lob."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "verification": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A Lob address verification object."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Lob international address verification result."
      }
    },
    {
      "id": "lob.verify_us_address",
      "service": "lob",
      "name": "verify_us_address",
      "description": "Verify and standardize one US address with Lob Address Verification.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "primary_line": {
            "type": "string",
            "minLength": 1,
            "description": "The primary street address line."
          },
          "secondary_line": {
            "type": "string",
            "minLength": 1,
            "description": "The secondary address line, such as an apartment, suite, or unit."
          },
          "city": {
            "type": "string",
            "minLength": 1,
            "description": "The city name for the address."
          },
          "state": {
            "type": "string",
            "minLength": 1,
            "description": "The US state or region for the address."
          },
          "zip_code": {
            "type": "string",
            "minLength": 1,
            "description": "The US ZIP or ZIP+4 code for the address."
          },
          "recipient": {
            "type": "string",
            "minLength": 1,
            "description": "The recipient name associated with the address."
          }
        },
        "additionalProperties": false,
        "required": [
          "primary_line"
        ],
        "description": "Input for verifying one US address with Lob."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "verification": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A Lob address verification object."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Lob US address verification result."
      }
    }
  ]
}
