Debian Codegraph @

ocpp/v201/schemas/SendLocalListRequest.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 "AuthorizationStatusEnumType": {
20 "description": "ID_ Token. Status. Authorization_ Status\r\nurn:x-oca:ocpp:uid:1:569372\r\nCurrent status of the ID Token.\r\n",
21 "javaType": "AuthorizationStatusEnum",
22 "type": "string",
23 "additionalProperties": false,
24 "enum": [
25 "Accepted",
26 "Blocked",
27 "ConcurrentTx",
28 "Expired",
29 "Invalid",
30 "NoCredit",
31 "NotAllowedTypeEVSE",
32 "NotAtThisLocation",
33 "NotAtThisTime",
34 "Unknown"
35 ]
36 },
37 "IdTokenEnumType": {
38 "description": "Enumeration of possible idToken types.\r\n",
39 "javaType": "IdTokenEnum",
40 "type": "string",
41 "additionalProperties": false,
42 "enum": [
43 "Central",
44 "eMAID",
45 "ISO14443",
46 "ISO15693",
47 "KeyCode",
48 "Local",
49 "MacAddress",
50 "NoAuthorization"
51 ]
52 },
53 "MessageFormatEnumType": {
54 "description": "Message_ Content. Format. Message_ Format_ Code\r\nurn:x-enexis:ecdm:uid:1:570848\r\nFormat of the message.\r\n",
55 "javaType": "MessageFormatEnum",
56 "type": "string",
57 "additionalProperties": false,
58 "enum": [
59 "ASCII",
60 "HTML",
61 "URI",
62 "UTF8"
63 ]
64 },
65 "UpdateEnumType": {
66 "description": "This contains the type of update (full or differential) of this request.\r\n",
67 "javaType": "UpdateEnum",
68 "type": "string",
69 "additionalProperties": false,
70 "enum": [
71 "Differential",
72 "Full"
73 ]
74 },
75 "AdditionalInfoType": {
76 "description": "Contains a case insensitive identifier to use for the authorization and the type of authorization to support multiple forms of identifiers.\r\n",
77 "javaType": "AdditionalInfo",
78 "type": "object",
79 "additionalProperties": false,
80 "properties": {
81 "customData": {
82 "$ref": "#/definitions/CustomDataType"
83 },
84 "additionalIdToken": {
85 "description": "This field specifies the additional IdToken.\r\n",
86 "type": "string",
87 "maxLength": 36
88 },
89 "type": {
90 "description": "This defines the type of the additionalIdToken. This is a custom type, so the implementation needs to be agreed upon by all involved parties.\r\n",
91 "type": "string",
92 "maxLength": 50
93 }
94 },
95 "required": [
96 "additionalIdToken",
97 "type"
98 ]
99 },
100 "AuthorizationData": {
101 "description": "Contains the identifier to use for authorization.\r\n",
102 "javaType": "AuthorizationData",
103 "type": "object",
104 "additionalProperties": false,
105 "properties": {
106 "customData": {
107 "$ref": "#/definitions/CustomDataType"
108 },
109 "idToken": {
110 "$ref": "#/definitions/IdTokenType"
111 },
112 "idTokenInfo": {
113 "$ref": "#/definitions/IdTokenInfoType"
114 }
115 },
116 "required": [
117 "idToken"
118 ]
119 },
120 "IdTokenInfoType": {
121 "description": "ID_ Token\r\nurn:x-oca:ocpp:uid:2:233247\r\nContains status information about an identifier.\r\nIt is advised to not stop charging for a token that expires during charging, as ExpiryDate is only used for caching purposes. If ExpiryDate is not given, the status has no end date.\r\n",
122 "javaType": "IdTokenInfo",
123 "type": "object",
124 "additionalProperties": false,
125 "properties": {
126 "customData": {
127 "$ref": "#/definitions/CustomDataType"
128 },
129 "status": {
130 "$ref": "#/definitions/AuthorizationStatusEnumType"
131 },
132 "cacheExpiryDateTime": {
133 "description": "ID_ Token. Expiry. Date_ Time\r\nurn:x-oca:ocpp:uid:1:569373\r\nDate and Time after which the token must be considered invalid.\r\n",
134 "type": "string",
135 "format": "date-time"
136 },
137 "chargingPriority": {
138 "description": "Priority from a business point of view. Default priority is 0, The range is from -9 to 9. Higher values indicate a higher priority. The chargingPriority in <<transactioneventresponse,TransactionEventResponse>> overrules this one. \r\n",
139 "type": "integer"
140 },
141 "language1": {
142 "description": "ID_ Token. Language1. Language_ Code\r\nurn:x-oca:ocpp:uid:1:569374\r\nPreferred user interface language of identifier user. Contains a language code as defined in <<ref-RFC5646,[RFC5646]>>.\r\n\r\n",
143 "type": "string",
144 "maxLength": 8
145 },
146 "evseId": {
147 "description": "Only used when the IdToken is only valid for one or more specific EVSEs, not for the entire Charging Station.\r\n\r\n",
148 "type": "array",
149 "additionalItems": false,
150 "items": {
151 "type": "integer"
152 },
153 "minItems": 1
154 },
155 "groupIdToken": {
156 "$ref": "#/definitions/IdTokenType"
157 },
158 "language2": {
159 "description": "ID_ Token. Language2. Language_ Code\r\nurn:x-oca:ocpp:uid:1:569375\r\nSecond preferred user interface language of identifier user. Don’t use when language1 is omitted, has to be different from language1. Contains a language code as defined in <<ref-RFC5646,[RFC5646]>>.\r\n",
160 "type": "string",
161 "maxLength": 8
162 },
163 "personalMessage": {
164 "$ref": "#/definitions/MessageContentType"
165 }
166 },
167 "required": [
168 "status"
169 ]
170 },
171 "IdTokenType": {
172 "description": "Contains a case insensitive identifier to use for the authorization and the type of authorization to support multiple forms of identifiers.\r\n",
173 "javaType": "IdToken",
174 "type": "object",
175 "additionalProperties": false,
176 "properties": {
177 "customData": {
178 "$ref": "#/definitions/CustomDataType"
179 },
180 "additionalInfo": {
181 "type": "array",
182 "additionalItems": false,
183 "items": {
184 "$ref": "#/definitions/AdditionalInfoType"
185 },
186 "minItems": 1
187 },
188 "idToken": {
189 "description": "IdToken is case insensitive. Might hold the hidden id of an RFID tag, but can for example also contain a UUID.\r\n",
190 "type": "string",
191 "maxLength": 36
192 },
193 "type": {
194 "$ref": "#/definitions/IdTokenEnumType"
195 }
196 },
197 "required": [
198 "idToken",
199 "type"
200 ]
201 },
202 "MessageContentType": {
203 "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",
204 "javaType": "MessageContent",
205 "type": "object",
206 "additionalProperties": false,
207 "properties": {
208 "customData": {
209 "$ref": "#/definitions/CustomDataType"
210 },
211 "format": {
212 "$ref": "#/definitions/MessageFormatEnumType"
213 },
214 "language": {
215 "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",
216 "type": "string",
217 "maxLength": 8
218 },
219 "content": {
220 "description": "Message_ Content. Content. Message\r\nurn:x-enexis:ecdm:uid:1:570852\r\nMessage contents.\r\n\r\n",
221 "type": "string",
222 "maxLength": 512
223 }
224 },
225 "required": [
226 "format",
227 "content"
228 ]
229 }
230 },
231 "type": "object",
232 "additionalProperties": false,
233 "properties": {
234 "customData": {
235 "$ref": "#/definitions/CustomDataType"
236 },
237 "localAuthorizationList": {
238 "type": "array",
239 "additionalItems": false,
240 "items": {
241 "$ref": "#/definitions/AuthorizationData"
242 },
243 "minItems": 1
244 },
245 "versionNumber": {
246 "description": "In case of a full update this is the version number of the full list. In case of a differential update it is the version number of the list after the update has been applied.\r\n",
247 "type": "integer"
248 },
249 "updateType": {
250 "$ref": "#/definitions/UpdateEnumType"
251 }
252 },
253 "required": [
254 "versionNumber",
255 "updateType"
256 ]
257 }