UNPKG

@citrineos/base

Version:

The base module for OCPP v2.0.1 including all interfaces. This module is not intended to be used directly, but rather as a dependency for other modules.

49 lines (48 loc) 1.98 kB
{ "$id": "PublishFirmwareRequest", "comment": "OCPP 2.0.1 FINAL", "definitions": { "CustomDataType": { "description": "This class does not get 'AdditionalProperties = false' in the schema generation, so it can be extended with arbitrary JSON properties to allow adding custom data.", "javaType": "CustomData", "type": "object", "properties": { "vendorId": { "type": "string", "maxLength": 255 } }, "required": ["vendorId"] } }, "type": "object", "additionalProperties": false, "properties": { "customData": { "$ref": "#/definitions/CustomDataType" }, "location": { "description": "This contains a string containing a URI pointing to a\r\nlocation from which to retrieve the firmware.\r\n", "type": "string", "maxLength": 512 }, "retries": { "description": "This specifies how many times Charging Station must try\r\nto download the firmware before giving up. If this field is not\r\npresent, it is left to Charging Station to decide how many times it wants to retry.\r\n", "type": "integer" }, "checksum": { "description": "The MD5 checksum over the entire firmware file as a hexadecimal string of length 32. \r\n", "type": "string", "maxLength": 32 }, "requestId": { "description": "The Id of the request.\r\n", "type": "integer" }, "retryInterval": { "description": "The interval in seconds\r\nafter which a retry may be\r\nattempted. If this field is not\r\npresent, it is left to Charging\r\nStation to decide how long to wait\r\nbetween attempts.\r\n", "type": "integer" } }, "required": ["location", "checksum", "requestId"] }