Debian Codegraph @

ocpp/v201/schemas/SetNetworkProfileRequest.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 "APNAuthenticationEnumType": {
20 "description": "APN. APN_ Authentication. APN_ Authentication_ Code\r\nurn:x-oca:ocpp:uid:1:568828\r\nAuthentication method.\r\n",
21 "javaType": "APNAuthenticationEnum",
22 "type": "string",
23 "additionalProperties": false,
24 "enum": [
25 "CHAP",
26 "NONE",
27 "PAP",
28 "AUTO"
29 ]
30 },
31 "OCPPInterfaceEnumType": {
32 "description": "Applicable Network Interface.\r\n",
33 "javaType": "OCPPInterfaceEnum",
34 "type": "string",
35 "additionalProperties": false,
36 "enum": [
37 "Wired0",
38 "Wired1",
39 "Wired2",
40 "Wired3",
41 "Wireless0",
42 "Wireless1",
43 "Wireless2",
44 "Wireless3"
45 ]
46 },
47 "OCPPTransportEnumType": {
48 "description": "Communication_ Function. OCPP_ Transport. OCPP_ Transport_ Code\r\nurn:x-oca:ocpp:uid:1:569356\r\nDefines the transport protocol (e.g. SOAP or JSON). Note: SOAP is not supported in OCPP 2.0, but is supported by other versions of OCPP.\r\n",
49 "javaType": "OCPPTransportEnum",
50 "type": "string",
51 "additionalProperties": false,
52 "enum": [
53 "JSON",
54 "SOAP"
55 ]
56 },
57 "OCPPVersionEnumType": {
58 "description": "Communication_ Function. OCPP_ Version. OCPP_ Version_ Code\r\nurn:x-oca:ocpp:uid:1:569355\r\nDefines the OCPP version used for this communication function.\r\n",
59 "javaType": "OCPPVersionEnum",
60 "type": "string",
61 "additionalProperties": false,
62 "enum": [
63 "OCPP12",
64 "OCPP15",
65 "OCPP16",
66 "OCPP20"
67 ]
68 },
69 "VPNEnumType": {
70 "description": "VPN. Type. VPN_ Code\r\nurn:x-oca:ocpp:uid:1:569277\r\nType of VPN\r\n",
71 "javaType": "VPNEnum",
72 "type": "string",
73 "additionalProperties": false,
74 "enum": [
75 "IKEv2",
76 "IPSec",
77 "L2TP",
78 "PPTP"
79 ]
80 },
81 "APNType": {
82 "description": "APN\r\nurn:x-oca:ocpp:uid:2:233134\r\nCollection of configuration data needed to make a data-connection over a cellular network.\r\n\r\nNOTE: When asking a GSM modem to dial in, it is possible to specify which mobile operator should be used. This can be done with the mobile country code (MCC) in combination with a mobile network code (MNC). Example: If your preferred network is Vodafone Netherlands, the MCC=204 and the MNC=04 which means the key PreferredNetwork = 20404 Some modems allows to specify a preferred network, which means, if this network is not available, a different network is used. If you specify UseOnlyPreferredNetwork and this network is not available, the modem will not dial in.\r\n",
83 "javaType": "APN",
84 "type": "object",
85 "additionalProperties": false,
86 "properties": {
87 "customData": {
88 "$ref": "#/definitions/CustomDataType"
89 },
90 "apn": {
91 "description": "APN. APN. URI\r\nurn:x-oca:ocpp:uid:1:568814\r\nThe Access Point Name as an URL.\r\n",
92 "type": "string",
93 "maxLength": 512
94 },
95 "apnUserName": {
96 "description": "APN. APN. User_ Name\r\nurn:x-oca:ocpp:uid:1:568818\r\nAPN username.\r\n",
97 "type": "string",
98 "maxLength": 20
99 },
100 "apnPassword": {
101 "description": "APN. APN. Password\r\nurn:x-oca:ocpp:uid:1:568819\r\nAPN Password.\r\n",
102 "type": "string",
103 "maxLength": 20
104 },
105 "simPin": {
106 "description": "APN. SIMPIN. PIN_ Code\r\nurn:x-oca:ocpp:uid:1:568821\r\nSIM card pin code.\r\n",
107 "type": "integer"
108 },
109 "preferredNetwork": {
110 "description": "APN. Preferred_ Network. Mobile_ Network_ ID\r\nurn:x-oca:ocpp:uid:1:568822\r\nPreferred network, written as MCC and MNC concatenated. See note.\r\n",
111 "type": "string",
112 "maxLength": 6
113 },
114 "useOnlyPreferredNetwork": {
115 "description": "APN. Use_ Only_ Preferred_ Network. Indicator\r\nurn:x-oca:ocpp:uid:1:568824\r\nDefault: false. Use only the preferred Network, do\r\nnot dial in when not available. See Note.\r\n",
116 "type": "boolean",
117 "default": false
118 },
119 "apnAuthentication": {
120 "$ref": "#/definitions/APNAuthenticationEnumType"
121 }
122 },
123 "required": [
124 "apn",
125 "apnAuthentication"
126 ]
127 },
128 "NetworkConnectionProfileType": {
129 "description": "Communication_ Function\r\nurn:x-oca:ocpp:uid:2:233304\r\nThe NetworkConnectionProfile defines the functional and technical parameters of a communication link.\r\n",
130 "javaType": "NetworkConnectionProfile",
131 "type": "object",
132 "additionalProperties": false,
133 "properties": {
134 "customData": {
135 "$ref": "#/definitions/CustomDataType"
136 },
137 "apn": {
138 "$ref": "#/definitions/APNType"
139 },
140 "ocppVersion": {
141 "$ref": "#/definitions/OCPPVersionEnumType"
142 },
143 "ocppTransport": {
144 "$ref": "#/definitions/OCPPTransportEnumType"
145 },
146 "ocppCsmsUrl": {
147 "description": "Communication_ Function. OCPP_ Central_ System_ URL. URI\r\nurn:x-oca:ocpp:uid:1:569357\r\nURL of the CSMS(s) that this Charging Station communicates with.\r\n",
148 "type": "string",
149 "maxLength": 512
150 },
151 "messageTimeout": {
152 "description": "Duration in seconds before a message send by the Charging Station via this network connection times-out.\r\nThe best setting depends on the underlying network and response times of the CSMS.\r\nIf you are looking for a some guideline: use 30 seconds as a starting point.\r\n",
153 "type": "integer"
154 },
155 "securityProfile": {
156 "description": "This field specifies the security profile used when connecting to the CSMS with this NetworkConnectionProfile.\r\n",
157 "type": "integer"
158 },
159 "ocppInterface": {
160 "$ref": "#/definitions/OCPPInterfaceEnumType"
161 },
162 "vpn": {
163 "$ref": "#/definitions/VPNType"
164 }
165 },
166 "required": [
167 "ocppVersion",
168 "ocppTransport",
169 "ocppCsmsUrl",
170 "messageTimeout",
171 "securityProfile",
172 "ocppInterface"
173 ]
174 },
175 "VPNType": {
176 "description": "VPN\r\nurn:x-oca:ocpp:uid:2:233268\r\nVPN Configuration settings\r\n",
177 "javaType": "VPN",
178 "type": "object",
179 "additionalProperties": false,
180 "properties": {
181 "customData": {
182 "$ref": "#/definitions/CustomDataType"
183 },
184 "server": {
185 "description": "VPN. Server. URI\r\nurn:x-oca:ocpp:uid:1:569272\r\nVPN Server Address\r\n",
186 "type": "string",
187 "maxLength": 512
188 },
189 "user": {
190 "description": "VPN. User. User_ Name\r\nurn:x-oca:ocpp:uid:1:569273\r\nVPN User\r\n",
191 "type": "string",
192 "maxLength": 20
193 },
194 "group": {
195 "description": "VPN. Group. Group_ Name\r\nurn:x-oca:ocpp:uid:1:569274\r\nVPN group.\r\n",
196 "type": "string",
197 "maxLength": 20
198 },
199 "password": {
200 "description": "VPN. Password. Password\r\nurn:x-oca:ocpp:uid:1:569275\r\nVPN Password.\r\n",
201 "type": "string",
202 "maxLength": 20
203 },
204 "key": {
205 "description": "VPN. Key. VPN_ Key\r\nurn:x-oca:ocpp:uid:1:569276\r\nVPN shared secret.\r\n",
206 "type": "string",
207 "maxLength": 255
208 },
209 "type": {
210 "$ref": "#/definitions/VPNEnumType"
211 }
212 },
213 "required": [
214 "server",
215 "user",
216 "password",
217 "key",
218 "type"
219 ]
220 }
221 },
222 "type": "object",
223 "additionalProperties": false,
224 "properties": {
225 "customData": {
226 "$ref": "#/definitions/CustomDataType"
227 },
228 "configurationSlot": {
229 "description": "Slot in which the configuration should be stored.\r\n",
230 "type": "integer"
231 },
232 "connectionData": {
233 "$ref": "#/definitions/NetworkConnectionProfileType"
234 }
235 },
236 "required": [
237 "configurationSlot",
238 "connectionData"
239 ]
240 }