Debian Codegraph @

ocpp/v201/schemas/UpdateFirmwareRequest.json

raw
1 {
2 "$schema": "http://json-schema.org/draft-06/schema#",
3 "comment": "OCPP 2.0.1 FINAL",
4 "definitions": {
5 "CustomDataType": {
6 "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.",
7 "javaType": "CustomData",
8 "type": "object",
9 "properties": {
10 "vendorId": {
11 "type": "string",
12 "maxLength": 255
13 }
14 },
15 "required": [
16 "vendorId"
17 ]
18 },
19 "FirmwareType": {
20 "description": "Firmware\r\nurn:x-enexis:ecdm:uid:2:233291\r\nRepresents a copy of the firmware that can be loaded/updated on the Charging Station.\r\n",
21 "javaType": "Firmware",
22 "type": "object",
23 "additionalProperties": false,
24 "properties": {
25 "customData": {
26 "$ref": "#/definitions/CustomDataType"
27 },
28 "location": {
29 "description": "Firmware. Location. URI\r\nurn:x-enexis:ecdm:uid:1:569460\r\nURI defining the origin of the firmware.\r\n",
30 "type": "string",
31 "maxLength": 512
32 },
33 "retrieveDateTime": {
34 "description": "Firmware. Retrieve. Date_ Time\r\nurn:x-enexis:ecdm:uid:1:569461\r\nDate and time at which the firmware shall be retrieved.\r\n",
35 "type": "string",
36 "format": "date-time"
37 },
38 "installDateTime": {
39 "description": "Firmware. Install. Date_ Time\r\nurn:x-enexis:ecdm:uid:1:569462\r\nDate and time at which the firmware shall be installed.\r\n",
40 "type": "string",
41 "format": "date-time"
42 },
43 "signingCertificate": {
44 "description": "Certificate with which the firmware was signed.\r\nPEM encoded X.509 certificate.\r\n",
45 "type": "string",
46 "maxLength": 5500
47 },
48 "signature": {
49 "description": "Firmware. Signature. Signature\r\nurn:x-enexis:ecdm:uid:1:569464\r\nBase64 encoded firmware signature.\r\n",
50 "type": "string",
51 "maxLength": 800
52 }
53 },
54 "required": [
55 "location",
56 "retrieveDateTime"
57 ]
58 }
59 },
60 "type": "object",
61 "additionalProperties": false,
62 "properties": {
63 "customData": {
64 "$ref": "#/definitions/CustomDataType"
65 },
66 "retries": {
67 "description": "This specifies how many times Charging Station must try to download the firmware before giving up. If this field is not present, it is left to Charging Station to decide how many times it wants to retry.\r\n",
68 "type": "integer"
69 },
70 "retryInterval": {
71 "description": "The interval in seconds after which a retry may be attempted. If this field is not present, it is left to Charging Station to decide how long to wait between attempts.\r\n",
72 "type": "integer"
73 },
74 "requestId": {
75 "description": "The Id of this request\r\n",
76 "type": "integer"
77 },
78 "firmware": {
79 "$ref": "#/definitions/FirmwareType"
80 }
81 },
82 "required": [
83 "requestId",
84 "firmware"
85 ]
86 }