Properties
| Name | Type | Description |
|---|---|---|
| id | string | Identifiant du forfait kilométrique. |
| currency | string | Devise ISO 4217 : tous les montants de la ressource sont dans cette devise. |
| name | string | Nom affiché au client. |
| description | object | Description libre ; null si absente. |
| price | object | Prix HT du forfait pour le client. |
| tiers | array | Kilomètres inclus par jour selon la durée : s’applique le palier de plus grand `fromDay` atteint par les jours facturés. Le prix HT du kilomètre au-delà se règle par catégorie (`overageRatePerKmHT`, ` |
| isDefault | boolean | Forfait retenu quand une offre omet `mileagePackageId`. Au plus un par organisation : en désigner un autre retire ce statut à l’ancien ; un forfait par défaut est toujours actif. Sans forfait par défa |
| isActive | boolean | false : forfait retiré de la vente. |
| displayOrder | integer | Rang d’affichage ; ordre de la liste. |
| updatedAt | string | Dernière modification. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/lexio-rent/json-schema/lexio-rent-mileage-package-schema.json",
"title": "MileagePackage",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/lexio-rent-catalogue-api-openapi.yml#/components/schemas/MileagePackage",
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"description": "Identifiant du forfait kilométrique."
},
"currency": {
"type": "string",
"enum": [
"EUR",
"XPF",
"CHF",
"CAD",
"GBP",
"USD",
"XOF"
],
"description": "Devise ISO 4217 : tous les montants de la ressource sont dans cette devise."
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"description": "Nom affiché au client."
},
"description": {
"anyOf": [
{
"type": "string",
"maxLength": 500
},
{
"type": "null"
}
],
"description": "Description libre ; null si absente."
},
"price": {
"oneOf": [
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"const": "FIXED_PER_DAY",
"description": "Prix fixe par jour facturé."
},
"amountHT": {
"type": "number",
"description": "Prix HT par jour facturé ; 0 : offert."
}
},
"required": [
"mode",
"amountHT"
]
},
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"const": "PERCENT_OF_RENTAL",
"description": "Pourcentage du prix de location du véhicule."
},
"percent": {
"type": "number",
"minimum": 0.01,
"maximum": 100,
"description": "Pourcentage du tarif journalier HT moyen, par jour facturé, avant remises et majorations. Au plus 2 décimales."
}
},
"required": [
"mode",
"percent"
]
}
],
"description": "Prix HT du forfait pour le client.",
"type": "object"
},
"tiers": {
"minItems": 1,
"maxItems": 20,
"type": "array",
"items": {
"type": "object",
"properties": {
"fromDay": {
"type": "integer",
"minimum": 1,
"description": "Le palier vaut pour une location d’au moins ce nombre de jours facturés."
},
"dailyKm": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
],
"description": "Kilomètres inclus par jour facturé ; null : kilométrage illimité."
}
},
"required": [
"fromDay",
"dailyKm"
]
},
"description": "Kilomètres inclus par jour selon la durée : s’applique le palier de plus grand `fromDay` atteint par les jours facturés. Le prix HT du kilomètre au-delà se règle par catégorie (`overageRatePerKmHT`, `PATCH /categories/{categoryId}`)."
},
"isDefault": {
"type": "boolean",
"description": "Forfait retenu quand une offre omet `mileagePackageId`. Au plus un par organisation : en désigner un autre retire ce statut à l’ancien ; un forfait par défaut est toujours actif. Sans forfait par défaut : kilométrage illimité."
},
"isActive": {
"type": "boolean",
"description": "false : forfait retiré de la vente."
},
"displayOrder": {
"type": "integer",
"minimum": 0,
"description": "Rang d’affichage ; ordre de la liste."
},
"updatedAt": {
"type": "string",
"format": "date-time",
"description": "Dernière modification."
}
},
"required": [
"id",
"currency",
"name",
"description",
"price",
"tiers",
"isDefault",
"isActive",
"displayOrder",
"updatedAt"
]
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/lexio-rent-mileage-package"
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.