Debian Codegraph @

ocpp/v201/schemas/PublishFirmwareStatusNotificationRequest.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 "PublishFirmwareStatusEnumType": {
20 "description": "This contains the progress status of the publishfirmware\r\ninstallation.\r\n",
21 "javaType": "PublishFirmwareStatusEnum",
22 "type": "string",
23 "additionalProperties": false,
24 "enum": [
25 "Idle",
26 "DownloadScheduled",
27 "Downloading",
28 "Downloaded",
29 "Published",
30 "DownloadFailed",
31 "DownloadPaused",
32 "InvalidChecksum",
33 "ChecksumVerified",
34 "PublishFailed"
35 ]
36 }
37 },
38 "type": "object",
39 "additionalProperties": false,
40 "properties": {
41 "customData": {
42 "$ref": "#/definitions/CustomDataType"
43 },
44 "status": {
45 "$ref": "#/definitions/PublishFirmwareStatusEnumType"
46 },
47 "location": {
48 "description": "Required if status is Published. Can be multiple URI’s, if the Local Controller supports e.g. HTTP, HTTPS, and FTP.\r\n",
49 "type": "array",
50 "additionalItems": false,
51 "items": {
52 "type": "string",
53 "maxLength": 512
54 },
55 "minItems": 1
56 },
57 "requestId": {
58 "description": "The request id that was\r\nprovided in the\r\nPublishFirmwareRequest which\r\ntriggered this action.\r\n",
59 "type": "integer"
60 }
61 },
62 "required": [
63 "status"
64 ]
65 }