Debian Codegraph @

ocpp/v201/schemas/SetDisplayMessageResponse.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 "DisplayMessageStatusEnumType": {
20 "description": "This indicates whether the Charging Station is able to display the message.\r\n",
21 "javaType": "DisplayMessageStatusEnum",
22 "type": "string",
23 "additionalProperties": false,
24 "enum": [
25 "Accepted",
26 "NotSupportedMessageFormat",
27 "Rejected",
28 "NotSupportedPriority",
29 "NotSupportedState",
30 "UnknownTransaction"
31 ]
32 },
33 "StatusInfoType": {
34 "description": "Element providing more information about the status.\r\n",
35 "javaType": "StatusInfo",
36 "type": "object",
37 "additionalProperties": false,
38 "properties": {
39 "customData": {
40 "$ref": "#/definitions/CustomDataType"
41 },
42 "reasonCode": {
43 "description": "A predefined code for the reason why the status is returned in this response. The string is case-insensitive.\r\n",
44 "type": "string",
45 "maxLength": 20
46 },
47 "additionalInfo": {
48 "description": "Additional text to provide detailed information.\r\n",
49 "type": "string",
50 "maxLength": 512
51 }
52 },
53 "required": [
54 "reasonCode"
55 ]
56 }
57 },
58 "type": "object",
59 "additionalProperties": false,
60 "properties": {
61 "customData": {
62 "$ref": "#/definitions/CustomDataType"
63 },
64 "status": {
65 "$ref": "#/definitions/DisplayMessageStatusEnumType"
66 },
67 "statusInfo": {
68 "$ref": "#/definitions/StatusInfoType"
69 }
70 },
71 "required": [
72 "status"
73 ]
74 }