Validate an OCPI object
chargerdojo_validate_payloadCheck one OCPI object, sent as JSON text, against the schema ChargerDojo grades that object with at one OCPI version, and list each field that breaks it. The JSON leaves your machine and is sent to chargerdojo.com; it is not stored or logged. Up to 64 KB, 30 calls a minute. Answers: is this a valid OCPI object at my version.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"version": "<version>",
"object": "<object>",
"json": "<json>"
},
"name": "chargerdojo_validate_payload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json | Yes | The object itself as JSON text, without the response envelope. | |
| object | Yes | Which OCPI object the JSON is, for example token or session. | |
| version | Yes | The OCPI version, for example 2.2.1. |