Lexio · Schema
Event
Changement d’une location ; relisez-la pour obtenir son état.
Car RentalSoftware-as-a-ServiceFleet ManagementFrenchB2B
Properties
| Name | Type | Description |
|---|---|---|
| id | string | Identifiant de l’événement. |
| type | string | `rental.created` : location créée ; `rental.updated` : location modifiée (statut, dates, véhicule, prix, options, paiements, lieux, notes…) ; `rental.cancelled` : location annulée ; `rental.deleted` : |
| occurredAt | string | Instant du changement. L’ordre du flux est celui de la page, pas cet instant. |
| resource | object | Location concernée, à relire par `GET /rentals/{rentalId}`. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/lexio-rent/json-schema/lexio-rent-event-schema.json",
"title": "Event",
"description": "Changement d’une location ; relisez-la pour obtenir son état.",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/lexio-rent-v-nements-api-openapi.yml#/components/schemas/Event",
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"description": "Identifiant de l’événement."
},
"type": {
"type": "string",
"enum": [
"rental.created",
"rental.updated",
"rental.cancelled",
"rental.deleted"
],
"description": "`rental.created` : location créée ; `rental.updated` : location modifiée (statut, dates, véhicule, prix, options, paiements, lieux, notes…) ; `rental.cancelled` : location annulée ; `rental.deleted` : location supprimée."
},
"occurredAt": {
"type": "string",
"format": "date-time",
"description": "Instant du changement. L’ordre du flux est celui de la page, pas cet instant."
},
"resource": {
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "RENTAL",
"description": "Type de la ressource concernée."
},
"id": {
"type": "string",
"format": "uuid",
"description": "Identifiant de la location (`rentalId`)."
},
"partnerReference": {
"description": "Numéro de commande du partenaire ; null si absent.",
"type": [
"string",
"null"
]
}
},
"required": [
"type",
"id",
"partnerReference"
],
"description": "Location concernée, à relire par `GET /rentals/{rentalId}`."
}
},
"required": [
"id",
"type",
"occurredAt",
"resource"
]
}
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-event"
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.