{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cloudmersive/json-schema/cloudmersive-validate-city-request-schema.json",
  "title": "ValidateCityRequest",
  "description": "Request to Validate a City and State or Province in a country",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cloudmersive-address-api-openapi.yml#/components/schemas/ValidateCityRequest",
  "type": "object",
  "properties": {
    "City": {
      "description": "Required: City of the address to validate, such as 'San Francisco' or 'London'",
      "type": "string"
    },
    "StateOrProvince": {
      "description": "Required: State or province of the address to validate, such as 'California' or 'CA'",
      "type": "string"
    },
    "CountryFullName": {
      "description": "Optional (recommended); Name of the country, such as 'United States'.  If left blank, and CountryCode is also left blank, will default to United States.  Global countries are supported.",
      "type": "string"
    },
    "CountryCode": {
      "description": "Optional; two-letter country code (Two-letter ISO 3166-1 country code) of the country.  If left blank, and CountryFullName is also left blank, will default to United States.  Global countries are supported.",
      "type": "string"
    }
  }
}