@luisiseverywhere/ocpp-schema-types
Version:
A project which uses official ocpp schema data (provided by OCA) and generates the types for request and responses of each occp command
26 lines (25 loc) • 534 B
JSON
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "TriggerMessageRequest",
"type": "object",
"properties": {
"requestedMessage": {
"type": "string",
"enum": [
"BootNotification",
"DiagnosticsStatusNotification",
"FirmwareStatusNotification",
"Heartbeat",
"MeterValues",
"StatusNotification"
]
},
"connectorId": {
"type": "integer"
}
},
"additionalProperties": false,
"required": [
"requestedMessage"
]
}