Debian Codegraph @

ocpp/v201/schemas/BootNotificationResponse.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 "RegistrationStatusEnumType": {
20 "description": "This contains whether the Charging Station has been registered\r\nwithin the CSMS.\r\n",
21 "javaType": "RegistrationStatusEnum",
22 "type": "string",
23 "additionalProperties": false,
24 "enum": [
25 "Accepted",
26 "Pending",
27 "Rejected"
28 ]
29 },
30 "StatusInfoType": {
31 "description": "Element providing more information about the status.\r\n",
32 "javaType": "StatusInfo",
33 "type": "object",
34 "additionalProperties": false,
35 "properties": {
36 "customData": {
37 "$ref": "#/definitions/CustomDataType"
38 },
39 "reasonCode": {
40 "description": "A predefined code for the reason why the status is returned in this response. The string is case-insensitive.\r\n",
41 "type": "string",
42 "maxLength": 20
43 },
44 "additionalInfo": {
45 "description": "Additional text to provide detailed information.\r\n",
46 "type": "string",
47 "maxLength": 512
48 }
49 },
50 "required": [
51 "reasonCode"
52 ]
53 }
54 },
55 "type": "object",
56 "additionalProperties": false,
57 "properties": {
58 "customData": {
59 "$ref": "#/definitions/CustomDataType"
60 },
61 "currentTime": {
62 "description": "This contains the CSMS’s current time.\r\n",
63 "type": "string",
64 "format": "date-time"
65 },
66 "interval": {
67 "description": "When <<cmn_registrationstatusenumtype,Status>> is Accepted, this contains the heartbeat interval in seconds. If the CSMS returns something other than Accepted, the value of the interval field indicates the minimum wait time before sending a next BootNotification request.\r\n",
68 "type": "integer"
69 },
70 "status": {
71 "$ref": "#/definitions/RegistrationStatusEnumType"
72 },
73 "statusInfo": {
74 "$ref": "#/definitions/StatusInfoType"
75 }
76 },
77 "required": [
78 "currentTime",
79 "interval",
80 "status"
81 ]
82 }