Lexio · Schema

MaintenanceAlert

Car RentalSoftware-as-a-ServiceFleet ManagementFrenchB2B

Properties

Name Type Description
operationCode string Opération concernée (`GET /maintenance-operations`).
status string `OVERDUE` : `remainingKm` ou `remainingDays` négatif. `UPCOMING` : moins de 1000 km ou de 30 jours restants. `OK` sinon.
isBlockingRentals boolean true si cette opération, en retard, rend le véhicule non réservable (selon le réglage de blocage du loueur) ; aussi sur `CT_INSPECTION` quand un contrôle technique échoué attend sa contre-visite.
kmInterval object Intervalle effectif pour ce véhicule, en km ; null : pas d’échéance kilométrique.
monthInterval object Intervalle effectif pour ce véhicule, en mois ; null : pas d’échéance de date.
hasHistory boolean false : aucune intervention enregistrée, l’échéance part du début du suivi.
lastServiceDate object Jour de la dernière intervention enregistrée ; null sans historique.
lastServiceOdometerKm object Kilométrage de la dernière intervention ; null sans historique.
dueOdometerKm object Kilométrage d’échéance ; null sans intervalle en km.
dueDate object Jour d’échéance ; null sans intervalle en mois.
remainingKm object Kilomètres restants depuis le compteur actuel ; négatif : échéance dépassée.
remainingDays object Jours restants ; négatif : échéance dépassée.
View JSON Schema on GitHub

JSON Schema

lexio-rent-maintenance-alert-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/lexio-rent/json-schema/lexio-rent-maintenance-alert-schema.json",
  "title": "MaintenanceAlert",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lexio-rent-entretien-api-openapi.yml#/components/schemas/MaintenanceAlert",
  "type": "object",
  "properties": {
    "operationCode": {
      "type": "string",
      "minLength": 1,
      "description": "Opération concernée (`GET /maintenance-operations`)."
    },
    "status": {
      "type": "string",
      "enum": [
        "OVERDUE",
        "UPCOMING",
        "OK"
      ],
      "description": "`OVERDUE` : `remainingKm` ou `remainingDays` négatif. `UPCOMING` : moins de 1000 km ou de 30 jours restants. `OK` sinon."
    },
    "isBlockingRentals": {
      "type": "boolean",
      "description": "true si cette opération, en retard, rend le véhicule non réservable (selon le réglage de blocage du loueur) ; aussi sur `CT_INSPECTION` quand un contrôle technique échoué attend sa contre-visite."
    },
    "kmInterval": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "description": "Intervalle effectif pour ce véhicule, en km ; null : pas d’échéance kilométrique."
    },
    "monthInterval": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "description": "Intervalle effectif pour ce véhicule, en mois ; null : pas d’échéance de date."
    },
    "hasHistory": {
      "type": "boolean",
      "description": "false : aucune intervention enregistrée, l’échéance part du début du suivi."
    },
    "lastServiceDate": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "description": "Jour de la dernière intervention enregistrée ; null sans historique."
    },
    "lastServiceOdometerKm": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "description": "Kilométrage de la dernière intervention ; null sans historique."
    },
    "dueOdometerKm": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "description": "Kilométrage d’échéance ; null sans intervalle en km."
    },
    "dueDate": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "description": "Jour d’échéance ; null sans intervalle en mois."
    },
    "remainingKm": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "description": "Kilomètres restants depuis le compteur actuel ; négatif : échéance dépassée."
    },
    "remainingDays": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "description": "Jours restants ; négatif : échéance dépassée."
    }
  },
  "required": [
    "operationCode",
    "status",
    "isBlockingRentals",
    "kmInterval",
    "monthInterval",
    "hasHistory",
    "lastServiceDate",
    "lastServiceOdometerKm",
    "dueOdometerKm",
    "dueDate",
    "remainingKm",
    "remainingDays"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/lexio-rent-maintenance-alert"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.