{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ai2fin-com/json-schema/ai2fin-com-trip-input-schema.json",
  "title": "TripInput",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ai2fin-com-travel-vehicles-api-openapi.yml#/components/schemas/TripInput",
  "type": "object",
  "required": [
    "vehicleId",
    "startDate",
    "endDate",
    "distance",
    "purpose"
  ],
  "properties": {
    "vehicleId": {
      "type": "string"
    },
    "startDate": {
      "type": "string",
      "format": "date-time"
    },
    "endDate": {
      "type": "string",
      "format": "date-time"
    },
    "distance": {
      "type": "number"
    },
    "purpose": {
      "type": "string"
    },
    "startLocation": {
      "type": "string"
    },
    "endLocation": {
      "type": "string"
    }
  }
}