Lexio · Schema

PricingSettings

Car RentalSoftware-as-a-ServiceFleet ManagementFrenchB2B

Properties

Name Type Description
seasonalPricing object Prix par saison (`GET /seasons`, `GET /season-calendar`).
leadTimePricing object Coefficients selon le délai de réservation (`GET /lead-time-tiers`).
durationDiscounts object Remises selon la durée (`GET /duration-discounts`).
weekendSurcharge object Majoration du week-end.
shortDurationSurcharge object Majoration des locations courtes, par paliers de durée.
View JSON Schema on GitHub

JSON Schema

lexio-rent-pricing-settings-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/lexio-rent/json-schema/lexio-rent-pricing-settings-schema.json",
  "title": "PricingSettings",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lexio-rent-tarification-api-openapi.yml#/components/schemas/PricingSettings",
  "type": "object",
  "properties": {
    "seasonalPricing": {
      "type": "object",
      "properties": {
        "isEnabled": {
          "type": "boolean",
          "description": "Règle activée par le loueur dans Lexio."
        },
        "isAvailable": {
          "type": "boolean",
          "description": "Fonctionnalité incluse dans le plan de l’organisation (lecture seule)."
        }
      },
      "required": [
        "isEnabled",
        "isAvailable"
      ],
      "description": "Prix par saison (`GET /seasons`, `GET /season-calendar`)."
    },
    "leadTimePricing": {
      "type": "object",
      "properties": {
        "isEnabled": {
          "type": "boolean",
          "description": "Règle activée par le loueur dans Lexio."
        },
        "isAvailable": {
          "type": "boolean",
          "description": "Fonctionnalité incluse dans le plan de l’organisation (lecture seule)."
        }
      },
      "required": [
        "isEnabled",
        "isAvailable"
      ],
      "description": "Coefficients selon le délai de réservation (`GET /lead-time-tiers`)."
    },
    "durationDiscounts": {
      "type": "object",
      "properties": {
        "isEnabled": {
          "type": "boolean",
          "description": "Règle activée par le loueur dans Lexio."
        },
        "isAvailable": {
          "type": "boolean",
          "description": "Fonctionnalité incluse dans le plan de l’organisation (lecture seule)."
        }
      },
      "required": [
        "isEnabled",
        "isAvailable"
      ],
      "description": "Remises selon la durée (`GET /duration-discounts`)."
    },
    "weekendSurcharge": {
      "type": "object",
      "properties": {
        "isEnabled": {
          "type": "boolean",
          "description": "Règle activée par le loueur dans Lexio."
        },
        "isAvailable": {
          "type": "boolean",
          "description": "Fonctionnalité incluse dans le plan de l’organisation (lecture seule)."
        },
        "surchargePercent": {
          "type": "number",
          "minimum": 0,
          "maximum": 100,
          "description": "Majoration en %."
        },
        "exemptFromRentalDays": {
          "type": "integer",
          "minimum": 0,
          "maximum": 30,
          "description": "Aucune majoration quand la durée facturée atteint cette valeur."
        }
      },
      "required": [
        "isEnabled",
        "isAvailable",
        "surchargePercent",
        "exemptFromRentalDays"
      ],
      "description": "Majoration du week-end."
    },
    "shortDurationSurcharge": {
      "type": "object",
      "properties": {
        "isEnabled": {
          "type": "boolean",
          "description": "Règle activée par le loueur dans Lexio."
        },
        "isAvailable": {
          "type": "boolean",
          "description": "Fonctionnalité incluse dans le plan de l’organisation (lecture seule)."
        },
        "tiers": {
          "maxItems": 20,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "maxRentalDays": {
                "type": "integer",
                "minimum": 1,
                "maximum": 365,
                "description": "Durée facturée jusqu’à laquelle le palier vaut, incluse."
              },
              "surchargePercent": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Majoration en %."
              },
              "isActive": {
                "type": "boolean",
                "description": "false : palier non appliqué."
              }
            },
            "required": [
              "maxRentalDays",
              "surchargePercent",
              "isActive"
            ]
          },
          "description": "S’applique le palier actif de plus petit `maxRentalDays` supérieur ou égal à la durée facturée."
        },
        "fallback": {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "maxRentalHours": {
                  "type": "integer",
                  "minimum": 0,
                  "description": "Durée de location jusqu’à laquelle la majoration vaut, en heures, incluse."
                },
                "surchargePercent": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "description": "Majoration en %."
                }
              },
              "required": [
                "maxRentalHours",
                "surchargePercent"
              ]
            },
            {
              "type": "null"
            }
          ],
          "description": "Majoration appliquée seulement sans palier actif ; null dès qu’un palier est actif."
        }
      },
      "required": [
        "isEnabled",
        "isAvailable",
        "tiers",
        "fallback"
      ],
      "description": "Majoration des locations courtes, par paliers de durée."
    }
  },
  "required": [
    "seasonalPricing",
    "leadTimePricing",
    "durationDiscounts",
    "weekendSurcharge",
    "shortDurationSurcharge"
  ]
}

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-pricing-settings"
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.