Skip to content

Commit 7653123

Browse files
committed
Change all booleans from string to bool in component schemas
Signed-off-by: Marc Emmers <m.emmers@alfen.com>
1 parent d182ef2 commit 7653123

14 files changed

+32
-32
lines changed

config/v201/component_schemas/custom/Connector_1_1.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
],
3636
"description": "Component exists",
3737
"type": "boolean",
38-
"default": "0"
38+
"default": false
3939
},
4040
"ChargeProtocol": {
4141
"variable_name": "ChargeProtocol",

config/v201/component_schemas/custom/Connector_2_1.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
],
3636
"description": "Component exists",
3737
"type": "boolean",
38-
"default": "0"
38+
"default": false
3939
},
4040
"ChargeProtocol": {
4141
"variable_name": "ChargeProtocol",

config/v201/component_schemas/custom/EVSE_1.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
],
5252
"description": "Component exists",
5353
"type": "boolean",
54-
"default": "0"
54+
"default": false
5555
},
5656
"EvseId": {
5757
"variable_name": "EvseId",

config/v201/component_schemas/custom/EVSE_2.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
],
5252
"description": "Component exists",
5353
"type": "boolean",
54-
"default": "0"
54+
"default": false
5555
},
5656
"EvseId": {
5757
"variable_name": "EvseId",

config/v201/component_schemas/standardized/AlignedDataCtrlr.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"mutability": "ReadWrite"
1717
}
1818
],
19-
"default": "1",
19+
"default": true,
2020
"type": "boolean"
2121
},
2222
"AlignedDataCtrlrAvailable": {
@@ -32,7 +32,7 @@
3232
}
3333
],
3434
"description": "If this variable reports a value of true, Clock-Aligned Data is supported.",
35-
"default": "1",
35+
"default": true,
3636
"type": "boolean"
3737
},
3838
"AlignedDataInterval": {
@@ -97,7 +97,7 @@
9797
}
9898
],
9999
"description": "If set to true, the Charging Station SHALL include signed meter values in the SampledValueType in the MeterValuesRequest to the CSMS.",
100-
"default": "0",
100+
"default": false,
101101
"type": "boolean"
102102
},
103103
"AlignedDataTxEndedInterval": {

config/v201/component_schemas/standardized/AuthCacheCtrlr.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
}
1818
],
1919
"description": "Authorization caching is available, but not necessarily enabled.",
20-
"default": "1",
20+
"default": true,
2121
"type": "boolean"
2222
},
2323
"AuthCacheCtrlrEnabled": {
@@ -33,7 +33,7 @@
3333
}
3434
],
3535
"description": "If set to true, Authorization caching is enabled.",
36-
"default": "1",
36+
"default": true,
3737
"type": "boolean"
3838
},
3939
"AuthCacheLifeTime": {

config/v201/component_schemas/standardized/AuthCtrlr.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"mutability": "ReadWrite"
1717
}
1818
],
19-
"default": "1",
19+
"default": true,
2020
"type": "boolean"
2121
},
2222
"AdditionalInfoItemsPerMessage": {
@@ -47,7 +47,7 @@
4747
}
4848
],
4949
"description": "Whether a remote request to start a transaction in the form of RequestStartTransactionRequest message should be authorized beforehand like a local action to start a transaction.",
50-
"default": "1",
50+
"default": true,
5151
"type": "boolean"
5252
},
5353
"LocalAuthorizeOffline": {
@@ -63,7 +63,7 @@
6363
}
6464
],
6565
"description": "Whether the Charging Station, when Offline, will start a transaction for locally-authorized identifiers,",
66-
"default": "1",
66+
"default": true,
6767
"type": "boolean"
6868
},
6969
"LocalPreAuthorize": {
@@ -79,7 +79,7 @@
7979
}
8080
],
8181
"description": "Whether the Charging Station, when online, will start a transaction for locally-authorized identifiers without waiting for or requesting an AuthorizeResponse from the CSMS.",
82-
"default": "1",
82+
"default": true,
8383
"type": "boolean"
8484
},
8585
"MasterPassGroupId": {
@@ -110,7 +110,7 @@
110110
}
111111
],
112112
"description": "Support for unknown offline transactions.",
113-
"default": "1",
113+
"default": true,
114114
"type": "boolean"
115115
},
116116
"DisableRemoteAuthorization": {

config/v201/component_schemas/standardized/InternalCtrlr.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"mutability": "ReadWrite"
1717
}
1818
],
19-
"default": "1",
19+
"default": true,
2020
"type": "boolean"
2121
},
2222
"ChargePointId": {
@@ -240,7 +240,7 @@
240240
"mutability": "ReadOnly"
241241
}
242242
],
243-
"default": "1",
243+
"default": true,
244244
"type": "boolean"
245245
},
246246
"LogMessages": {
@@ -255,7 +255,7 @@
255255
"mutability": "ReadOnly"
256256
}
257257
],
258-
"default": "1",
258+
"default": true,
259259
"type": "boolean"
260260
},
261261
"LogMessagesFormat": {
@@ -338,7 +338,7 @@
338338
}
339339
],
340340
"description": "Use default verify paths for validating CSMS server certificate",
341-
"default": "1",
341+
"default": true,
342342
"type": "boolean"
343343
},
344344
"OcspRequestInterval": {
@@ -483,7 +483,7 @@
483483
"mutability": "ReadOnly"
484484
}
485485
],
486-
"default": "0",
486+
"default": false,
487487
"type": "boolean"
488488
},
489489
"MessageQueueSizeThreshold": {
@@ -551,7 +551,7 @@
551551
}
552552
],
553553
"description": "If enabled the metervalues configured with the AlignedDataCtrlr will be rounded to the exact time intervals",
554-
"default": "0",
554+
"default": false,
555555
"type": "boolean"
556556
}
557557
},

config/v201/component_schemas/standardized/LocalAuthListCtrlr.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
}
1818
],
1919
"description": "Local Authorization List is available.",
20-
"default": "1",
20+
"default": true,
2121
"type": "boolean"
2222
},
2323
"BytesPerMessageSendLocalList": {
@@ -48,7 +48,7 @@
4848
}
4949
],
5050
"description": "If this variable exists and reports a value of true, Local Authorization List is enabled.",
51-
"default": "1",
51+
"default": true,
5252
"type": "boolean"
5353
},
5454
"LocalAuthListCtrlrEntries": {

config/v201/component_schemas/standardized/OCPPCommCtrlr.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@
278278
}
279279
],
280280
"description": "When set to true, the Charging Station SHALL unlock the cable on the Charging Station side when the cable is unplugged at the EV. For an EVSE with only fixed cables, the mutability SHALL be ReadOnly and the actual value SHALL be false. For a charging station with fixed cables and sockets, the variable is only applicable to the sockets.",
281-
"default": "1",
281+
"default": true,
282282
"type": "boolean"
283283
},
284284
"WebSocketPingInterval": {

config/v201/component_schemas/standardized/ReservationCtrlr.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
}
1818
],
1919
"description": "Whether reservation is supported.",
20-
"default": "1",
20+
"default": true,
2121
"type": "boolean"
2222
},
2323
"ReservationCtrlrEnabled": {
@@ -33,7 +33,7 @@
3333
}
3434
],
3535
"description": "Whether reservation is enabled.",
36-
"default": "1",
36+
"default": true,
3737
"type": "boolean"
3838
},
3939
"ReservationCtrlrNonEvseSpecific": {

config/v201/component_schemas/standardized/SampledDataCtrlr.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
}
1818
],
1919
"description": "If this variable reports a value of true, Sampled Data is supported",
20-
"default": "1",
20+
"default": true,
2121
"type": "boolean"
2222
},
2323
"SampledDataCtrlrEnabled": {
@@ -33,7 +33,7 @@
3333
}
3434
],
3535
"description": "If this variable reports a value of true, Sampled Data is enabled.",
36-
"default": "1",
36+
"default": true,
3737
"type": "boolean"
3838
},
3939
"SampledDataSignReadings": {

config/v201/component_schemas/standardized/SecurityCtrlr.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"mutability": "ReadWrite"
1717
}
1818
],
19-
"default": "1",
19+
"default": true,
2020
"type": "boolean"
2121
},
2222
"AdditionalRootCertificateCheck": {
@@ -32,7 +32,7 @@
3232
}
3333
],
3434
"description": "Required for all security profiles except profile 1.",
35-
"default": "0",
35+
"default": false,
3636
"type": "boolean"
3737
},
3838
"BasicAuthPassword": {

config/v201/component_schemas/standardized/TxCtrlr.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"mutability": "ReadWrite"
1717
}
1818
],
19-
"default": "1",
19+
"default": true,
2020
"type": "boolean"
2121
},
2222
"ChargingTime": {
@@ -80,7 +80,7 @@
8080
}
8181
],
8282
"description": "When set to true, the Charging Station SHALL deauthorize the transaction when the cable is unplugged from the EV.",
83-
"default": "1",
83+
"default": true,
8484
"type": "boolean"
8585
},
8686
"StopTxOnInvalidId": {
@@ -96,7 +96,7 @@
9696
}
9797
],
9898
"description": "Whether the Charging Station will deauthorize an ongoing transaction when it receives a non- Accepted authorization status in TransactionEventResponse for this transaction.",
99-
"default": "1",
99+
"default": true,
100100
"type": "boolean"
101101
},
102102
"TxBeforeAcceptedEnabled": {

0 commit comments

Comments
 (0)