addedInput schema / $schema
Added value: +"https://json-schema.org/draft/2020-12/schema"
addedInput schema / properties / addons
Added value: +{
+ "description": "Optional extras charged per day. casco is full cover; young_driver applies to drivers aged 21 to 24.",
+ "items": {
+ "enum": [
+ "child_seat",
+ "wifi",
+ "casco",
+ "tire_ins",
+ "young_driver",
+ "extra_driver"
+ ],
+ "type": "string"
+ },
+ "maxItems": 6,
+ "type": "array"
+}
addedInput schema / properties / category
Added value: +{
+ "description": "Optional car class. Omit for every class.",
+ "enum": [
+ "economy",
+ "comfort",
+ "suv",
+ "seven_seater"
+ ],
+ "type": "string"
+}
changedInput schema / properties / currency / description
Previous value: -"Optional display currency for converted totals (EUR and TRY are always included)."New value: +"Also price in this currency (total_quoted). EUR is always included."
removedInput schema / properties / lang
Removed value: -{
- "description": "Language for the booking link and car class names: 'tr' when the visitor writes Turkish, otherwise 'en'.",
- "enum": [
- "tr",
- "en"
- ],
- "type": "string"
-}
addedInput schema / properties / language
Added value: +{
+ "default": "en",
+ "description": "Language of the result and the booking link: 'tr' for Turkish, otherwise 'en'.",
+ "enum": [
+ "tr",
+ "en"
+ ],
+ "type": "string"
+}
changedInput schema / properties / pickup_at / description
Previous value: -"Pickup date-time 'YYYY-MM-DDTHH:mm', Cyprus local time (Europe/Nicosia), within the booking hours."New value: +"Pickup date-time 'YYYY-MM-DDTHH:mm', Cyprus local time, within the booking hours."
addedInput schema / properties / pickup_location
Added value: +{
+ "description": "Where the car is handed over. Omit for the Kipra office. The airports and Bafra cost extra.",
+ "enum": [
+ "kipra_office",
+ "famagusta",
+ "iskele_long_beach",
+ "deryneia_crosspoint",
+ "ercan_airport",
+ "larnaca_airport",
+ "bafra"
+ ],
+ "type": "string"
+}
addedInput schema / properties / return_location
Added value: +{
+ "description": "Where the car comes back. Omit for the office.",
+ "enum": [
+ "kipra_office",
+ "famagusta",
+ "iskele_long_beach",
+ "deryneia_crosspoint",
+ "ercan_airport",
+ "larnaca_airport",
+ "bafra"
+ ],
+ "type": "string"
+}
changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "additionalProperties": {},
+ "properties": {
+ "addons": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "per_day_eur": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "kind",
+ "name",
+ "per_day_eur"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "available_count": {
+ "type": "number"
+ },
+ "booking_url": {
+ "description": "Opens the list of cars for these dates.",
+ "type": "string"
+ },
+ "language": {
+ "type": "string"
+ },
+ "next_available": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "pickup_at": {
+ "type": "string"
+ },
+ "return_at": {
+ "type": "string"
+ },
+ "vehicle_count": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "pickup_at",
+ "return_at",
+ "vehicle_count"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "pickup_at": {
+ "type": "string"
+ },
+ "pickup_location": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "fee_eur": {
+ "type": "number"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "name",
+ "fee_eur"
+ ],
+ "type": "object"
+ },
+ "pricing_notes": {
+ "type": "string"
+ },
+ "quote_currency": {
+ "type": "string"
+ },
+ "return_at": {
+ "type": "string"
+ },
+ "return_location": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "fee_eur": {
+ "type": "number"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "name",
+ "fee_eur"
+ ],
+ "type": "object"
+ },
+ "vehicles": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "booking_url": {
+ "description": "Opens the booking form on this car.",
+ "type": "string"
+ },
+ "category": {
+ "type": "string"
+ },
+ "daily_rate_eur": {
+ "type": "number"
+ },
+ "days": {
+ "type": "number"
+ },
+ "make": {
+ "type": "string"
+ },
+ "model": {
+ "type": "string"
+ },
+ "photo_url": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "rental_eur": {
+ "description": "The car alone: daily rate × days.",
+ "type": "number"
+ },
+ "seats": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "total_eur": {
+ "description": "What the person pays, with add-ons and place fees.",
+ "type": "number"
+ },
+ "total_quoted": {
+ "description": "total_eur in quote_currency.",
+ "type": "number"
+ },
+ "transmission": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "year": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "make",
+ "model",
+ "year",
+ "category",
+ "seats",
+ "transmission",
+ "days",
+ "daily_rate_eur",
+ "rental_eur",
+ "total_eur",
+ "photo_url",
+ "booking_url"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "pickup_at",
+ "return_at",
+ "language",
+ "pickup_location",
+ "return_location",
+ "addons",
+ "available_count",
+ "vehicles",
+ "booking_url",
+ "next_available",
+ "pricing_notes"
+ ],
+ "type": "object"
+}