Debian Codegraph @

ocpp/v201/schemas/SetDisplayMessageRequest.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 "MessageFormatEnumType": {
20 "description": "Message_ Content. Format. Message_ Format_ Code\r\nurn:x-enexis:ecdm:uid:1:570848\r\nFormat of the message.\r\n",
21 "javaType": "MessageFormatEnum",
22 "type": "string",
23 "additionalProperties": false,
24 "enum": [
25 "ASCII",
26 "HTML",
27 "URI",
28 "UTF8"
29 ]
30 },
31 "MessagePriorityEnumType": {
32 "description": "Message_ Info. Priority. Message_ Priority_ Code\r\nurn:x-enexis:ecdm:uid:1:569253\r\nWith what priority should this message be shown\r\n",
33 "javaType": "MessagePriorityEnum",
34 "type": "string",
35 "additionalProperties": false,
36 "enum": [
37 "AlwaysFront",
38 "InFront",
39 "NormalCycle"
40 ]
41 },
42 "MessageStateEnumType": {
43 "description": "Message_ Info. State. Message_ State_ Code\r\nurn:x-enexis:ecdm:uid:1:569254\r\nDuring what state should this message be shown. When omitted this message should be shown in any state of the Charging Station.\r\n",
44 "javaType": "MessageStateEnum",
45 "type": "string",
46 "additionalProperties": false,
47 "enum": [
48 "Charging",
49 "Faulted",
50 "Idle",
51 "Unavailable"
52 ]
53 },
54 "ComponentType": {
55 "description": "A physical or logical component\r\n",
56 "javaType": "Component",
57 "type": "object",
58 "additionalProperties": false,
59 "properties": {
60 "customData": {
61 "$ref": "#/definitions/CustomDataType"
62 },
63 "evse": {
64 "$ref": "#/definitions/EVSEType"
65 },
66 "name": {
67 "description": "Name of the component. Name should be taken from the list of standardized component names whenever possible. Case Insensitive. strongly advised to use Camel Case.\r\n",
68 "type": "string",
69 "maxLength": 50
70 },
71 "instance": {
72 "description": "Name of instance in case the component exists as multiple instances. Case Insensitive. strongly advised to use Camel Case.\r\n",
73 "type": "string",
74 "maxLength": 50
75 }
76 },
77 "required": [
78 "name"
79 ]
80 },
81 "EVSEType": {
82 "description": "EVSE\r\nurn:x-oca:ocpp:uid:2:233123\r\nElectric Vehicle Supply Equipment\r\n",
83 "javaType": "EVSE",
84 "type": "object",
85 "additionalProperties": false,
86 "properties": {
87 "customData": {
88 "$ref": "#/definitions/CustomDataType"
89 },
90 "id": {
91 "description": "Identified_ Object. MRID. Numeric_ Identifier\r\nurn:x-enexis:ecdm:uid:1:569198\r\nEVSE Identifier. This contains a number (> 0) designating an EVSE of the Charging Station.\r\n",
92 "type": "integer"
93 },
94 "connectorId": {
95 "description": "An id to designate a specific connector (on an EVSE) by connector index number.\r\n",
96 "type": "integer"
97 }
98 },
99 "required": [
100 "id"
101 ]
102 },
103 "MessageContentType": {
104 "description": "Message_ Content\r\nurn:x-enexis:ecdm:uid:2:234490\r\nContains message details, for a message to be displayed on a Charging Station.\r\n\r\n",
105 "javaType": "MessageContent",
106 "type": "object",
107 "additionalProperties": false,
108 "properties": {
109 "customData": {
110 "$ref": "#/definitions/CustomDataType"
111 },
112 "format": {
113 "$ref": "#/definitions/MessageFormatEnumType"
114 },
115 "language": {
116 "description": "Message_ Content. Language. Language_ Code\r\nurn:x-enexis:ecdm:uid:1:570849\r\nMessage language identifier. Contains a language code as defined in <<ref-RFC5646,[RFC5646]>>.\r\n",
117 "type": "string",
118 "maxLength": 8
119 },
120 "content": {
121 "description": "Message_ Content. Content. Message\r\nurn:x-enexis:ecdm:uid:1:570852\r\nMessage contents.\r\n\r\n",
122 "type": "string",
123 "maxLength": 512
124 }
125 },
126 "required": [
127 "format",
128 "content"
129 ]
130 },
131 "MessageInfoType": {
132 "description": "Message_ Info\r\nurn:x-enexis:ecdm:uid:2:233264\r\nContains message details, for a message to be displayed on a Charging Station.\r\n",
133 "javaType": "MessageInfo",
134 "type": "object",
135 "additionalProperties": false,
136 "properties": {
137 "customData": {
138 "$ref": "#/definitions/CustomDataType"
139 },
140 "display": {
141 "$ref": "#/definitions/ComponentType"
142 },
143 "id": {
144 "description": "Identified_ Object. MRID. Numeric_ Identifier\r\nurn:x-enexis:ecdm:uid:1:569198\r\nMaster resource identifier, unique within an exchange context. It is defined within the OCPP context as a positive Integer value (greater or equal to zero).\r\n",
145 "type": "integer"
146 },
147 "priority": {
148 "$ref": "#/definitions/MessagePriorityEnumType"
149 },
150 "state": {
151 "$ref": "#/definitions/MessageStateEnumType"
152 },
153 "startDateTime": {
154 "description": "Message_ Info. Start. Date_ Time\r\nurn:x-enexis:ecdm:uid:1:569256\r\nFrom what date-time should this message be shown. If omitted: directly.\r\n",
155 "type": "string",
156 "format": "date-time"
157 },
158 "endDateTime": {
159 "description": "Message_ Info. End. Date_ Time\r\nurn:x-enexis:ecdm:uid:1:569257\r\nUntil what date-time should this message be shown, after this date/time this message SHALL be removed.\r\n",
160 "type": "string",
161 "format": "date-time"
162 },
163 "transactionId": {
164 "description": "During which transaction shall this message be shown.\r\nMessage SHALL be removed by the Charging Station after transaction has\r\nended.\r\n",
165 "type": "string",
166 "maxLength": 36
167 },
168 "message": {
169 "$ref": "#/definitions/MessageContentType"
170 }
171 },
172 "required": [
173 "id",
174 "priority",
175 "message"
176 ]
177 }
178 },
179 "type": "object",
180 "additionalProperties": false,
181 "properties": {
182 "customData": {
183 "$ref": "#/definitions/CustomDataType"
184 },
185 "message": {
186 "$ref": "#/definitions/MessageInfoType"
187 }
188 },
189 "required": [
190 "message"
191 ]
192 }