Debian Codegraph @

ocpp/v201/schemas/LogStatusNotificationRequest.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 "UploadLogStatusEnumType": {
20 "description": "This contains the status of the log upload.\r\n",
21 "javaType": "UploadLogStatusEnum",
22 "type": "string",
23 "additionalProperties": false,
24 "enum": [
25 "BadMessage",
26 "Idle",
27 "NotSupportedOperation",
28 "PermissionDenied",
29 "Uploaded",
30 "UploadFailure",
31 "Uploading",
32 "AcceptedCanceled"
33 ]
34 }
35 },
36 "type": "object",
37 "additionalProperties": false,
38 "properties": {
39 "customData": {
40 "$ref": "#/definitions/CustomDataType"
41 },
42 "status": {
43 "$ref": "#/definitions/UploadLogStatusEnumType"
44 },
45 "requestId": {
46 "description": "The request id that was provided in GetLogRequest that started this log upload. This field is mandatory,\r\nunless the message was triggered by a TriggerMessageRequest AND there is no log upload ongoing.\r\n",
47 "type": "integer"
48 }
49 },
50 "required": [
51 "status"
52 ]
53 }