Lithic · Schema

Fleet

FinTechBaaSCard IssuingPaymentsEmbedded Finance

Properties

Name Type Description
service_type object The type of fuel service.
odometer integernull The odometer reading entered into the terminal at the time of sale.
vehicle_number stringnull The vehicle number entered into the terminal at the time of sale, with leading zeros stripped.
driver_number stringnull The driver number entered into the terminal at the time of sale, with leading zeros stripped.
fuel object
amount_totals object
View JSON Schema on GitHub

JSON Schema

lithic-fleet-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/fleet",
  "title": "Fleet",
  "required": [
    "fuel",
    "amount_totals"
  ],
  "type": "object",
  "properties": {
    "service_type": {
      "description": "The type of fuel service.",
      "$ref": "#/components/schemas/service-type"
    },
    "odometer": {
      "title": "Odometer",
      "description": "The odometer reading entered into the terminal at the time of sale.",
      "type": [
        "integer",
        "null"
      ]
    },
    "vehicle_number": {
      "title": "Vehicle Number",
      "description": "The vehicle number entered into the terminal at the time of sale, with leading zeros stripped.",
      "type": [
        "string",
        "null"
      ]
    },
    "driver_number": {
      "title": "Driver Number",
      "description": "The driver number entered into the terminal at the time of sale, with leading zeros stripped.",
      "type": [
        "string",
        "null"
      ]
    },
    "fuel": {
      "$ref": "#/components/schemas/fuel-data"
    },
    "amount_totals": {
      "$ref": "#/components/schemas/amount-totals"
    }
  }
}