kirby-ocpp 0.1.2 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (122) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +192 -88
  3. package/THIRD_PARTY_NOTICES.md +6 -2
  4. package/bin/kirby-ocpp.js +77 -0
  5. package/package.json +23 -44
  6. package/dist/cli.d.ts +0 -2
  7. package/dist/cli.js +0 -72
  8. package/dist/config.d.ts +0 -2
  9. package/dist/config.js +0 -53
  10. package/dist/ocpp/client.d.ts +0 -59
  11. package/dist/ocpp/client.js +0 -299
  12. package/dist/ocpp/schema-validator.d.ts +0 -15
  13. package/dist/ocpp/schema-validator.js +0 -75
  14. package/dist/ocpp/schemas/json/Authorize.json +0 -16
  15. package/dist/ocpp/schemas/json/AuthorizeResponse.json +0 -40
  16. package/dist/ocpp/schemas/json/BootNotification.json +0 -49
  17. package/dist/ocpp/schemas/json/BootNotificationResponse.json +0 -30
  18. package/dist/ocpp/schemas/json/CancelReservation.json +0 -15
  19. package/dist/ocpp/schemas/json/CancelReservationResponse.json +0 -20
  20. package/dist/ocpp/schemas/json/ChangeAvailability.json +0 -24
  21. package/dist/ocpp/schemas/json/ChangeAvailabilityResponse.json +0 -21
  22. package/dist/ocpp/schemas/json/ChangeConfiguration.json +0 -21
  23. package/dist/ocpp/schemas/json/ChangeConfigurationResponse.json +0 -22
  24. package/dist/ocpp/schemas/json/ClearCache.json +0 -8
  25. package/dist/ocpp/schemas/json/ClearCacheResponse.json +0 -20
  26. package/dist/ocpp/schemas/json/ClearChargingProfile.json +0 -27
  27. package/dist/ocpp/schemas/json/ClearChargingProfileResponse.json +0 -20
  28. package/dist/ocpp/schemas/json/DataTransfer.json +0 -23
  29. package/dist/ocpp/schemas/json/DataTransferResponse.json +0 -25
  30. package/dist/ocpp/schemas/json/DiagnosticsStatusNotification.json +0 -22
  31. package/dist/ocpp/schemas/json/DiagnosticsStatusNotificationResponse.json +0 -8
  32. package/dist/ocpp/schemas/json/FirmwareStatusNotification.json +0 -25
  33. package/dist/ocpp/schemas/json/FirmwareStatusNotificationResponse.json +0 -8
  34. package/dist/ocpp/schemas/json/GetCompositeSchedule.json +0 -27
  35. package/dist/ocpp/schemas/json/GetCompositeScheduleResponse.json +0 -79
  36. package/dist/ocpp/schemas/json/GetConfiguration.json +0 -16
  37. package/dist/ocpp/schemas/json/GetConfigurationResponse.json +0 -40
  38. package/dist/ocpp/schemas/json/GetDiagnostics.json +0 -30
  39. package/dist/ocpp/schemas/json/GetDiagnosticsResponse.json +0 -13
  40. package/dist/ocpp/schemas/json/GetLocalListVersion.json +0 -8
  41. package/dist/ocpp/schemas/json/GetLocalListVersionResponse.json +0 -15
  42. package/dist/ocpp/schemas/json/Heartbeat.json +0 -8
  43. package/dist/ocpp/schemas/json/HeartbeatResponse.json +0 -16
  44. package/dist/ocpp/schemas/json/MeterValues.json +0 -151
  45. package/dist/ocpp/schemas/json/MeterValuesResponse.json +0 -8
  46. package/dist/ocpp/schemas/json/RemoteStartTransaction.json +0 -127
  47. package/dist/ocpp/schemas/json/RemoteStartTransactionResponse.json +0 -20
  48. package/dist/ocpp/schemas/json/RemoteStopTransaction.json +0 -15
  49. package/dist/ocpp/schemas/json/RemoteStopTransactionResponse.json +0 -20
  50. package/dist/ocpp/schemas/json/ReserveNow.json +0 -33
  51. package/dist/ocpp/schemas/json/ReserveNowResponse.json +0 -23
  52. package/dist/ocpp/schemas/json/Reset.json +0 -20
  53. package/dist/ocpp/schemas/json/ResetResponse.json +0 -20
  54. package/dist/ocpp/schemas/json/SendLocalList.json +0 -68
  55. package/dist/ocpp/schemas/json/SendLocalListResponse.json +0 -22
  56. package/dist/ocpp/schemas/json/SetChargingProfile.json +0 -124
  57. package/dist/ocpp/schemas/json/SetChargingProfileResponse.json +0 -21
  58. package/dist/ocpp/schemas/json/StartTransaction.json +0 -32
  59. package/dist/ocpp/schemas/json/StartTransactionResponse.json +0 -44
  60. package/dist/ocpp/schemas/json/StatusNotification.json +0 -70
  61. package/dist/ocpp/schemas/json/StatusNotificationResponse.json +0 -8
  62. package/dist/ocpp/schemas/json/StopTransaction.json +0 -177
  63. package/dist/ocpp/schemas/json/StopTransactionResponse.json +0 -37
  64. package/dist/ocpp/schemas/json/TriggerMessage.json +0 -27
  65. package/dist/ocpp/schemas/json/TriggerMessageResponse.json +0 -21
  66. package/dist/ocpp/schemas/json/UnlockConnector.json +0 -15
  67. package/dist/ocpp/schemas/json/UnlockConnectorResponse.json +0 -21
  68. package/dist/ocpp/schemas/json/UpdateFirmware.json +0 -27
  69. package/dist/ocpp/schemas/json/UpdateFirmwareResponse.json +0 -8
  70. package/dist/ocpp/types.d.ts +0 -106
  71. package/dist/ocpp/types.js +0 -1
  72. package/dist/station/authorization.d.ts +0 -20
  73. package/dist/station/authorization.js +0 -78
  74. package/dist/station/charging-profile-registry.d.ts +0 -18
  75. package/dist/station/charging-profile-registry.js +0 -125
  76. package/dist/station/configuration-commands.d.ts +0 -11
  77. package/dist/station/configuration-commands.js +0 -29
  78. package/dist/station/configuration-registry.d.ts +0 -13
  79. package/dist/station/configuration-registry.js +0 -39
  80. package/dist/station/configuration.d.ts +0 -7
  81. package/dist/station/configuration.js +0 -88
  82. package/dist/station/connector-registry.d.ts +0 -25
  83. package/dist/station/connector-registry.js +0 -89
  84. package/dist/station/connector-status.d.ts +0 -7
  85. package/dist/station/connector-status.js +0 -66
  86. package/dist/station/local-auth-list.d.ts +0 -8
  87. package/dist/station/local-auth-list.js +0 -31
  88. package/dist/station/maintenance-lifecycle.d.ts +0 -25
  89. package/dist/station/maintenance-lifecycle.js +0 -110
  90. package/dist/station/meter-value-scheduler.d.ts +0 -21
  91. package/dist/station/meter-value-scheduler.js +0 -78
  92. package/dist/station/metering.d.ts +0 -15
  93. package/dist/station/metering.js +0 -138
  94. package/dist/station/ocpp-message.d.ts +0 -2
  95. package/dist/station/ocpp-message.js +0 -9
  96. package/dist/station/offline-transaction-sync.d.ts +0 -29
  97. package/dist/station/offline-transaction-sync.js +0 -99
  98. package/dist/station/payload.d.ts +0 -4
  99. package/dist/station/payload.js +0 -12
  100. package/dist/station/persistence.d.ts +0 -28
  101. package/dist/station/persistence.js +0 -206
  102. package/dist/station/reservation-rules.d.ts +0 -3
  103. package/dist/station/reservation-rules.js +0 -18
  104. package/dist/station/reservation-scheduler.d.ts +0 -11
  105. package/dist/station/reservation-scheduler.js +0 -33
  106. package/dist/station/smart-charging.d.ts +0 -45
  107. package/dist/station/smart-charging.js +0 -251
  108. package/dist/station/status-scheduler.d.ts +0 -16
  109. package/dist/station/status-scheduler.js +0 -58
  110. package/dist/station/transaction-message-retry.d.ts +0 -3
  111. package/dist/station/transaction-message-retry.js +0 -7
  112. package/dist/station/transaction-rules.d.ts +0 -7
  113. package/dist/station/transaction-rules.js +0 -34
  114. package/dist/station/trigger-message.d.ts +0 -2
  115. package/dist/station/trigger-message.js +0 -11
  116. package/dist/station-store.d.ts +0 -41
  117. package/dist/station-store.js +0 -104
  118. package/dist/station.d.ts +0 -113
  119. package/dist/station.js +0 -1204
  120. package/dist/tui.d.ts +0 -96
  121. package/dist/tui.js +0 -1656
  122. package/docs/OCPP_1.6J_CONFORMANCE.md +0 -61
@@ -1,151 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-04/schema#",
3
- "id": "urn:OCPP:1.6:2019:12:MeterValuesRequest",
4
- "title": "MeterValuesRequest",
5
- "type": "object",
6
- "properties": {
7
- "connectorId": {
8
- "type": "integer"
9
- },
10
- "transactionId": {
11
- "type": "integer"
12
- },
13
- "meterValue": {
14
- "type": "array",
15
- "items": {
16
- "type": "object",
17
- "properties": {
18
- "timestamp": {
19
- "type": "string",
20
- "format": "date-time"
21
- },
22
- "sampledValue": {
23
- "type": "array",
24
- "items": {
25
- "type": "object",
26
- "properties": {
27
- "value": {
28
- "type": "string"
29
- },
30
- "context": {
31
- "type": "string",
32
- "additionalProperties": false,
33
- "enum": [
34
- "Interruption.Begin",
35
- "Interruption.End",
36
- "Sample.Clock",
37
- "Sample.Periodic",
38
- "Transaction.Begin",
39
- "Transaction.End",
40
- "Trigger",
41
- "Other"
42
- ]
43
- },
44
- "format": {
45
- "type": "string",
46
- "additionalProperties": false,
47
- "enum": [
48
- "Raw",
49
- "SignedData"
50
- ]
51
- },
52
- "measurand": {
53
- "type": "string",
54
- "additionalProperties": false,
55
- "enum": [
56
- "Energy.Active.Export.Register",
57
- "Energy.Active.Import.Register",
58
- "Energy.Reactive.Export.Register",
59
- "Energy.Reactive.Import.Register",
60
- "Energy.Active.Export.Interval",
61
- "Energy.Active.Import.Interval",
62
- "Energy.Reactive.Export.Interval",
63
- "Energy.Reactive.Import.Interval",
64
- "Power.Active.Export",
65
- "Power.Active.Import",
66
- "Power.Offered",
67
- "Power.Reactive.Export",
68
- "Power.Reactive.Import",
69
- "Power.Factor",
70
- "Current.Import",
71
- "Current.Export",
72
- "Current.Offered",
73
- "Voltage",
74
- "Frequency",
75
- "Temperature",
76
- "SoC",
77
- "RPM"
78
- ]
79
- },
80
- "phase": {
81
- "type": "string",
82
- "additionalProperties": false,
83
- "enum": [
84
- "L1",
85
- "L2",
86
- "L3",
87
- "N",
88
- "L1-N",
89
- "L2-N",
90
- "L3-N",
91
- "L1-L2",
92
- "L2-L3",
93
- "L3-L1"
94
- ]
95
- },
96
- "location": {
97
- "type": "string",
98
- "additionalProperties": false,
99
- "enum": [
100
- "Cable",
101
- "EV",
102
- "Inlet",
103
- "Outlet",
104
- "Body"
105
- ]
106
- },
107
- "unit": {
108
- "type": "string",
109
- "additionalProperties": false,
110
- "enum": [
111
- "Wh",
112
- "kWh",
113
- "varh",
114
- "kvarh",
115
- "W",
116
- "kW",
117
- "VA",
118
- "kVA",
119
- "var",
120
- "kvar",
121
- "A",
122
- "V",
123
- "K",
124
- "Celcius",
125
- "Celsius",
126
- "Fahrenheit",
127
- "Percent"
128
- ]
129
- }
130
- },
131
- "additionalProperties": false,
132
- "required": [
133
- "value"
134
- ]
135
- }
136
- }
137
- },
138
- "additionalProperties": false,
139
- "required": [
140
- "timestamp",
141
- "sampledValue"
142
- ]
143
- }
144
- }
145
- },
146
- "additionalProperties": false,
147
- "required": [
148
- "connectorId",
149
- "meterValue"
150
- ]
151
- }
@@ -1,8 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-04/schema#",
3
- "id": "urn:OCPP:1.6:2019:12:MeterValuesResponse",
4
- "title": "MeterValuesResponse",
5
- "type": "object",
6
- "properties": {},
7
- "additionalProperties": false
8
- }
@@ -1,127 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-04/schema#",
3
- "id": "urn:OCPP:1.6:2019:12:RemoteStartTransactionRequest",
4
- "title": "RemoteStartTransactionRequest",
5
- "type": "object",
6
- "properties": {
7
- "connectorId": {
8
- "type": "integer"
9
- },
10
- "idTag": {
11
- "type": "string",
12
- "maxLength": 20
13
- },
14
- "chargingProfile": {
15
- "type": "object",
16
- "properties": {
17
- "chargingProfileId": {
18
- "type": "integer"
19
- },
20
- "transactionId": {
21
- "type": "integer"
22
- },
23
- "stackLevel": {
24
- "type": "integer"
25
- },
26
- "chargingProfilePurpose": {
27
- "type": "string",
28
- "additionalProperties": false,
29
- "enum": [
30
- "ChargePointMaxProfile",
31
- "TxDefaultProfile",
32
- "TxProfile"
33
- ]
34
- },
35
- "chargingProfileKind": {
36
- "type": "string",
37
- "additionalProperties": false,
38
- "enum": [
39
- "Absolute",
40
- "Recurring",
41
- "Relative"
42
- ]
43
- },
44
- "recurrencyKind": {
45
- "type": "string",
46
- "additionalProperties": false,
47
- "enum": [
48
- "Daily",
49
- "Weekly"
50
- ]
51
- },
52
- "validFrom": {
53
- "type": "string",
54
- "format": "date-time"
55
- },
56
- "validTo": {
57
- "type": "string",
58
- "format": "date-time"
59
- },
60
- "chargingSchedule": {
61
- "type": "object",
62
- "properties": {
63
- "duration": {
64
- "type": "integer"
65
- },
66
- "startSchedule": {
67
- "type": "string",
68
- "format": "date-time"
69
- },
70
- "chargingRateUnit": {
71
- "type": "string",
72
- "additionalProperties": false,
73
- "enum": [
74
- "A",
75
- "W"
76
- ]
77
- },
78
- "chargingSchedulePeriod": {
79
- "type": "array",
80
- "items": {
81
- "type": "object",
82
- "properties": {
83
- "startPeriod": {
84
- "type": "integer"
85
- },
86
- "limit": {
87
- "type": "number",
88
- "multipleOf" : 0.1
89
- },
90
- "numberPhases": {
91
- "type": "integer"
92
- }
93
- },
94
- "additionalProperties": false,
95
- "required": [
96
- "startPeriod",
97
- "limit"
98
- ]
99
- }
100
- },
101
- "minChargingRate": {
102
- "type": "number",
103
- "multipleOf" : 0.1
104
- }
105
- },
106
- "additionalProperties": false,
107
- "required": [
108
- "chargingRateUnit",
109
- "chargingSchedulePeriod"
110
- ]
111
- }
112
- },
113
- "additionalProperties": false,
114
- "required": [
115
- "chargingProfileId",
116
- "stackLevel",
117
- "chargingProfilePurpose",
118
- "chargingProfileKind",
119
- "chargingSchedule"
120
- ]
121
- }
122
- },
123
- "additionalProperties": false,
124
- "required": [
125
- "idTag"
126
- ]
127
- }
@@ -1,20 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-04/schema#",
3
- "id": "urn:OCPP:1.6:2019:12:RemoteStartTransactionResponse",
4
- "title": "RemoteStartTransactionResponse",
5
- "type": "object",
6
- "properties": {
7
- "status": {
8
- "type": "string",
9
- "additionalProperties": false,
10
- "enum": [
11
- "Accepted",
12
- "Rejected"
13
- ]
14
- }
15
- },
16
- "additionalProperties": false,
17
- "required": [
18
- "status"
19
- ]
20
- }
@@ -1,15 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-04/schema#",
3
- "id": "urn:OCPP:1.6:2019:12:RemoteStopTransactionRequest",
4
- "title": "RemoteStopTransactionRequest",
5
- "type": "object",
6
- "properties": {
7
- "transactionId": {
8
- "type": "integer"
9
- }
10
- },
11
- "additionalProperties": false,
12
- "required": [
13
- "transactionId"
14
- ]
15
- }
@@ -1,20 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-04/schema#",
3
- "id": "urn:OCPP:1.6:2019:12:RemoteStopTransactionResponse",
4
- "title": "RemoteStopTransactionResponse",
5
- "type": "object",
6
- "properties": {
7
- "status": {
8
- "type": "string",
9
- "additionalProperties": false,
10
- "enum": [
11
- "Accepted",
12
- "Rejected"
13
- ]
14
- }
15
- },
16
- "additionalProperties": false,
17
- "required": [
18
- "status"
19
- ]
20
- }
@@ -1,33 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-04/schema#",
3
- "id": "urn:OCPP:1.6:2019:12:ReserveNowRequest",
4
- "title": "ReserveNowRequest",
5
- "type": "object",
6
- "properties": {
7
- "connectorId": {
8
- "type": "integer"
9
- },
10
- "expiryDate": {
11
- "type": "string",
12
- "format": "date-time"
13
- },
14
- "idTag": {
15
- "type": "string",
16
- "maxLength": 20
17
- },
18
- "parentIdTag": {
19
- "type": "string",
20
- "maxLength": 20
21
- },
22
- "reservationId": {
23
- "type": "integer"
24
- }
25
- },
26
- "additionalProperties": false,
27
- "required": [
28
- "connectorId",
29
- "expiryDate",
30
- "idTag",
31
- "reservationId"
32
- ]
33
- }
@@ -1,23 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-04/schema#",
3
- "id": "urn:OCPP:1.6:2019:12:ReserveNowResponse",
4
- "title": "ReserveNowResponse",
5
- "type": "object",
6
- "properties": {
7
- "status": {
8
- "type": "string",
9
- "additionalProperties": false,
10
- "enum": [
11
- "Accepted",
12
- "Faulted",
13
- "Occupied",
14
- "Rejected",
15
- "Unavailable"
16
- ]
17
- }
18
- },
19
- "additionalProperties": false,
20
- "required": [
21
- "status"
22
- ]
23
- }
@@ -1,20 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-04/schema#",
3
- "id": "urn:OCPP:1.6:2019:12:ResetRequest",
4
- "title": "ResetRequest",
5
- "type": "object",
6
- "properties": {
7
- "type": {
8
- "type": "string",
9
- "additionalProperties": false,
10
- "enum": [
11
- "Hard",
12
- "Soft"
13
- ]
14
- }
15
- },
16
- "additionalProperties": false,
17
- "required": [
18
- "type"
19
- ]
20
- }
@@ -1,20 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-04/schema#",
3
- "id": "urn:OCPP:1.6:2019:12:ResetResponse",
4
- "title": "ResetResponse",
5
- "type": "object",
6
- "properties": {
7
- "status": {
8
- "type": "string",
9
- "additionalProperties": false,
10
- "enum": [
11
- "Accepted",
12
- "Rejected"
13
- ]
14
- }
15
- },
16
- "additionalProperties": false,
17
- "required": [
18
- "status"
19
- ]
20
- }
@@ -1,68 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-04/schema#",
3
- "id": "urn:OCPP:1.6:2019:12:SendLocalListRequest",
4
- "title": "SendLocalListRequest",
5
- "type": "object",
6
- "properties": {
7
- "listVersion": {
8
- "type": "integer"
9
- },
10
- "localAuthorizationList": {
11
- "type": "array",
12
- "items": {
13
- "type": "object",
14
- "properties": {
15
- "idTag": {
16
- "type": "string",
17
- "maxLength": 20
18
- },
19
- "idTagInfo": {
20
- "type": "object",
21
- "properties": {
22
- "expiryDate": {
23
- "type": "string",
24
- "format": "date-time"
25
- },
26
- "parentIdTag": {
27
- "type": "string",
28
- "maxLength": 20
29
- },
30
- "status": {
31
- "type": "string",
32
- "additionalProperties": false,
33
- "enum": [
34
- "Accepted",
35
- "Blocked",
36
- "Expired",
37
- "Invalid",
38
- "ConcurrentTx"
39
- ]
40
- }
41
- },
42
- "additionalProperties": false,
43
- "required": [
44
- "status"
45
- ]
46
- }
47
- },
48
- "additionalProperties": false,
49
- "required": [
50
- "idTag"
51
- ]
52
- }
53
- },
54
- "updateType": {
55
- "type": "string",
56
- "additionalProperties": false,
57
- "enum": [
58
- "Differential",
59
- "Full"
60
- ]
61
- }
62
- },
63
- "additionalProperties": false,
64
- "required": [
65
- "listVersion",
66
- "updateType"
67
- ]
68
- }
@@ -1,22 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-04/schema#",
3
- "id": "urn:OCPP:1.6:2019:12:SendLocalListResponse",
4
- "title": "SendLocalListResponse",
5
- "type": "object",
6
- "properties": {
7
- "status": {
8
- "type": "string",
9
- "additionalProperties": false,
10
- "enum": [
11
- "Accepted",
12
- "Failed",
13
- "NotSupported",
14
- "VersionMismatch"
15
- ]
16
- }
17
- },
18
- "additionalProperties": false,
19
- "required": [
20
- "status"
21
- ]
22
- }
@@ -1,124 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-04/schema#",
3
- "id": "urn:OCPP:1.6:2019:12:SetChargingProfileRequest",
4
- "title": "SetChargingProfileRequest",
5
- "type": "object",
6
- "properties": {
7
- "connectorId": {
8
- "type": "integer"
9
- },
10
- "csChargingProfiles": {
11
- "type": "object",
12
- "properties": {
13
- "chargingProfileId": {
14
- "type": "integer"
15
- },
16
- "transactionId": {
17
- "type": "integer"
18
- },
19
- "stackLevel": {
20
- "type": "integer"
21
- },
22
- "chargingProfilePurpose": {
23
- "type": "string",
24
- "additionalProperties": false,
25
- "enum": [
26
- "ChargePointMaxProfile",
27
- "TxDefaultProfile",
28
- "TxProfile"
29
- ]
30
- },
31
- "chargingProfileKind": {
32
- "type": "string",
33
- "additionalProperties": false,
34
- "enum": [
35
- "Absolute",
36
- "Recurring",
37
- "Relative"
38
- ]
39
- },
40
- "recurrencyKind": {
41
- "type": "string",
42
- "additionalProperties": false,
43
- "enum": [
44
- "Daily",
45
- "Weekly"
46
- ]
47
- },
48
- "validFrom": {
49
- "type": "string",
50
- "format": "date-time"
51
- },
52
- "validTo": {
53
- "type": "string",
54
- "format": "date-time"
55
- },
56
- "chargingSchedule": {
57
- "type": "object",
58
- "properties": {
59
- "duration": {
60
- "type": "integer"
61
- },
62
- "startSchedule": {
63
- "type": "string",
64
- "format": "date-time"
65
- },
66
- "chargingRateUnit": {
67
- "type": "string",
68
- "additionalProperties": false,
69
- "enum": [
70
- "A",
71
- "W"
72
- ]
73
- },
74
- "chargingSchedulePeriod": {
75
- "type": "array",
76
- "items": {
77
- "type": "object",
78
- "properties": {
79
- "startPeriod": {
80
- "type": "integer"
81
- },
82
- "limit": {
83
- "type": "number",
84
- "multipleOf" : 0.1
85
- },
86
- "numberPhases": {
87
- "type": "integer"
88
- }
89
- },
90
- "additionalProperties": false,
91
- "required": [
92
- "startPeriod",
93
- "limit"
94
- ]
95
- }
96
- },
97
- "minChargingRate": {
98
- "type": "number",
99
- "multipleOf" : 0.1
100
- }
101
- },
102
- "additionalProperties": false,
103
- "required": [
104
- "chargingRateUnit",
105
- "chargingSchedulePeriod"
106
- ]
107
- }
108
- },
109
- "additionalProperties": false,
110
- "required": [
111
- "chargingProfileId",
112
- "stackLevel",
113
- "chargingProfilePurpose",
114
- "chargingProfileKind",
115
- "chargingSchedule"
116
- ]
117
- }
118
- },
119
- "additionalProperties": false,
120
- "required": [
121
- "connectorId",
122
- "csChargingProfiles"
123
- ]
124
- }