Debian Codegraph @

ocpp/v201/schemas/BootNotificationRequest.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 "BootReasonEnumType": {
20 "description": "This contains the reason for sending this message to the CSMS.\r\n",
21 "javaType": "BootReasonEnum",
22 "type": "string",
23 "additionalProperties": false,
24 "enum": [
25 "ApplicationReset",
26 "FirmwareUpdate",
27 "LocalReset",
28 "PowerUp",
29 "RemoteReset",
30 "ScheduledReset",
31 "Triggered",
32 "Unknown",
33 "Watchdog"
34 ]
35 },
36 "ChargingStationType": {
37 "description": "Charge_ Point\r\nurn:x-oca:ocpp:uid:2:233122\r\nThe physical system where an Electrical Vehicle (EV) can be charged.\r\n",
38 "javaType": "ChargingStation",
39 "type": "object",
40 "additionalProperties": false,
41 "properties": {
42 "customData": {
43 "$ref": "#/definitions/CustomDataType"
44 },
45 "serialNumber": {
46 "description": "Device. Serial_ Number. Serial_ Number\r\nurn:x-oca:ocpp:uid:1:569324\r\nVendor-specific device identifier.\r\n",
47 "type": "string",
48 "maxLength": 25
49 },
50 "model": {
51 "description": "Device. Model. CI20_ Text\r\nurn:x-oca:ocpp:uid:1:569325\r\nDefines the model of the device.\r\n",
52 "type": "string",
53 "maxLength": 20
54 },
55 "modem": {
56 "$ref": "#/definitions/ModemType"
57 },
58 "vendorName": {
59 "description": "Identifies the vendor (not necessarily in a unique manner).\r\n",
60 "type": "string",
61 "maxLength": 50
62 },
63 "firmwareVersion": {
64 "description": "This contains the firmware version of the Charging Station.\r\n\r\n",
65 "type": "string",
66 "maxLength": 50
67 }
68 },
69 "required": [
70 "model",
71 "vendorName"
72 ]
73 },
74 "ModemType": {
75 "description": "Wireless_ Communication_ Module\r\nurn:x-oca:ocpp:uid:2:233306\r\nDefines parameters required for initiating and maintaining wireless communication with other devices.\r\n",
76 "javaType": "Modem",
77 "type": "object",
78 "additionalProperties": false,
79 "properties": {
80 "customData": {
81 "$ref": "#/definitions/CustomDataType"
82 },
83 "iccid": {
84 "description": "Wireless_ Communication_ Module. ICCID. CI20_ Text\r\nurn:x-oca:ocpp:uid:1:569327\r\nThis contains the ICCID of the modem’s SIM card.\r\n",
85 "type": "string",
86 "maxLength": 20
87 },
88 "imsi": {
89 "description": "Wireless_ Communication_ Module. IMSI. CI20_ Text\r\nurn:x-oca:ocpp:uid:1:569328\r\nThis contains the IMSI of the modem’s SIM card.\r\n",
90 "type": "string",
91 "maxLength": 20
92 }
93 }
94 }
95 },
96 "type": "object",
97 "additionalProperties": false,
98 "properties": {
99 "customData": {
100 "$ref": "#/definitions/CustomDataType"
101 },
102 "chargingStation": {
103 "$ref": "#/definitions/ChargingStationType"
104 },
105 "reason": {
106 "$ref": "#/definitions/BootReasonEnumType"
107 }
108 },
109 "required": [
110 "reason",
111 "chargingStation"
112 ]
113 }