{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hostfully/json-schema/hostfully-lead-api-v3-patch-dto-schema.json",
  "title": "LeadApiV3PatchDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hostfully-leads-api-openapi.yml#/components/schemas/LeadApiV3PatchDto",
  "type": "object",
  "properties": {
    "guestInformation": {
      "$ref": "#/$defs/LeadGuestInformationForPatchApiV3Dto"
    },
    "notes": {
      "type": "string"
    },
    "extraNotes": {
      "type": "string"
    }
  },
  "$defs": {
    "LeadGuestInformationForPatchApiV3Dto": {
      "type": "object",
      "properties": {
        "firstName": {
          "type": "string",
          "description": "Replaced with 'HIDDEN' if api caller has no access to see lead's personal and confidential information"
        },
        "lastName": {
          "type": "string",
          "description": "Replaced with 'HIDDEN' if api caller has no access to see lead's personal and confidential information"
        },
        "address1": {
          "type": "string",
          "description": "Replaced with 'HIDDEN' if api caller has no access to see lead's personal and confidential information"
        },
        "address2": {
          "type": "string",
          "description": "Replaced with 'HIDDEN' if api caller has no access to see lead's personal and confidential information"
        },
        "zipCode": {
          "type": "string",
          "description": "Replaced with 'HIDDEN' if api caller has no access to see lead's personal and confidential information"
        },
        "city": {
          "type": "string",
          "description": "Replaced with 'HIDDEN' if api caller has no access to see lead's personal and confidential information"
        },
        "state": {
          "type": "string",
          "description": "Replaced with 'HIDDEN' if api caller has no access to see lead's personal and confidential information"
        },
        "countryCode": {
          "type": "string",
          "description": "Replaced with null if api caller has no access to see lead's personal and confidential information",
          "enum": [
            "AF",
            "AL",
            "DZ",
            "AS",
            "AD",
            "AO",
            "AI",
            "AG",
            "AN",
            "AR",
            "AM",
            "AW",
            "AU",
            "AT",
            "AZ",
            "BS",
            "BH",
            "BD",
            "BB",
            "BY",
            "BE",
            "BZ",
            "BJ",
            "BM",
            "BT",
            "BO",
            "BA",
            "BW",
            "BR",
            "BN",
            "BG",
            "BF",
            "BI",
            "BQ",
            "KH",
            "CM",
            "CA",
            "CV",
            "KY",
            "CF",
            "TD",
            "CL",
            "CN",
            "CX",
            "CC",
            "CO",
            "KM",
            "YT",
            "CG",
            "CD",
            "CK",
            "CR",
            "CI",
            "HR",
            "CU",
            "CW",
            "CY",
            "CZ",
            "DK",
            "DJ",
            "DM",
            "DO",
            "EC",
            "EG",
            "SV",
            "GQ",
            "ER",
            "EE",
            "ET",
            "FJ",
            "FI",
            "FK",
            "FO",
            "FR",
            "GF",
            "GA",
            "GM",
            "GE",
            "DE",
            "GH",
            "GI",
            "GR",
            "GL",
            "GD",
            "GU",
            "GT",
            "GN",
            "GW",
            "GY",
            "GP",
            "HT",
            "VA",
            "HN",
            "HK",
            "HL",
            "HU",
            "IS",
            "IN",
            "ID",
            "IR",
            "IQ",
            "IE",
            "IL",
            "IT",
            "JM",
            "JP",
            "JO",
            "KZ",
            "KE",
            "KI",
            "KP",
            "KR",
            "KW",
            "KG",
            "LA",
            "LV",
            "LB",
            "LC",
            "LS",
            "LR",
            "LY",
            "LI",
            "LT",
            "LU",
            "MO",
            "MQ",
            "MK",
            "MG",
            "MW",
            "MY",
            "MV",
            "ML",
            "MT",
            "MH",
            "MR",
            "MU",
            "MX",
            "FM",
            "MD",
            "MC",
            "MN",
            "MS",
            "MA",
            "MZ",
            "MM",
            "ME",
            "NA",
            "NR",
            "NP",
            "NL",
            "NC",
            "NZ",
            "NI",
            "NE",
            "NG",
            "NU",
            "NF",
            "NO",
            "OM",
            "PK",
            "PW",
            "PA",
            "PG",
            "PS",
            "PY",
            "PE",
            "PF",
            "PH",
            "PL",
            "PN",
            "PT",
            "PR",
            "QA",
            "RO",
            "RU",
            "RW",
            "KN",
            "WS",
            "RE",
            "PM",
            "SH",
            "ST",
            "SM",
            "SA",
            "SN",
            "RS",
            "SC",
            "SL",
            "SG",
            "SX",
            "SK",
            "SI",
            "SB",
            "SO",
            "ZA",
            "ES",
            "LK",
            "SR",
            "SJ",
            "SZ",
            "SE",
            "CH",
            "SY",
            "TC",
            "TW",
            "TJ",
            "TZ",
            "TH",
            "TG",
            "TO",
            "TT",
            "TN",
            "TR",
            "TM",
            "TV",
            "UG",
            "UA",
            "AE",
            "GB",
            "JE",
            "IM",
            "US",
            "UY",
            "UZ",
            "VC",
            "VU",
            "VE",
            "VN",
            "VG",
            "VI",
            "WF",
            "EH",
            "YE",
            "YU",
            "ZM",
            "ZW"
          ]
        },
        "passportId": {
          "type": "string",
          "description": "Replaced with 'HIDDEN' if api caller has no access to see lead's personal and confidential information"
        },
        "passportCountryCode": {
          "type": "string",
          "description": "Replaced with null if api caller has no access to see lead's personal and confidential information",
          "enum": [
            "AF",
            "AL",
            "DZ",
            "AS",
            "AD",
            "AO",
            "AI",
            "AG",
            "AN",
            "AR",
            "AM",
            "AW",
            "AU",
            "AT",
            "AZ",
            "BS",
            "BH",
            "BD",
            "BB",
            "BY",
            "BE",
            "BZ",
            "BJ",
            "BM",
            "BT",
            "BO",
            "BA",
            "BW",
            "BR",
            "BN",
            "BG",
            "BF",
            "BI",
            "BQ",
            "KH",
            "CM",
            "CA",
            "CV",
            "KY",
            "CF",
            "TD",
            "CL",
            "CN",
            "CX",
            "CC",
            "CO",
            "KM",
            "YT",
            "CG",
            "CD",
            "CK",
            "CR",
            "CI",
            "HR",
            "CU",
            "CW",
            "CY",
            "CZ",
            "DK",
            "DJ",
            "DM",
            "DO",
            "EC",
            "EG",
            "SV",
            "GQ",
            "ER",
            "EE",
            "ET",
            "FJ",
            "FI",
            "FK",
            "FO",
            "FR",
            "GF",
            "GA",
            "GM",
            "GE",
            "DE",
            "GH",
            "GI",
            "GR",
            "GL",
            "GD",
            "GU",
            "GT",
            "GN",
            "GW",
            "GY",
            "GP",
            "HT",
            "VA",
            "HN",
            "HK",
            "HL",
            "HU",
            "IS",
            "IN",
            "ID",
            "IR",
            "IQ",
            "IE",
            "IL",
            "IT",
            "JM",
            "JP",
            "JO",
            "KZ",
            "KE",
            "KI",
            "KP",
            "KR",
            "KW",
            "KG",
            "LA",
            "LV",
            "LB",
            "LC",
            "LS",
            "LR",
            "LY",
            "LI",
            "LT",
            "LU",
            "MO",
            "MQ",
            "MK",
            "MG",
            "MW",
            "MY",
            "MV",
            "ML",
            "MT",
            "MH",
            "MR",
            "MU",
            "MX",
            "FM",
            "MD",
            "MC",
            "MN",
            "MS",
            "MA",
            "MZ",
            "MM",
            "ME",
            "NA",
            "NR",
            "NP",
            "NL",
            "NC",
            "NZ",
            "NI",
            "NE",
            "NG",
            "NU",
            "NF",
            "NO",
            "OM",
            "PK",
            "PW",
            "PA",
            "PG",
            "PS",
            "PY",
            "PE",
            "PF",
            "PH",
            "PL",
            "PN",
            "PT",
            "PR",
            "QA",
            "RO",
            "RU",
            "RW",
            "KN",
            "WS",
            "RE",
            "PM",
            "SH",
            "ST",
            "SM",
            "SA",
            "SN",
            "RS",
            "SC",
            "SL",
            "SG",
            "SX",
            "SK",
            "SI",
            "SB",
            "SO",
            "ZA",
            "ES",
            "LK",
            "SR",
            "SJ",
            "SZ",
            "SE",
            "CH",
            "SY",
            "TC",
            "TW",
            "TJ",
            "TZ",
            "TH",
            "TG",
            "TO",
            "TT",
            "TN",
            "TR",
            "TM",
            "TV",
            "UG",
            "UA",
            "AE",
            "GB",
            "JE",
            "IM",
            "US",
            "UY",
            "UZ",
            "VC",
            "VU",
            "VE",
            "VN",
            "VG",
            "VI",
            "WF",
            "EH",
            "YE",
            "YU",
            "ZM",
            "ZW"
          ]
        },
        "riskScore": {
          "maximum": 100,
          "minimum": 0,
          "type": "integer",
          "description": "Declared departure datetime in property's timezone by the guest on the pre arrival form.",
          "format": "int32"
        },
        "email": {
          "type": "string",
          "description": "Replaced with 'HIDDEN' if api caller has no access to see lead's personal and confidential information"
        },
        "secondaryEmail": {
          "type": "string",
          "description": "Replaced with 'HIDDEN' if api caller has no access to see lead's personal and confidential information"
        },
        "phoneNumber": {
          "type": "string",
          "description": "Replaced with 'HIDDEN' if api caller has no access to see lead's personal and confidential information"
        },
        "cellPhoneNumber": {
          "type": "string",
          "description": "Replaced with 'HIDDEN' if api caller has no access to see lead's personal and confidential information"
        },
        "flightNumber": {
          "type": "string"
        },
        "reasonForTrip": {
          "type": "string"
        },
        "willHaveParty": {
          "type": "boolean"
        },
        "willHaveVisit": {
          "type": "boolean"
        },
        "preferredCurrency": {
          "type": "string",
          "enum": [
            "USD",
            "EUR",
            "GBP",
            "CAD",
            "JPY",
            "INR",
            "MYR",
            "AUD",
            "KES",
            "MXN",
            "HKD",
            "NZD",
            "CHF",
            "BRL",
            "CLP",
            "COP",
            "PEN",
            "ARS",
            "UYU",
            "VEF",
            "CNY",
            "THB",
            "KRW",
            "IDR",
            "SGD",
            "TWD",
            "AED",
            "ZAR",
            "CZK",
            "DKK",
            "DOP",
            "SEK",
            "BGN",
            "ILS",
            "NOK",
            "RON",
            "RUB",
            "PHP",
            "VND",
            "HUF",
            "IKR",
            "PLN",
            "PYG",
            "TRY",
            "GTQ",
            "VUV",
            "JOD",
            "SAR",
            "EGP",
            "TTD",
            "MAD",
            "CVE",
            "BBD",
            "AWG",
            "BHD",
            "NONE"
          ]
        },
        "preferredLocale": {
          "type": "object",
          "properties": {
            "language": {
              "type": "string"
            },
            "displayName": {
              "type": "string"
            },
            "country": {
              "type": "string"
            },
            "variant": {
              "type": "string"
            },
            "script": {
              "type": "string"
            },
            "unicodeLocaleAttributes": {
              "uniqueItems": true,
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "unicodeLocaleKeys": {
              "uniqueItems": true,
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "displayLanguage": {
              "type": "string"
            },
            "displayScript": {
              "type": "string"
            },
            "displayCountry": {
              "type": "string"
            },
            "displayVariant": {
              "type": "string"
            },
            "extensionKeys": {
              "uniqueItems": true,
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "iso3Language": {
              "type": "string"
            },
            "iso3Country": {
              "type": "string"
            }
          }
        },
        "arrivalLocalDateTime": {
          "type": "string"
        },
        "departureLocalDateTime": {
          "type": "string"
        }
      }
    }
  }
}