Kong · Schema

Address

Address

API GatewayAI GatewayAI ConnectivityAgent GatewayEvent GatewayMCP RegistryService MeshLLMKafkaKonnectOpen Source

Properties

Name Type Description
country string Country code in [ISO 3166-1](https://www.iso.org/iso-3166-country-codes.html) alpha-2 format.
postal_code string Postal code.
state string State or province.
city string City.
line1 string First line of the address.
line2 string Second line of the address.
phone_number string Phone number.
View JSON Schema on GitHub

JSON Schema

kong-address-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Address",
  "title": "Address",
  "description": "Address",
  "type": "object",
  "properties": {
    "country": {
      "description": "Country code in [ISO 3166-1](https://www.iso.org/iso-3166-country-codes.html) alpha-2 format.",
      "type": "string",
      "example": "US",
      "maxLength": 2,
      "minLength": 2,
      "pattern": "^[A-Z]{2}$",
      "title": "Country"
    },
    "postal_code": {
      "description": "Postal code.",
      "type": "string",
      "title": "Postal Code"
    },
    "state": {
      "description": "State or province.",
      "type": "string",
      "title": "State"
    },
    "city": {
      "description": "City.",
      "type": "string",
      "title": "City"
    },
    "line1": {
      "description": "First line of the address.",
      "type": "string",
      "title": "Line 1"
    },
    "line2": {
      "description": "Second line of the address.",
      "type": "string",
      "title": "Line 2"
    },
    "phone_number": {
      "description": "Phone number.",
      "type": "string",
      "title": "Phone Number"
    }
  }
}