Debian Codegraph @

ocpp/v201/schemas/GetLogResponse.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 "LogStatusEnumType": {
20 "description": "This field indicates whether the Charging Station was able to accept the request.\r\n",
21 "javaType": "LogStatusEnum",
22 "type": "string",
23 "additionalProperties": false,
24 "enum": [
25 "Accepted",
26 "Rejected",
27 "AcceptedCanceled"
28 ]
29 },
30 "StatusInfoType": {
31 "description": "Element providing more information about the status.\r\n",
32 "javaType": "StatusInfo",
33 "type": "object",
34 "additionalProperties": false,
35 "properties": {
36 "customData": {
37 "$ref": "#/definitions/CustomDataType"
38 },
39 "reasonCode": {
40 "description": "A predefined code for the reason why the status is returned in this response. The string is case-insensitive.\r\n",
41 "type": "string",
42 "maxLength": 20
43 },
44 "additionalInfo": {
45 "description": "Additional text to provide detailed information.\r\n",
46 "type": "string",
47 "maxLength": 512
48 }
49 },
50 "required": [
51 "reasonCode"
52 ]
53 }
54 },
55 "type": "object",
56 "additionalProperties": false,
57 "properties": {
58 "customData": {
59 "$ref": "#/definitions/CustomDataType"
60 },
61 "status": {
62 "$ref": "#/definitions/LogStatusEnumType"
63 },
64 "statusInfo": {
65 "$ref": "#/definitions/StatusInfoType"
66 },
67 "filename": {
68 "description": "This contains the name of the log file that will be uploaded. This field is not present when no logging information is available.\r\n",
69 "type": "string",
70 "maxLength": 255
71 }
72 },
73 "required": [
74 "status"
75 ]
76 }