Add BootNotification and ClearCache OCPP 2.0.1 commands support
[e-mobility-charging-stations-simulator.git] / src / assets / json-schemas / ocpp / 2.0 / FirmwareStatusNotificationRequest.json
1 {
2 "$schema": "http://json-schema.org/draft-06/schema#",
3 "$id": "urn:OCPP:Cp:2:2020:3:FirmwareStatusNotificationRequest",
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 "FirmwareStatusEnumType": {
19 "description": "This contains the progress status of the firmware installation.\r\n",
20 "javaType": "FirmwareStatusEnum",
21 "type": "string",
22 "additionalProperties": false,
23 "enum": [
24 "Downloaded",
25 "DownloadFailed",
26 "Downloading",
27 "DownloadScheduled",
28 "DownloadPaused",
29 "Idle",
30 "InstallationFailed",
31 "Installing",
32 "Installed",
33 "InstallRebooting",
34 "InstallScheduled",
35 "InstallVerificationFailed",
36 "InvalidSignature",
37 "SignatureVerified"
38 ]
39 }
40 },
41 "type": "object",
42 "additionalProperties": false,
43 "properties": {
44 "customData": {
45 "$ref": "#/definitions/CustomDataType"
46 },
47 "status": {
48 "$ref": "#/definitions/FirmwareStatusEnumType"
49 },
50 "requestId": {
51 "description": "The request id that was provided in the\r\nUpdateFirmwareRequest that started this firmware update.\r\nThis field is mandatory, unless the message was triggered by a TriggerMessageRequest AND there is no firmware update ongoing.\r\n",
52 "type": "integer"
53 }
54 },
55 "required": ["status"]
56 }