kirby-ocpp 0.1.1 → 0.2.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/README.md +134 -95
- package/THIRD_PARTY_NOTICES.md +6 -2
- package/bin/kirby-ocpp.js +55 -0
- package/package.json +22 -44
- package/dist/cli.d.ts +0 -2
- package/dist/cli.js +0 -72
- package/dist/config.d.ts +0 -2
- package/dist/config.js +0 -53
- package/dist/ocpp/client.d.ts +0 -59
- package/dist/ocpp/client.js +0 -299
- package/dist/ocpp/schema-validator.d.ts +0 -15
- package/dist/ocpp/schema-validator.js +0 -75
- package/dist/ocpp/schemas/json/Authorize.json +0 -16
- package/dist/ocpp/schemas/json/AuthorizeResponse.json +0 -40
- package/dist/ocpp/schemas/json/BootNotification.json +0 -49
- package/dist/ocpp/schemas/json/BootNotificationResponse.json +0 -30
- package/dist/ocpp/schemas/json/CancelReservation.json +0 -15
- package/dist/ocpp/schemas/json/CancelReservationResponse.json +0 -20
- package/dist/ocpp/schemas/json/ChangeAvailability.json +0 -24
- package/dist/ocpp/schemas/json/ChangeAvailabilityResponse.json +0 -21
- package/dist/ocpp/schemas/json/ChangeConfiguration.json +0 -21
- package/dist/ocpp/schemas/json/ChangeConfigurationResponse.json +0 -22
- package/dist/ocpp/schemas/json/ClearCache.json +0 -8
- package/dist/ocpp/schemas/json/ClearCacheResponse.json +0 -20
- package/dist/ocpp/schemas/json/ClearChargingProfile.json +0 -27
- package/dist/ocpp/schemas/json/ClearChargingProfileResponse.json +0 -20
- package/dist/ocpp/schemas/json/DataTransfer.json +0 -23
- package/dist/ocpp/schemas/json/DataTransferResponse.json +0 -25
- package/dist/ocpp/schemas/json/DiagnosticsStatusNotification.json +0 -22
- package/dist/ocpp/schemas/json/DiagnosticsStatusNotificationResponse.json +0 -8
- package/dist/ocpp/schemas/json/FirmwareStatusNotification.json +0 -25
- package/dist/ocpp/schemas/json/FirmwareStatusNotificationResponse.json +0 -8
- package/dist/ocpp/schemas/json/GetCompositeSchedule.json +0 -27
- package/dist/ocpp/schemas/json/GetCompositeScheduleResponse.json +0 -79
- package/dist/ocpp/schemas/json/GetConfiguration.json +0 -16
- package/dist/ocpp/schemas/json/GetConfigurationResponse.json +0 -40
- package/dist/ocpp/schemas/json/GetDiagnostics.json +0 -30
- package/dist/ocpp/schemas/json/GetDiagnosticsResponse.json +0 -13
- package/dist/ocpp/schemas/json/GetLocalListVersion.json +0 -8
- package/dist/ocpp/schemas/json/GetLocalListVersionResponse.json +0 -15
- package/dist/ocpp/schemas/json/Heartbeat.json +0 -8
- package/dist/ocpp/schemas/json/HeartbeatResponse.json +0 -16
- package/dist/ocpp/schemas/json/MeterValues.json +0 -151
- package/dist/ocpp/schemas/json/MeterValuesResponse.json +0 -8
- package/dist/ocpp/schemas/json/RemoteStartTransaction.json +0 -127
- package/dist/ocpp/schemas/json/RemoteStartTransactionResponse.json +0 -20
- package/dist/ocpp/schemas/json/RemoteStopTransaction.json +0 -15
- package/dist/ocpp/schemas/json/RemoteStopTransactionResponse.json +0 -20
- package/dist/ocpp/schemas/json/ReserveNow.json +0 -33
- package/dist/ocpp/schemas/json/ReserveNowResponse.json +0 -23
- package/dist/ocpp/schemas/json/Reset.json +0 -20
- package/dist/ocpp/schemas/json/ResetResponse.json +0 -20
- package/dist/ocpp/schemas/json/SendLocalList.json +0 -68
- package/dist/ocpp/schemas/json/SendLocalListResponse.json +0 -22
- package/dist/ocpp/schemas/json/SetChargingProfile.json +0 -124
- package/dist/ocpp/schemas/json/SetChargingProfileResponse.json +0 -21
- package/dist/ocpp/schemas/json/StartTransaction.json +0 -32
- package/dist/ocpp/schemas/json/StartTransactionResponse.json +0 -44
- package/dist/ocpp/schemas/json/StatusNotification.json +0 -70
- package/dist/ocpp/schemas/json/StatusNotificationResponse.json +0 -8
- package/dist/ocpp/schemas/json/StopTransaction.json +0 -177
- package/dist/ocpp/schemas/json/StopTransactionResponse.json +0 -37
- package/dist/ocpp/schemas/json/TriggerMessage.json +0 -27
- package/dist/ocpp/schemas/json/TriggerMessageResponse.json +0 -21
- package/dist/ocpp/schemas/json/UnlockConnector.json +0 -15
- package/dist/ocpp/schemas/json/UnlockConnectorResponse.json +0 -21
- package/dist/ocpp/schemas/json/UpdateFirmware.json +0 -27
- package/dist/ocpp/schemas/json/UpdateFirmwareResponse.json +0 -8
- package/dist/ocpp/types.d.ts +0 -106
- package/dist/ocpp/types.js +0 -1
- package/dist/station/authorization.d.ts +0 -20
- package/dist/station/authorization.js +0 -78
- package/dist/station/charging-profile-registry.d.ts +0 -18
- package/dist/station/charging-profile-registry.js +0 -125
- package/dist/station/configuration-commands.d.ts +0 -11
- package/dist/station/configuration-commands.js +0 -29
- package/dist/station/configuration-registry.d.ts +0 -13
- package/dist/station/configuration-registry.js +0 -39
- package/dist/station/configuration.d.ts +0 -7
- package/dist/station/configuration.js +0 -88
- package/dist/station/connector-registry.d.ts +0 -25
- package/dist/station/connector-registry.js +0 -89
- package/dist/station/connector-status.d.ts +0 -7
- package/dist/station/connector-status.js +0 -66
- package/dist/station/local-auth-list.d.ts +0 -8
- package/dist/station/local-auth-list.js +0 -31
- package/dist/station/maintenance-lifecycle.d.ts +0 -25
- package/dist/station/maintenance-lifecycle.js +0 -110
- package/dist/station/meter-value-scheduler.d.ts +0 -21
- package/dist/station/meter-value-scheduler.js +0 -78
- package/dist/station/metering.d.ts +0 -15
- package/dist/station/metering.js +0 -138
- package/dist/station/ocpp-message.d.ts +0 -2
- package/dist/station/ocpp-message.js +0 -9
- package/dist/station/offline-transaction-sync.d.ts +0 -29
- package/dist/station/offline-transaction-sync.js +0 -99
- package/dist/station/payload.d.ts +0 -4
- package/dist/station/payload.js +0 -12
- package/dist/station/persistence.d.ts +0 -28
- package/dist/station/persistence.js +0 -206
- package/dist/station/reservation-rules.d.ts +0 -3
- package/dist/station/reservation-rules.js +0 -18
- package/dist/station/reservation-scheduler.d.ts +0 -11
- package/dist/station/reservation-scheduler.js +0 -33
- package/dist/station/smart-charging.d.ts +0 -45
- package/dist/station/smart-charging.js +0 -251
- package/dist/station/status-scheduler.d.ts +0 -16
- package/dist/station/status-scheduler.js +0 -58
- package/dist/station/transaction-message-retry.d.ts +0 -3
- package/dist/station/transaction-message-retry.js +0 -7
- package/dist/station/transaction-rules.d.ts +0 -7
- package/dist/station/transaction-rules.js +0 -34
- package/dist/station/trigger-message.d.ts +0 -2
- package/dist/station/trigger-message.js +0 -11
- package/dist/station-store.d.ts +0 -41
- package/dist/station-store.js +0 -104
- package/dist/station.d.ts +0 -113
- package/dist/station.js +0 -1204
- package/dist/tui.d.ts +0 -96
- package/dist/tui.js +0 -1618
- package/docs/OCPP_1.6J_CONFORMANCE.md +0 -61
|
@@ -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
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
3
|
-
"id": "urn:OCPP:1.6:2019:12:SetChargingProfileResponse",
|
|
4
|
-
"title": "SetChargingProfileResponse",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"status": {
|
|
8
|
-
"type": "string",
|
|
9
|
-
"additionalProperties": false,
|
|
10
|
-
"enum": [
|
|
11
|
-
"Accepted",
|
|
12
|
-
"Rejected",
|
|
13
|
-
"NotSupported"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
"additionalProperties": false,
|
|
18
|
-
"required": [
|
|
19
|
-
"status"
|
|
20
|
-
]
|
|
21
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
3
|
-
"id": "urn:OCPP:1.6:2019:12:StartTransactionRequest",
|
|
4
|
-
"title": "StartTransactionRequest",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"connectorId": {
|
|
8
|
-
"type": "integer"
|
|
9
|
-
},
|
|
10
|
-
"idTag": {
|
|
11
|
-
"type": "string",
|
|
12
|
-
"maxLength": 20
|
|
13
|
-
},
|
|
14
|
-
"meterStart": {
|
|
15
|
-
"type": "integer"
|
|
16
|
-
},
|
|
17
|
-
"reservationId": {
|
|
18
|
-
"type": "integer"
|
|
19
|
-
},
|
|
20
|
-
"timestamp": {
|
|
21
|
-
"type": "string",
|
|
22
|
-
"format": "date-time"
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
"additionalProperties": false,
|
|
26
|
-
"required": [
|
|
27
|
-
"connectorId",
|
|
28
|
-
"idTag",
|
|
29
|
-
"meterStart",
|
|
30
|
-
"timestamp"
|
|
31
|
-
]
|
|
32
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
3
|
-
"id": "urn:OCPP:1.6:2019:12:StartTransactionResponse",
|
|
4
|
-
"title": "StartTransactionResponse",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"idTagInfo": {
|
|
8
|
-
"type": "object",
|
|
9
|
-
"properties": {
|
|
10
|
-
"expiryDate": {
|
|
11
|
-
"type": "string",
|
|
12
|
-
"format": "date-time"
|
|
13
|
-
},
|
|
14
|
-
"parentIdTag": {
|
|
15
|
-
"type": "string",
|
|
16
|
-
"maxLength": 20
|
|
17
|
-
},
|
|
18
|
-
"status": {
|
|
19
|
-
"type": "string",
|
|
20
|
-
"additionalProperties": false,
|
|
21
|
-
"enum": [
|
|
22
|
-
"Accepted",
|
|
23
|
-
"Blocked",
|
|
24
|
-
"Expired",
|
|
25
|
-
"Invalid",
|
|
26
|
-
"ConcurrentTx"
|
|
27
|
-
]
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
"additionalProperties": false,
|
|
31
|
-
"required": [
|
|
32
|
-
"status"
|
|
33
|
-
]
|
|
34
|
-
},
|
|
35
|
-
"transactionId": {
|
|
36
|
-
"type": "integer"
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
"additionalProperties": false,
|
|
40
|
-
"required": [
|
|
41
|
-
"idTagInfo",
|
|
42
|
-
"transactionId"
|
|
43
|
-
]
|
|
44
|
-
}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
3
|
-
"id": "urn:OCPP:1.6:2019:12:StatusNotificationRequest",
|
|
4
|
-
"title": "StatusNotificationRequest",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"connectorId": {
|
|
8
|
-
"type": "integer"
|
|
9
|
-
},
|
|
10
|
-
"errorCode": {
|
|
11
|
-
"type": "string",
|
|
12
|
-
"additionalProperties": false,
|
|
13
|
-
"enum": [
|
|
14
|
-
"ConnectorLockFailure",
|
|
15
|
-
"EVCommunicationError",
|
|
16
|
-
"GroundFailure",
|
|
17
|
-
"HighTemperature",
|
|
18
|
-
"InternalError",
|
|
19
|
-
"LocalListConflict",
|
|
20
|
-
"NoError",
|
|
21
|
-
"OtherError",
|
|
22
|
-
"OverCurrentFailure",
|
|
23
|
-
"PowerMeterFailure",
|
|
24
|
-
"PowerSwitchFailure",
|
|
25
|
-
"ReaderFailure",
|
|
26
|
-
"ResetFailure",
|
|
27
|
-
"UnderVoltage",
|
|
28
|
-
"OverVoltage",
|
|
29
|
-
"WeakSignal"
|
|
30
|
-
]
|
|
31
|
-
},
|
|
32
|
-
"info": {
|
|
33
|
-
"type": "string",
|
|
34
|
-
"maxLength": 50
|
|
35
|
-
},
|
|
36
|
-
"status": {
|
|
37
|
-
"type": "string",
|
|
38
|
-
"additionalProperties": false,
|
|
39
|
-
"enum": [
|
|
40
|
-
"Available",
|
|
41
|
-
"Preparing",
|
|
42
|
-
"Charging",
|
|
43
|
-
"SuspendedEVSE",
|
|
44
|
-
"SuspendedEV",
|
|
45
|
-
"Finishing",
|
|
46
|
-
"Reserved",
|
|
47
|
-
"Unavailable",
|
|
48
|
-
"Faulted"
|
|
49
|
-
]
|
|
50
|
-
},
|
|
51
|
-
"timestamp": {
|
|
52
|
-
"type": "string",
|
|
53
|
-
"format": "date-time"
|
|
54
|
-
},
|
|
55
|
-
"vendorId": {
|
|
56
|
-
"type": "string",
|
|
57
|
-
"maxLength": 255
|
|
58
|
-
},
|
|
59
|
-
"vendorErrorCode": {
|
|
60
|
-
"type": "string",
|
|
61
|
-
"maxLength": 50
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
"additionalProperties": false,
|
|
65
|
-
"required": [
|
|
66
|
-
"connectorId",
|
|
67
|
-
"errorCode",
|
|
68
|
-
"status"
|
|
69
|
-
]
|
|
70
|
-
}
|