UNPKG

ocpp-standard-schema

Version:

Contains OCPP JSON schemas for validation purposes

67 lines (66 loc) 2.05 kB
{ "type": "object", "properties": { "updateType": { "type": "string", "enum": [ "Differential", "Full" ] }, "listVersion": { "type": "integer" }, "localAuthorisationList": { "type": "array", "items": [ { "type": "object", "properties": { "idTag": { "type": "string", "maxLength": 20 }, "idTagInfo": { "type": "object", "properties": { "status": { "type": "string", "enum": [ "Accepted", "Blocked", "Expired", "Invalid" ] }, "expiryDate": { "type": "string", "format": "date-time" }, "parentIdTag": { "type": "string", "maxLength": 20 } }, "required": [ "status" ] } }, "required": [ "idTag" ] } ] }, "hash": { "type": "string", "maxLength": 64 } }, "required": [ "updateType", "listVersion" ], "additionalProperties": false }