fix: fix permissions
[e-mobility-charging-stations-simulator.git] / src / assets / json-schemas / ocpp / 2.0 / UpdateFirmwareResponse.json
CommitLineData
d270cc87 1{
98fc1389 2 "$schema": "http://json-schema.org/draft-07/schema#",
d270cc87 3 "$id": "urn:OCPP:Cp:2:2020:3:UpdateFirmwareResponse",
98fc1389 4 "$comment": "OCPP 2.0.1 FINAL",
d270cc87
JB
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 "UpdateFirmwareStatusEnumType": {
19 "description": "This field indicates whether the Charging Station was able to accept the request.\r\n\r\n",
20 "javaType": "UpdateFirmwareStatusEnum",
21 "type": "string",
22 "additionalProperties": false,
23 "enum": [
24 "Accepted",
25 "Rejected",
26 "AcceptedCanceled",
27 "InvalidCertificate",
28 "RevokedCertificate"
29 ]
30 },
31 "StatusInfoType": {
32 "description": "Element providing more information about the status.\r\n",
33 "javaType": "StatusInfo",
34 "type": "object",
35 "additionalProperties": false,
36 "properties": {
37 "customData": {
38 "$ref": "#/definitions/CustomDataType"
39 },
40 "reasonCode": {
41 "description": "A predefined code for the reason why the status is returned in this response. The string is case-insensitive.\r\n",
42 "type": "string",
43 "maxLength": 20
44 },
45 "additionalInfo": {
46 "description": "Additional text to provide detailed information.\r\n",
47 "type": "string",
48 "maxLength": 512
49 }
50 },
51 "required": ["reasonCode"]
52 }
53 },
54 "type": "object",
55 "additionalProperties": false,
56 "properties": {
57 "customData": {
58 "$ref": "#/definitions/CustomDataType"
59 },
60 "status": {
61 "$ref": "#/definitions/UpdateFirmwareStatusEnumType"
62 },
63 "statusInfo": {
64 "$ref": "#/definitions/StatusInfoType"
65 }
66 },
67 "required": ["status"]
68}