UNPKG

@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

64 lines (63 loc) 1.74 kB
{ "$schema": "http://json-schema.org/draft-04/schema#", "title": "SendLocalListRequest", "type": "object", "properties": { "listVersion": { "type": "integer" }, "localAuthorizationList": { "type": "array", "items": { "type": "object", "properties": { "idTag": { "type": "string", "maxLength": 20 }, "idTagInfo": { "type": "object", "expiryDate": { "type": "string", "format": "date-time" }, "parentIdTag": { "type": "string", "maxLength": 20 }, "properties": { "status": { "type": "string", "enum": [ "Accepted", "Blocked", "Expired", "Invalid", "ConcurrentTx" ] } }, "required": [ "status" ] } }, "required": [ "idTag" ] } }, "updateType": { "type": "string", "enum": [ "Differential", "Full" ] } }, "additionalProperties": false, "required": [ "listVersion", "updateType" ] }