kirby-ocpp 0.1.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.
- package/LICENSE +21 -0
- package/README.md +129 -0
- package/THIRD_PARTY_NOTICES.md +15 -0
- package/dist/cli.d.ts +2 -0
- package/dist/cli.js +72 -0
- package/dist/config.d.ts +2 -0
- package/dist/config.js +53 -0
- package/dist/ocpp/client.d.ts +59 -0
- package/dist/ocpp/client.js +294 -0
- package/dist/ocpp/schema-validator.d.ts +15 -0
- package/dist/ocpp/schema-validator.js +75 -0
- package/dist/ocpp/schemas/json/Authorize.json +16 -0
- package/dist/ocpp/schemas/json/AuthorizeResponse.json +40 -0
- package/dist/ocpp/schemas/json/BootNotification.json +49 -0
- package/dist/ocpp/schemas/json/BootNotificationResponse.json +30 -0
- package/dist/ocpp/schemas/json/CancelReservation.json +15 -0
- package/dist/ocpp/schemas/json/CancelReservationResponse.json +20 -0
- package/dist/ocpp/schemas/json/ChangeAvailability.json +24 -0
- package/dist/ocpp/schemas/json/ChangeAvailabilityResponse.json +21 -0
- package/dist/ocpp/schemas/json/ChangeConfiguration.json +21 -0
- package/dist/ocpp/schemas/json/ChangeConfigurationResponse.json +22 -0
- package/dist/ocpp/schemas/json/ClearCache.json +8 -0
- package/dist/ocpp/schemas/json/ClearCacheResponse.json +20 -0
- package/dist/ocpp/schemas/json/ClearChargingProfile.json +27 -0
- package/dist/ocpp/schemas/json/ClearChargingProfileResponse.json +20 -0
- package/dist/ocpp/schemas/json/DataTransfer.json +23 -0
- package/dist/ocpp/schemas/json/DataTransferResponse.json +25 -0
- package/dist/ocpp/schemas/json/DiagnosticsStatusNotification.json +22 -0
- package/dist/ocpp/schemas/json/DiagnosticsStatusNotificationResponse.json +8 -0
- package/dist/ocpp/schemas/json/FirmwareStatusNotification.json +25 -0
- package/dist/ocpp/schemas/json/FirmwareStatusNotificationResponse.json +8 -0
- package/dist/ocpp/schemas/json/GetCompositeSchedule.json +27 -0
- package/dist/ocpp/schemas/json/GetCompositeScheduleResponse.json +79 -0
- package/dist/ocpp/schemas/json/GetConfiguration.json +16 -0
- package/dist/ocpp/schemas/json/GetConfigurationResponse.json +40 -0
- package/dist/ocpp/schemas/json/GetDiagnostics.json +30 -0
- package/dist/ocpp/schemas/json/GetDiagnosticsResponse.json +13 -0
- package/dist/ocpp/schemas/json/GetLocalListVersion.json +8 -0
- package/dist/ocpp/schemas/json/GetLocalListVersionResponse.json +15 -0
- package/dist/ocpp/schemas/json/Heartbeat.json +8 -0
- package/dist/ocpp/schemas/json/HeartbeatResponse.json +16 -0
- package/dist/ocpp/schemas/json/MeterValues.json +151 -0
- package/dist/ocpp/schemas/json/MeterValuesResponse.json +8 -0
- package/dist/ocpp/schemas/json/RemoteStartTransaction.json +127 -0
- package/dist/ocpp/schemas/json/RemoteStartTransactionResponse.json +20 -0
- package/dist/ocpp/schemas/json/RemoteStopTransaction.json +15 -0
- package/dist/ocpp/schemas/json/RemoteStopTransactionResponse.json +20 -0
- package/dist/ocpp/schemas/json/ReserveNow.json +33 -0
- package/dist/ocpp/schemas/json/ReserveNowResponse.json +23 -0
- package/dist/ocpp/schemas/json/Reset.json +20 -0
- package/dist/ocpp/schemas/json/ResetResponse.json +20 -0
- package/dist/ocpp/schemas/json/SendLocalList.json +68 -0
- package/dist/ocpp/schemas/json/SendLocalListResponse.json +22 -0
- package/dist/ocpp/schemas/json/SetChargingProfile.json +124 -0
- package/dist/ocpp/schemas/json/SetChargingProfileResponse.json +21 -0
- package/dist/ocpp/schemas/json/StartTransaction.json +32 -0
- package/dist/ocpp/schemas/json/StartTransactionResponse.json +44 -0
- package/dist/ocpp/schemas/json/StatusNotification.json +70 -0
- package/dist/ocpp/schemas/json/StatusNotificationResponse.json +8 -0
- package/dist/ocpp/schemas/json/StopTransaction.json +177 -0
- package/dist/ocpp/schemas/json/StopTransactionResponse.json +37 -0
- package/dist/ocpp/schemas/json/TriggerMessage.json +27 -0
- package/dist/ocpp/schemas/json/TriggerMessageResponse.json +21 -0
- package/dist/ocpp/schemas/json/UnlockConnector.json +15 -0
- package/dist/ocpp/schemas/json/UnlockConnectorResponse.json +21 -0
- package/dist/ocpp/schemas/json/UpdateFirmware.json +27 -0
- package/dist/ocpp/schemas/json/UpdateFirmwareResponse.json +8 -0
- package/dist/ocpp/types.d.ts +106 -0
- package/dist/ocpp/types.js +1 -0
- package/dist/station/authorization.d.ts +20 -0
- package/dist/station/authorization.js +78 -0
- package/dist/station/charging-profile-registry.d.ts +18 -0
- package/dist/station/charging-profile-registry.js +125 -0
- package/dist/station/configuration-commands.d.ts +11 -0
- package/dist/station/configuration-commands.js +29 -0
- package/dist/station/configuration-registry.d.ts +13 -0
- package/dist/station/configuration-registry.js +39 -0
- package/dist/station/configuration.d.ts +7 -0
- package/dist/station/configuration.js +88 -0
- package/dist/station/connector-registry.d.ts +25 -0
- package/dist/station/connector-registry.js +89 -0
- package/dist/station/connector-status.d.ts +7 -0
- package/dist/station/connector-status.js +66 -0
- package/dist/station/local-auth-list.d.ts +8 -0
- package/dist/station/local-auth-list.js +31 -0
- package/dist/station/maintenance-lifecycle.d.ts +25 -0
- package/dist/station/maintenance-lifecycle.js +110 -0
- package/dist/station/meter-value-scheduler.d.ts +21 -0
- package/dist/station/meter-value-scheduler.js +78 -0
- package/dist/station/metering.d.ts +15 -0
- package/dist/station/metering.js +138 -0
- package/dist/station/ocpp-message.d.ts +2 -0
- package/dist/station/ocpp-message.js +9 -0
- package/dist/station/offline-transaction-sync.d.ts +29 -0
- package/dist/station/offline-transaction-sync.js +99 -0
- package/dist/station/payload.d.ts +4 -0
- package/dist/station/payload.js +12 -0
- package/dist/station/persistence.d.ts +28 -0
- package/dist/station/persistence.js +206 -0
- package/dist/station/reservation-rules.d.ts +3 -0
- package/dist/station/reservation-rules.js +18 -0
- package/dist/station/reservation-scheduler.d.ts +11 -0
- package/dist/station/reservation-scheduler.js +33 -0
- package/dist/station/smart-charging.d.ts +45 -0
- package/dist/station/smart-charging.js +251 -0
- package/dist/station/status-scheduler.d.ts +16 -0
- package/dist/station/status-scheduler.js +58 -0
- package/dist/station/transaction-message-retry.d.ts +3 -0
- package/dist/station/transaction-message-retry.js +7 -0
- package/dist/station/transaction-rules.d.ts +7 -0
- package/dist/station/transaction-rules.js +34 -0
- package/dist/station/trigger-message.d.ts +2 -0
- package/dist/station/trigger-message.js +11 -0
- package/dist/station-store.d.ts +41 -0
- package/dist/station-store.js +104 -0
- package/dist/station.d.ts +112 -0
- package/dist/station.js +1201 -0
- package/dist/tui.d.ts +95 -0
- package/dist/tui.js +1601 -0
- package/docs/OCPP_1.6J_CONFORMANCE.md +61 -0
- package/package.json +62 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
3
|
+
"id": "urn:OCPP:1.6:2019:12:GetConfigurationResponse",
|
|
4
|
+
"title": "GetConfigurationResponse",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"configurationKey": {
|
|
8
|
+
"type": "array",
|
|
9
|
+
"items": {
|
|
10
|
+
"type": "object",
|
|
11
|
+
"properties": {
|
|
12
|
+
"key": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"maxLength": 50
|
|
15
|
+
},
|
|
16
|
+
"readonly": {
|
|
17
|
+
"type": "boolean"
|
|
18
|
+
},
|
|
19
|
+
"value": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"maxLength": 500
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"additionalProperties": false,
|
|
25
|
+
"required": [
|
|
26
|
+
"key",
|
|
27
|
+
"readonly"
|
|
28
|
+
]
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"unknownKey": {
|
|
32
|
+
"type": "array",
|
|
33
|
+
"items": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"maxLength": 50
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"additionalProperties": false
|
|
40
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
3
|
+
"id": "urn:OCPP:1.6:2019:12:GetDiagnosticsRequest",
|
|
4
|
+
"title": "GetDiagnosticsRequest",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"location": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"format": "uri"
|
|
10
|
+
},
|
|
11
|
+
"retries": {
|
|
12
|
+
"type": "integer"
|
|
13
|
+
},
|
|
14
|
+
"retryInterval": {
|
|
15
|
+
"type": "integer"
|
|
16
|
+
},
|
|
17
|
+
"startTime": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"format": "date-time"
|
|
20
|
+
},
|
|
21
|
+
"stopTime": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"format": "date-time"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"additionalProperties": false,
|
|
27
|
+
"required": [
|
|
28
|
+
"location"
|
|
29
|
+
]
|
|
30
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
3
|
+
"id": "urn:OCPP:1.6:2019:12:GetDiagnosticsResponse",
|
|
4
|
+
"title": "GetDiagnosticsResponse",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"fileName": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"maxLength": 255
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"additionalProperties": false
|
|
13
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
3
|
+
"id": "urn:OCPP:1.6:2019:12:GetLocalListVersionResponse",
|
|
4
|
+
"title": "GetLocalListVersionResponse",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"listVersion": {
|
|
8
|
+
"type": "integer"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"additionalProperties": false,
|
|
12
|
+
"required": [
|
|
13
|
+
"listVersion"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
3
|
+
"id": "urn:OCPP:1.6:2019:12:HeartbeatResponse",
|
|
4
|
+
"title": "HeartbeatResponse",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"currentTime": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"format": "date-time"
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"additionalProperties": false,
|
|
13
|
+
"required": [
|
|
14
|
+
"currentTime"
|
|
15
|
+
]
|
|
16
|
+
}
|
|
@@ -0,0 +1,151 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,127 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
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
|
+
}
|