fix: fix permissions
[e-mobility-charging-stations-simulator.git] / src / assets / json-schemas / ocpp / 2.0 / PublishFirmwareRequest.json
1 {
2 "$schema": "http://json-schema.org/draft-07/schema#",
3 "$id": "urn:OCPP:Cp:2:2020:3:PublishFirmwareRequest",
4 "$comment": "OCPP 2.0.1 FINAL",
5 "definitions": {
6 "CustomDataType": {
7 "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.",
8 "javaType": "CustomData",
9 "type": "object",
10 "properties": {
11 "vendorId": {
12 "type": "string",
13 "maxLength": 255
14 }
15 },
16 "required": ["vendorId"]
17 }
18 },
19 "type": "object",
20 "additionalProperties": false,
21 "properties": {
22 "customData": {
23 "$ref": "#/definitions/CustomDataType"
24 },
25 "location": {
26 "description": "This contains a string containing a URI pointing to a\r\nlocation from which to retrieve the firmware.\r\n",
27 "type": "string",
28 "maxLength": 512
29 },
30 "retries": {
31 "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",
32 "type": "integer"
33 },
34 "checksum": {
35 "description": "The MD5 checksum over the entire firmware file as a hexadecimal string of length 32. \r\n",
36 "type": "string",
37 "maxLength": 32
38 },
39 "requestId": {
40 "description": "The Id of the request.\r\n",
41 "type": "integer"
42 },
43 "retryInterval": {
44 "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",
45 "type": "integer"
46 }
47 },
48 "required": ["location", "checksum", "requestId"]
49 }