addedInput schema / properties / draft / anyOf
Added value: +[
+ {
+ "additionalProperties": {},
+ "properties": {
+ "collection": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "address": {
+ "description": "Collection or delivery address, town or postcode.",
+ "type": "string"
+ },
+ "city": {
+ "type": "string"
+ },
+ "country": {
+ "description": "Country name, for example United Kingdom.",
+ "type": "string"
+ },
+ "countryCode": {
+ "description": "Two-letter country code, for example GB.",
+ "type": "string"
+ },
+ "postcode": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "description": "Address including country, for example London, United Kingdom.",
+ "type": "string"
+ }
+ ]
+ },
+ "contact": {
+ "additionalProperties": {},
+ "description": "Optional. Store these details only with contactConsent on quote_generate.",
+ "properties": {
+ "email": {
+ "type": "string"
+ },
+ "firstName": {
+ "type": "string"
+ },
+ "lastName": {
+ "type": "string"
+ },
+ "phone": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "delivery": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "address": {
+ "description": "Collection or delivery address, town or postcode.",
+ "type": "string"
+ },
+ "city": {
+ "type": "string"
+ },
+ "country": {
+ "description": "Country name, for example United Kingdom.",
+ "type": "string"
+ },
+ "countryCode": {
+ "description": "Two-letter country code, for example GB.",
+ "type": "string"
+ },
+ "postcode": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "description": "Address including country, for example London, United Kingdom.",
+ "type": "string"
+ }
+ ]
+ },
+ "destinationCostDetails": {
+ "additionalProperties": {},
+ "properties": {
+ "hmrcDetails": {
+ "additionalProperties": {},
+ "description": "HMRC estimate answers. Prefer booleans for yes/no questions and ask the user when unknown; never assume relief eligibility.",
+ "properties": {
+ "hasEuExporterNumber": {
+ "description": "Can the seller supply the required EU Registered Exporter Number?",
+ "type": [
+ "boolean",
+ "string",
+ "number",
+ "null"
+ ]
+ },
+ "hasEuStatementOnOrigin": {
+ "description": "Can the seller supply a Statement on Origin proving EU manufacture?",
+ "type": [
+ "boolean",
+ "string",
+ "number",
+ "null"
+ ]
+ },
+ "hasJapanCorporateNumber": {
+ "description": "Can the seller supply their 13-digit Japan Corporate Number?",
+ "type": [
+ "boolean",
+ "string",
+ "number",
+ "null"
+ ]
+ },
+ "hasJapanStatementOnOrigin": {
+ "description": "Can the seller supply a Japanese Statement on Origin?",
+ "type": [
+ "boolean",
+ "string",
+ "number",
+ "null"
+ ]
+ },
+ "importDuration": {
+ "description": "temporary or permanent",
+ "type": "string"
+ },
+ "importPurpose": {
+ "description": "personal or commercial",
+ "type": "string"
+ },
+ "importReason": {
+ "description": "Personal: personal-use, moving-to-uk, gift, inheritance or returning. Commercial: vat-registered or not-vat-registered. Purchase and relocation aliases are accepted.",
+ "type": "string"
+ },
+ "isBuiltInJapan": {
+ "description": "Was the vehicle manufactured in Japan? Ask when required by quote_get_requirements.",
+ "type": [
+ "boolean",
+ "string",
+ "number",
+ "null"
+ ]
+ },
+ "isReturningVehicle": {
+ "description": "For returning vehicles: was it UK registered before export?",
+ "type": [
+ "boolean",
+ "string",
+ "number",
+ "null"
+ ]
+ },
+ "livedOutsideUk12Months": {
+ "description": "For moving-to-uk: has the importer lived outside the UK for at least 12 months?",
+ "type": [
+ "boolean",
+ "string",
+ "number",
+ "null"
+ ]
+ },
+ "ownedCar6Months": {
+ "description": "For moving-to-uk: has the importer owned and used the vehicle abroad for at least 6 months?",
+ "type": [
+ "boolean",
+ "string",
+ "number",
+ "null"
+ ]
+ },
+ "previouslyRegisteredInUk": {
+ "description": "For returning vehicles previously UK registered: did the importer own it at export and continuously while abroad?",
+ "type": [
+ "boolean",
+ "string",
+ "number",
+ "null"
+ ]
+ },
+ "registrationCountry": {
+ "description": "Country where the vehicle is currently registered. Required even if collection country is known.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "options": {
+ "additionalProperties": {},
+ "properties": {
+ "includeDestinationImportTaxes": {
+ "description": "Always enabled for UK imports; domestic quotes cover transport only.",
+ "type": "boolean"
+ },
+ "targetCurrency": {
+ "description": "Currency for the quote, normally GBP.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "partnerReference": {
+ "type": "string"
+ },
+ "transport": {
+ "additionalProperties": {},
+ "properties": {
+ "nonRunner": {
+ "description": "True if the vehicle cannot be driven.",
+ "type": "boolean"
+ },
+ "shippingMethod": {
+ "description": "open or enclosed; open is the default.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "vehicle": {
+ "additionalProperties": {},
+ "description": "Manual vehicle details. VINs are ignored and never sent for lookup.",
+ "properties": {
+ "currency": {
+ "description": "Currency of the actual vehicle value, for example EUR, USD, JPY or GBP. Required for imports.",
+ "type": "string"
+ },
+ "engineSize": {
+ "type": [
+ "number",
+ "string"
+ ]
+ },
+ "fuelType": {
+ "type": "string"
+ },
+ "make": {
+ "type": "string"
+ },
+ "model": {
+ "type": "string"
+ },
+ "shippingSizeId": {
+ "description": "Known shipping size identifier, if available. Supply year, make and model manually; VIN lookups are disabled.",
+ "type": [
+ "number",
+ "string"
+ ]
+ },
+ "value": {
+ "description": "Actual purchase or current market value, required for every import to the UK. UK domestic quotes may use an approximate value or valueBand.",
+ "type": [
+ "number",
+ "string"
+ ]
+ },
+ "valueBand": {
+ "description": "UK-to-UK alternative to value: 0-10000, 10001-50000, 50001-100000, 100001-500000 or 500000-plus, in GBP.",
+ "type": "string"
+ },
+ "vehicleType": {
+ "type": "string"
+ },
+ "year": {
+ "type": [
+ "number",
+ "string"
+ ]
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "description": "Legacy natural-language quote details or a JSON-encoded draft. Prefer the object format.",
+ "type": "string"
+ }
+]
addedInput schema / properties / patch / anyOf
Added value: +[
+ {
+ "additionalProperties": {},
+ "properties": {
+ "collection": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "address": {
+ "description": "Collection or delivery address, town or postcode.",
+ "type": "string"
+ },
+ "city": {
+ "type": "string"
+ },
+ "country": {
+ "description": "Country name, for example United Kingdom.",
+ "type": "string"
+ },
+ "countryCode": {
+ "description": "Two-letter country code, for example GB.",
+ "type": "string"
+ },
+ "postcode": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "description": "Address including country, for example London, United Kingdom.",
+ "type": "string"
+ }
+ ]
+ },
+ "contact": {
+ "additionalProperties": {},
+ "description": "Optional. Store these details only with contactConsent on quote_generate.",
+ "properties": {
+ "email": {
+ "type": "string"
+ },
+ "firstName": {
+ "type": "string"
+ },
+ "lastName": {
+ "type": "string"
+ },
+ "phone": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "delivery": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "address": {
+ "description": "Collection or delivery address, town or postcode.",
+ "type": "string"
+ },
+ "city": {
+ "type": "string"
+ },
+ "country": {
+ "description": "Country name, for example United Kingdom.",
+ "type": "string"
+ },
+ "countryCode": {
+ "description": "Two-letter country code, for example GB.",
+ "type": "string"
+ },
+ "postcode": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "description": "Address including country, for example London, United Kingdom.",
+ "type": "string"
+ }
+ ]
+ },
+ "destinationCostDetails": {
+ "additionalProperties": {},
+ "properties": {
+ "hmrcDetails": {
+ "additionalProperties": {},
+ "description": "HMRC estimate answers. Prefer booleans for yes/no questions and ask the user when unknown; never assume relief eligibility.",
+ "properties": {
+ "hasEuExporterNumber": {
+ "description": "Can the seller supply the required EU Registered Exporter Number?",
+ "type": [
+ "boolean",
+ "string",
+ "number",
+ "null"
+ ]
+ },
+ "hasEuStatementOnOrigin": {
+ "description": "Can the seller supply a Statement on Origin proving EU manufacture?",
+ "type": [
+ "boolean",
+ "string",
+ "number",
+ "null"
+ ]
+ },
+ "hasJapanCorporateNumber": {
+ "description": "Can the seller supply their 13-digit Japan Corporate Number?",
+ "type": [
+ "boolean",
+ "string",
+ "number",
+ "null"
+ ]
+ },
+ "hasJapanStatementOnOrigin": {
+ "description": "Can the seller supply a Japanese Statement on Origin?",
+ "type": [
+ "boolean",
+ "string",
+ "number",
+ "null"
+ ]
+ },
+ "importDuration": {
+ "description": "temporary or permanent",
+ "type": "string"
+ },
+ "importPurpose": {
+ "description": "personal or commercial",
+ "type": "string"
+ },
+ "importReason": {
+ "description": "Personal: personal-use, moving-to-uk, gift, inheritance or returning. Commercial: vat-registered or not-vat-registered. Purchase and relocation aliases are accepted.",
+ "type": "string"
+ },
+ "isBuiltInJapan": {
+ "description": "Was the vehicle manufactured in Japan? Ask when required by quote_get_requirements.",
+ "type": [
+ "boolean",
+ "string",
+ "number",
+ "null"
+ ]
+ },
+ "isReturningVehicle": {
+ "description": "For returning vehicles: was it UK registered before export?",
+ "type": [
+ "boolean",
+ "string",
+ "number",
+ "null"
+ ]
+ },
+ "livedOutsideUk12Months": {
+ "description": "For moving-to-uk: has the importer lived outside the UK for at least 12 months?",
+ "type": [
+ "boolean",
+ "string",
+ "number",
+ "null"
+ ]
+ },
+ "ownedCar6Months": {
+ "description": "For moving-to-uk: has the importer owned and used the vehicle abroad for at least 6 months?",
+ "type": [
+ "boolean",
+ "string",
+ "number",
+ "null"
+ ]
+ },
+ "previouslyRegisteredInUk": {
+ "description": "For returning vehicles previously UK registered: did the importer own it at export and continuously while abroad?",
+ "type": [
+ "boolean",
+ "string",
+ "number",
+ "null"
+ ]
+ },
+ "registrationCountry": {
+ "description": "Country where the vehicle is currently registered. Required even if collection country is known.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "options": {
+ "additionalProperties": {},
+ "properties": {
+ "includeDestinationImportTaxes": {
+ "description": "Always enabled for UK imports; domestic quotes cover transport only.",
+ "type": "boolean"
+ },
+ "targetCurrency": {
+ "description": "Currency for the quote, normally GBP.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "partnerReference": {
+ "type": "string"
+ },
+ "transport": {
+ "additionalProperties": {},
+ "properties": {
+ "nonRunner": {
+ "description": "True if the vehicle cannot be driven.",
+ "type": "boolean"
+ },
+ "shippingMethod": {
+ "description": "open or enclosed; open is the default.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "vehicle": {
+ "additionalProperties": {},
+ "description": "Manual vehicle details. VINs are ignored and never sent for lookup.",
+ "properties": {
+ "currency": {
+ "description": "Currency of the actual vehicle value, for example EUR, USD, JPY or GBP. Required for imports.",
+ "type": "string"
+ },
+ "engineSize": {
+ "type": [
+ "number",
+ "string"
+ ]
+ },
+ "fuelType": {
+ "type": "string"
+ },
+ "make": {
+ "type": "string"
+ },
+ "model": {
+ "type": "string"
+ },
+ "shippingSizeId": {
+ "description": "Known shipping size identifier, if available. Supply year, make and model manually; VIN lookups are disabled.",
+ "type": [
+ "number",
+ "string"
+ ]
+ },
+ "value": {
+ "description": "Actual purchase or current market value, required for every import to the UK. UK domestic quotes may use an approximate value or valueBand.",
+ "type": [
+ "number",
+ "string"
+ ]
+ },
+ "valueBand": {
+ "description": "UK-to-UK alternative to value: 0-10000, 10001-50000, 50001-100000, 100001-500000 or 500000-plus, in GBP.",
+ "type": "string"
+ },
+ "vehicleType": {
+ "type": "string"
+ },
+ "year": {
+ "type": [
+ "number",
+ "string"
+ ]
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "description": "Legacy natural-language quote details or a JSON-encoded draft. Prefer the object format.",
+ "type": "string"
+ }
+]