@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
24 lines (23 loc) • 504 B
JSON
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "DataTransferResponse",
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"Accepted",
"Rejected",
"UnknownMessageId",
"UnknownVendorId"
]
},
"data": {
"type": "string"
}
},
"additionalProperties": false,
"required": [
"status"
]
}