From 55468f61d82dbbdaa897a0d63e782f989651609b Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Thu, 5 Mar 2026 21:55:26 +0100 Subject: [PATCH] fix(ocpp): remove invalid additionalProperties/additionalItems from OCPP 1.6 and 2.0 JSON schemas Remove `"additionalProperties": false` from enum/string type definitions where it is semantically invalid (only applies to objects), and `"additionalItems": false` where `items` is a single schema (not a tuple), fixing AJV 8 strict mode errors at runtime. --- .../json-schemas/ocpp/1.6/AuthorizeResponse.json | 1 - .../ocpp/1.6/BootNotificationResponse.json | 1 - .../ocpp/1.6/CancelReservationResponse.json | 1 - .../ocpp/1.6/CertificateSignedResponse.json | 1 - .../json-schemas/ocpp/1.6/ChangeAvailability.json | 1 - .../ocpp/1.6/ChangeAvailabilityResponse.json | 1 - .../ocpp/1.6/ChangeConfigurationResponse.json | 1 - .../json-schemas/ocpp/1.6/ClearCacheResponse.json | 1 - .../json-schemas/ocpp/1.6/ClearChargingProfile.json | 1 - .../ocpp/1.6/ClearChargingProfileResponse.json | 1 - .../json-schemas/ocpp/1.6/DataTransferResponse.json | 1 - .../json-schemas/ocpp/1.6/DeleteCertificate.json | 1 - .../ocpp/1.6/DeleteCertificateResponse.json | 1 - .../ocpp/1.6/DiagnosticsStatusNotification.json | 1 - .../ocpp/1.6/ExtendedTriggerMessage.json | 1 - .../ocpp/1.6/ExtendedTriggerMessageResponse.json | 1 - .../ocpp/1.6/FirmwareStatusNotification.json | 1 - .../json-schemas/ocpp/1.6/GetCompositeSchedule.json | 1 - .../ocpp/1.6/GetCompositeScheduleResponse.json | 2 -- .../ocpp/1.6/GetInstalledCertificateIds.json | 1 - .../ocpp/1.6/GetInstalledCertificateIdsResponse.json | 3 --- src/assets/json-schemas/ocpp/1.6/GetLog.json | 1 - src/assets/json-schemas/ocpp/1.6/GetLogResponse.json | 1 - .../json-schemas/ocpp/1.6/InstallCertificate.json | 1 - .../ocpp/1.6/InstallCertificateResponse.json | 1 - .../json-schemas/ocpp/1.6/LogStatusNotification.json | 1 - src/assets/json-schemas/ocpp/1.6/MeterValues.json | 6 ------ .../ocpp/1.6/RemoteStartTransaction.json | 4 ---- .../ocpp/1.6/RemoteStartTransactionResponse.json | 1 - .../ocpp/1.6/RemoteStopTransactionResponse.json | 1 - .../json-schemas/ocpp/1.6/ReserveNowResponse.json | 1 - src/assets/json-schemas/ocpp/1.6/Reset.json | 1 - src/assets/json-schemas/ocpp/1.6/ResetResponse.json | 1 - src/assets/json-schemas/ocpp/1.6/SendLocalList.json | 2 -- .../json-schemas/ocpp/1.6/SendLocalListResponse.json | 1 - .../json-schemas/ocpp/1.6/SetChargingProfile.json | 4 ---- .../ocpp/1.6/SetChargingProfileResponse.json | 1 - .../ocpp/1.6/SignCertificateResponse.json | 1 - .../ocpp/1.6/SignedFirmwareStatusNotification.json | 1 - .../ocpp/1.6/SignedUpdateFirmwareResponse.json | 1 - .../ocpp/1.6/StartTransactionResponse.json | 1 - .../json-schemas/ocpp/1.6/StatusNotification.json | 2 -- .../json-schemas/ocpp/1.6/StopTransaction.json | 7 ------- .../ocpp/1.6/StopTransactionResponse.json | 1 - src/assets/json-schemas/ocpp/1.6/TriggerMessage.json | 1 - .../ocpp/1.6/TriggerMessageResponse.json | 1 - .../ocpp/1.6/UnlockConnectorResponse.json | 1 - .../json-schemas/ocpp/2.0/AuthorizeRequest.json | 4 ---- .../json-schemas/ocpp/2.0/AuthorizeResponse.json | 6 ------ .../ocpp/2.0/BootNotificationRequest.json | 1 - .../ocpp/2.0/BootNotificationResponse.json | 1 - .../ocpp/2.0/CancelReservationResponse.json | 1 - .../ocpp/2.0/CertificateSignedRequest.json | 1 - .../ocpp/2.0/CertificateSignedResponse.json | 1 - .../ocpp/2.0/ChangeAvailabilityRequest.json | 1 - .../ocpp/2.0/ChangeAvailabilityResponse.json | 1 - .../json-schemas/ocpp/2.0/ClearCacheResponse.json | 1 - .../ocpp/2.0/ClearChargingProfileRequest.json | 1 - .../ocpp/2.0/ClearChargingProfileResponse.json | 1 - .../ocpp/2.0/ClearDisplayMessageResponse.json | 1 - .../ocpp/2.0/ClearVariableMonitoringRequest.json | 1 - .../ocpp/2.0/ClearVariableMonitoringResponse.json | 2 -- .../ocpp/2.0/ClearedChargingLimitRequest.json | 1 - .../ocpp/2.0/CustomerInformationRequest.json | 3 --- .../ocpp/2.0/CustomerInformationResponse.json | 1 - .../json-schemas/ocpp/2.0/DataTransferResponse.json | 1 - .../ocpp/2.0/DeleteCertificateRequest.json | 1 - .../ocpp/2.0/DeleteCertificateResponse.json | 1 - .../ocpp/2.0/FirmwareStatusNotificationRequest.json | 1 - .../ocpp/2.0/Get15118EVCertificateRequest.json | 1 - .../ocpp/2.0/Get15118EVCertificateResponse.json | 1 - .../json-schemas/ocpp/2.0/GetBaseReportRequest.json | 1 - .../json-schemas/ocpp/2.0/GetBaseReportResponse.json | 1 - .../ocpp/2.0/GetCertificateStatusRequest.json | 1 - .../ocpp/2.0/GetCertificateStatusResponse.json | 1 - .../ocpp/2.0/GetChargingProfilesRequest.json | 4 ---- .../ocpp/2.0/GetChargingProfilesResponse.json | 1 - .../ocpp/2.0/GetCompositeScheduleRequest.json | 1 - .../ocpp/2.0/GetCompositeScheduleResponse.json | 3 --- .../ocpp/2.0/GetDisplayMessagesRequest.json | 3 --- .../ocpp/2.0/GetDisplayMessagesResponse.json | 1 - .../ocpp/2.0/GetInstalledCertificateIdsRequest.json | 2 -- .../ocpp/2.0/GetInstalledCertificateIdsResponse.json | 5 ----- src/assets/json-schemas/ocpp/2.0/GetLogRequest.json | 1 - src/assets/json-schemas/ocpp/2.0/GetLogResponse.json | 1 - .../ocpp/2.0/GetMonitoringReportRequest.json | 3 --- .../ocpp/2.0/GetMonitoringReportResponse.json | 1 - .../json-schemas/ocpp/2.0/GetReportRequest.json | 3 --- .../json-schemas/ocpp/2.0/GetReportResponse.json | 1 - .../json-schemas/ocpp/2.0/GetVariablesRequest.json | 2 -- .../json-schemas/ocpp/2.0/GetVariablesResponse.json | 3 --- .../ocpp/2.0/InstallCertificateRequest.json | 1 - .../ocpp/2.0/InstallCertificateResponse.json | 1 - .../ocpp/2.0/LogStatusNotificationRequest.json | 1 - .../json-schemas/ocpp/2.0/MeterValuesRequest.json | 6 ------ .../ocpp/2.0/NotifyChargingLimitRequest.json | 8 -------- .../ocpp/2.0/NotifyDisplayMessagesRequest.json | 4 ---- .../ocpp/2.0/NotifyEVChargingNeedsRequest.json | 1 - .../ocpp/2.0/NotifyEVChargingNeedsResponse.json | 1 - .../ocpp/2.0/NotifyEVChargingScheduleRequest.json | 6 ------ .../ocpp/2.0/NotifyEVChargingScheduleResponse.json | 1 - .../json-schemas/ocpp/2.0/NotifyEventRequest.json | 3 --- .../ocpp/2.0/NotifyMonitoringReportRequest.json | 3 --- .../json-schemas/ocpp/2.0/NotifyReportRequest.json | 5 ----- .../ocpp/2.0/PublishFirmwareResponse.json | 1 - .../PublishFirmwareStatusNotificationRequest.json | 2 -- .../ocpp/2.0/ReportChargingProfilesRequest.json | 12 ------------ .../ocpp/2.0/RequestStartTransactionRequest.json | 12 ------------ .../ocpp/2.0/RequestStartTransactionResponse.json | 1 - .../ocpp/2.0/RequestStopTransactionResponse.json | 1 - .../ocpp/2.0/ReservationStatusUpdateRequest.json | 1 - .../json-schemas/ocpp/2.0/ReserveNowRequest.json | 3 --- .../json-schemas/ocpp/2.0/ReserveNowResponse.json | 1 - src/assets/json-schemas/ocpp/2.0/ResetRequest.json | 1 - src/assets/json-schemas/ocpp/2.0/ResetResponse.json | 1 - .../json-schemas/ocpp/2.0/SendLocalListRequest.json | 7 ------- .../json-schemas/ocpp/2.0/SendLocalListResponse.json | 1 - .../ocpp/2.0/SetChargingProfileRequest.json | 10 ---------- .../ocpp/2.0/SetChargingProfileResponse.json | 1 - .../ocpp/2.0/SetDisplayMessageRequest.json | 3 --- .../ocpp/2.0/SetDisplayMessageResponse.json | 1 - .../ocpp/2.0/SetMonitoringBaseRequest.json | 1 - .../ocpp/2.0/SetMonitoringBaseResponse.json | 1 - .../ocpp/2.0/SetMonitoringLevelResponse.json | 1 - .../ocpp/2.0/SetNetworkProfileRequest.json | 5 ----- .../ocpp/2.0/SetNetworkProfileResponse.json | 1 - .../ocpp/2.0/SetVariableMonitoringRequest.json | 2 -- .../ocpp/2.0/SetVariableMonitoringResponse.json | 3 --- .../json-schemas/ocpp/2.0/SetVariablesRequest.json | 2 -- .../json-schemas/ocpp/2.0/SetVariablesResponse.json | 3 --- .../ocpp/2.0/SignCertificateRequest.json | 1 - .../ocpp/2.0/SignCertificateResponse.json | 1 - .../ocpp/2.0/StatusNotificationRequest.json | 1 - .../ocpp/2.0/TransactionEventRequest.json | 12 ------------ .../ocpp/2.0/TransactionEventResponse.json | 5 ----- .../json-schemas/ocpp/2.0/TriggerMessageRequest.json | 1 - .../ocpp/2.0/TriggerMessageResponse.json | 1 - .../ocpp/2.0/UnlockConnectorResponse.json | 1 - .../ocpp/2.0/UnpublishFirmwareResponse.json | 1 - .../ocpp/2.0/UpdateFirmwareResponse.json | 1 - 140 files changed, 287 deletions(-) diff --git a/src/assets/json-schemas/ocpp/1.6/AuthorizeResponse.json b/src/assets/json-schemas/ocpp/1.6/AuthorizeResponse.json index 96fa915a..1f139517 100644 --- a/src/assets/json-schemas/ocpp/1.6/AuthorizeResponse.json +++ b/src/assets/json-schemas/ocpp/1.6/AuthorizeResponse.json @@ -17,7 +17,6 @@ }, "status": { "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Blocked", "Expired", "Invalid", "ConcurrentTx"] } }, diff --git a/src/assets/json-schemas/ocpp/1.6/BootNotificationResponse.json b/src/assets/json-schemas/ocpp/1.6/BootNotificationResponse.json index af698f42..2d8d9d35 100644 --- a/src/assets/json-schemas/ocpp/1.6/BootNotificationResponse.json +++ b/src/assets/json-schemas/ocpp/1.6/BootNotificationResponse.json @@ -6,7 +6,6 @@ "properties": { "status": { "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Pending", "Rejected"] }, "currentTime": { diff --git a/src/assets/json-schemas/ocpp/1.6/CancelReservationResponse.json b/src/assets/json-schemas/ocpp/1.6/CancelReservationResponse.json index c26deddb..17ad122a 100644 --- a/src/assets/json-schemas/ocpp/1.6/CancelReservationResponse.json +++ b/src/assets/json-schemas/ocpp/1.6/CancelReservationResponse.json @@ -6,7 +6,6 @@ "properties": { "status": { "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Rejected"] } }, diff --git a/src/assets/json-schemas/ocpp/1.6/CertificateSignedResponse.json b/src/assets/json-schemas/ocpp/1.6/CertificateSignedResponse.json index c58d3232..7a4743e5 100644 --- a/src/assets/json-schemas/ocpp/1.6/CertificateSignedResponse.json +++ b/src/assets/json-schemas/ocpp/1.6/CertificateSignedResponse.json @@ -4,7 +4,6 @@ "definitions": { "CertificateSignedStatusEnumType": { "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Rejected"] } }, diff --git a/src/assets/json-schemas/ocpp/1.6/ChangeAvailability.json b/src/assets/json-schemas/ocpp/1.6/ChangeAvailability.json index 211bd3a5..e6fdf4c1 100644 --- a/src/assets/json-schemas/ocpp/1.6/ChangeAvailability.json +++ b/src/assets/json-schemas/ocpp/1.6/ChangeAvailability.json @@ -9,7 +9,6 @@ }, "type": { "type": "string", - "additionalProperties": false, "enum": ["Inoperative", "Operative"] } }, diff --git a/src/assets/json-schemas/ocpp/1.6/ChangeAvailabilityResponse.json b/src/assets/json-schemas/ocpp/1.6/ChangeAvailabilityResponse.json index 59a0a9e3..b360223e 100644 --- a/src/assets/json-schemas/ocpp/1.6/ChangeAvailabilityResponse.json +++ b/src/assets/json-schemas/ocpp/1.6/ChangeAvailabilityResponse.json @@ -6,7 +6,6 @@ "properties": { "status": { "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Rejected", "Scheduled"] } }, diff --git a/src/assets/json-schemas/ocpp/1.6/ChangeConfigurationResponse.json b/src/assets/json-schemas/ocpp/1.6/ChangeConfigurationResponse.json index b9e92a06..4aaa81d8 100644 --- a/src/assets/json-schemas/ocpp/1.6/ChangeConfigurationResponse.json +++ b/src/assets/json-schemas/ocpp/1.6/ChangeConfigurationResponse.json @@ -6,7 +6,6 @@ "properties": { "status": { "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Rejected", "RebootRequired", "NotSupported"] } }, diff --git a/src/assets/json-schemas/ocpp/1.6/ClearCacheResponse.json b/src/assets/json-schemas/ocpp/1.6/ClearCacheResponse.json index ceb8d9f4..192727df 100644 --- a/src/assets/json-schemas/ocpp/1.6/ClearCacheResponse.json +++ b/src/assets/json-schemas/ocpp/1.6/ClearCacheResponse.json @@ -6,7 +6,6 @@ "properties": { "status": { "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Rejected"] } }, diff --git a/src/assets/json-schemas/ocpp/1.6/ClearChargingProfile.json b/src/assets/json-schemas/ocpp/1.6/ClearChargingProfile.json index dc448f65..a706380f 100644 --- a/src/assets/json-schemas/ocpp/1.6/ClearChargingProfile.json +++ b/src/assets/json-schemas/ocpp/1.6/ClearChargingProfile.json @@ -12,7 +12,6 @@ }, "chargingProfilePurpose": { "type": "string", - "additionalProperties": false, "enum": ["ChargePointMaxProfile", "TxDefaultProfile", "TxProfile"] }, "stackLevel": { diff --git a/src/assets/json-schemas/ocpp/1.6/ClearChargingProfileResponse.json b/src/assets/json-schemas/ocpp/1.6/ClearChargingProfileResponse.json index 2eeb1565..da2e2fc4 100644 --- a/src/assets/json-schemas/ocpp/1.6/ClearChargingProfileResponse.json +++ b/src/assets/json-schemas/ocpp/1.6/ClearChargingProfileResponse.json @@ -6,7 +6,6 @@ "properties": { "status": { "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Unknown"] } }, diff --git a/src/assets/json-schemas/ocpp/1.6/DataTransferResponse.json b/src/assets/json-schemas/ocpp/1.6/DataTransferResponse.json index 9c2778fa..22ec7643 100644 --- a/src/assets/json-schemas/ocpp/1.6/DataTransferResponse.json +++ b/src/assets/json-schemas/ocpp/1.6/DataTransferResponse.json @@ -6,7 +6,6 @@ "properties": { "status": { "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Rejected", "UnknownMessageId", "UnknownVendorId"] }, "data": { diff --git a/src/assets/json-schemas/ocpp/1.6/DeleteCertificate.json b/src/assets/json-schemas/ocpp/1.6/DeleteCertificate.json index d55782d7..60b2735b 100644 --- a/src/assets/json-schemas/ocpp/1.6/DeleteCertificate.json +++ b/src/assets/json-schemas/ocpp/1.6/DeleteCertificate.json @@ -4,7 +4,6 @@ "definitions": { "HashAlgorithmEnumType": { "type": "string", - "additionalProperties": false, "enum": ["SHA256", "SHA384", "SHA512"] }, "CertificateHashDataType": { diff --git a/src/assets/json-schemas/ocpp/1.6/DeleteCertificateResponse.json b/src/assets/json-schemas/ocpp/1.6/DeleteCertificateResponse.json index 871bc31f..b31c69a7 100644 --- a/src/assets/json-schemas/ocpp/1.6/DeleteCertificateResponse.json +++ b/src/assets/json-schemas/ocpp/1.6/DeleteCertificateResponse.json @@ -4,7 +4,6 @@ "definitions": { "DeleteCertificateStatusEnumType": { "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Failed", "NotFound"] } }, diff --git a/src/assets/json-schemas/ocpp/1.6/DiagnosticsStatusNotification.json b/src/assets/json-schemas/ocpp/1.6/DiagnosticsStatusNotification.json index 0ba526fc..f37dcd91 100644 --- a/src/assets/json-schemas/ocpp/1.6/DiagnosticsStatusNotification.json +++ b/src/assets/json-schemas/ocpp/1.6/DiagnosticsStatusNotification.json @@ -6,7 +6,6 @@ "properties": { "status": { "type": "string", - "additionalProperties": false, "enum": ["Idle", "Uploaded", "UploadFailed", "Uploading"] } }, diff --git a/src/assets/json-schemas/ocpp/1.6/ExtendedTriggerMessage.json b/src/assets/json-schemas/ocpp/1.6/ExtendedTriggerMessage.json index 68dad482..28ea93d3 100644 --- a/src/assets/json-schemas/ocpp/1.6/ExtendedTriggerMessage.json +++ b/src/assets/json-schemas/ocpp/1.6/ExtendedTriggerMessage.json @@ -4,7 +4,6 @@ "definitions": { "MessageTriggerEnumType": { "type": "string", - "additionalProperties": false, "enum": [ "BootNotification", "LogStatusNotification", diff --git a/src/assets/json-schemas/ocpp/1.6/ExtendedTriggerMessageResponse.json b/src/assets/json-schemas/ocpp/1.6/ExtendedTriggerMessageResponse.json index c88e049a..aa1392d9 100644 --- a/src/assets/json-schemas/ocpp/1.6/ExtendedTriggerMessageResponse.json +++ b/src/assets/json-schemas/ocpp/1.6/ExtendedTriggerMessageResponse.json @@ -4,7 +4,6 @@ "definitions": { "TriggerMessageStatusEnumType": { "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Rejected", "NotImplemented"] } }, diff --git a/src/assets/json-schemas/ocpp/1.6/FirmwareStatusNotification.json b/src/assets/json-schemas/ocpp/1.6/FirmwareStatusNotification.json index af328592..9bb3cc65 100644 --- a/src/assets/json-schemas/ocpp/1.6/FirmwareStatusNotification.json +++ b/src/assets/json-schemas/ocpp/1.6/FirmwareStatusNotification.json @@ -6,7 +6,6 @@ "properties": { "status": { "type": "string", - "additionalProperties": false, "enum": [ "Downloaded", "DownloadFailed", diff --git a/src/assets/json-schemas/ocpp/1.6/GetCompositeSchedule.json b/src/assets/json-schemas/ocpp/1.6/GetCompositeSchedule.json index 5b584aa2..28d62cec 100644 --- a/src/assets/json-schemas/ocpp/1.6/GetCompositeSchedule.json +++ b/src/assets/json-schemas/ocpp/1.6/GetCompositeSchedule.json @@ -12,7 +12,6 @@ }, "chargingRateUnit": { "type": "string", - "additionalProperties": false, "enum": ["A", "W"] } }, diff --git a/src/assets/json-schemas/ocpp/1.6/GetCompositeScheduleResponse.json b/src/assets/json-schemas/ocpp/1.6/GetCompositeScheduleResponse.json index dc7d3ae9..38130755 100644 --- a/src/assets/json-schemas/ocpp/1.6/GetCompositeScheduleResponse.json +++ b/src/assets/json-schemas/ocpp/1.6/GetCompositeScheduleResponse.json @@ -6,7 +6,6 @@ "properties": { "status": { "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Rejected"] }, "connectorId": { @@ -28,7 +27,6 @@ }, "chargingRateUnit": { "type": "string", - "additionalProperties": false, "enum": ["A", "W"] }, "chargingSchedulePeriod": { diff --git a/src/assets/json-schemas/ocpp/1.6/GetInstalledCertificateIds.json b/src/assets/json-schemas/ocpp/1.6/GetInstalledCertificateIds.json index cf8bfdae..f27f7968 100644 --- a/src/assets/json-schemas/ocpp/1.6/GetInstalledCertificateIds.json +++ b/src/assets/json-schemas/ocpp/1.6/GetInstalledCertificateIds.json @@ -4,7 +4,6 @@ "definitions": { "CertificateUseEnumType": { "type": "string", - "additionalProperties": false, "enum": ["CentralSystemRootCertificate", "ManufacturerRootCertificate"] } }, diff --git a/src/assets/json-schemas/ocpp/1.6/GetInstalledCertificateIdsResponse.json b/src/assets/json-schemas/ocpp/1.6/GetInstalledCertificateIdsResponse.json index ff3366af..c80c9402 100644 --- a/src/assets/json-schemas/ocpp/1.6/GetInstalledCertificateIdsResponse.json +++ b/src/assets/json-schemas/ocpp/1.6/GetInstalledCertificateIdsResponse.json @@ -4,12 +4,10 @@ "definitions": { "GetInstalledCertificateStatusEnumType": { "type": "string", - "additionalProperties": false, "enum": ["Accepted", "NotFound"] }, "HashAlgorithmEnumType": { "type": "string", - "additionalProperties": false, "enum": ["SHA256", "SHA384", "SHA512"] }, "CertificateHashDataType": { @@ -41,7 +39,6 @@ "properties": { "certificateHashData": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/CertificateHashDataType" }, diff --git a/src/assets/json-schemas/ocpp/1.6/GetLog.json b/src/assets/json-schemas/ocpp/1.6/GetLog.json index 3e69fb8f..bf8ad006 100644 --- a/src/assets/json-schemas/ocpp/1.6/GetLog.json +++ b/src/assets/json-schemas/ocpp/1.6/GetLog.json @@ -4,7 +4,6 @@ "definitions": { "LogEnumType": { "type": "string", - "additionalProperties": false, "enum": ["DiagnosticsLog", "SecurityLog"] }, "LogParametersType": { diff --git a/src/assets/json-schemas/ocpp/1.6/GetLogResponse.json b/src/assets/json-schemas/ocpp/1.6/GetLogResponse.json index 50db3d88..e5cd0781 100644 --- a/src/assets/json-schemas/ocpp/1.6/GetLogResponse.json +++ b/src/assets/json-schemas/ocpp/1.6/GetLogResponse.json @@ -4,7 +4,6 @@ "definitions": { "LogStatusEnumType": { "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Rejected", "AcceptedCanceled"] } }, diff --git a/src/assets/json-schemas/ocpp/1.6/InstallCertificate.json b/src/assets/json-schemas/ocpp/1.6/InstallCertificate.json index 03944302..6b920c46 100644 --- a/src/assets/json-schemas/ocpp/1.6/InstallCertificate.json +++ b/src/assets/json-schemas/ocpp/1.6/InstallCertificate.json @@ -4,7 +4,6 @@ "definitions": { "CertificateUseEnumType": { "type": "string", - "additionalProperties": false, "enum": ["CentralSystemRootCertificate", "ManufacturerRootCertificate"] } }, diff --git a/src/assets/json-schemas/ocpp/1.6/InstallCertificateResponse.json b/src/assets/json-schemas/ocpp/1.6/InstallCertificateResponse.json index 6a66c785..5a699279 100644 --- a/src/assets/json-schemas/ocpp/1.6/InstallCertificateResponse.json +++ b/src/assets/json-schemas/ocpp/1.6/InstallCertificateResponse.json @@ -4,7 +4,6 @@ "definitions": { "InstallCertificateStatusEnumType": { "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Failed", "Rejected"] } }, diff --git a/src/assets/json-schemas/ocpp/1.6/LogStatusNotification.json b/src/assets/json-schemas/ocpp/1.6/LogStatusNotification.json index d68eeae2..cfd54df2 100644 --- a/src/assets/json-schemas/ocpp/1.6/LogStatusNotification.json +++ b/src/assets/json-schemas/ocpp/1.6/LogStatusNotification.json @@ -4,7 +4,6 @@ "definitions": { "UploadLogStatusEnumType": { "type": "string", - "additionalProperties": false, "enum": [ "BadMessage", "Idle", diff --git a/src/assets/json-schemas/ocpp/1.6/MeterValues.json b/src/assets/json-schemas/ocpp/1.6/MeterValues.json index 7be45967..31f9a053 100644 --- a/src/assets/json-schemas/ocpp/1.6/MeterValues.json +++ b/src/assets/json-schemas/ocpp/1.6/MeterValues.json @@ -29,7 +29,6 @@ }, "context": { "type": "string", - "additionalProperties": false, "enum": [ "Interruption.Begin", "Interruption.End", @@ -43,12 +42,10 @@ }, "format": { "type": "string", - "additionalProperties": false, "enum": ["Raw", "SignedData"] }, "measurand": { "type": "string", - "additionalProperties": false, "enum": [ "Energy.Active.Export.Register", "Energy.Active.Import.Register", @@ -76,17 +73,14 @@ }, "phase": { "type": "string", - "additionalProperties": false, "enum": ["L1", "L2", "L3", "N", "L1-N", "L2-N", "L3-N", "L1-L2", "L2-L3", "L3-L1"] }, "location": { "type": "string", - "additionalProperties": false, "enum": ["Cable", "EV", "Inlet", "Outlet", "Body"] }, "unit": { "type": "string", - "additionalProperties": false, "enum": [ "Wh", "kWh", diff --git a/src/assets/json-schemas/ocpp/1.6/RemoteStartTransaction.json b/src/assets/json-schemas/ocpp/1.6/RemoteStartTransaction.json index af855a93..530e6187 100644 --- a/src/assets/json-schemas/ocpp/1.6/RemoteStartTransaction.json +++ b/src/assets/json-schemas/ocpp/1.6/RemoteStartTransaction.json @@ -25,17 +25,14 @@ }, "chargingProfilePurpose": { "type": "string", - "additionalProperties": false, "enum": ["ChargePointMaxProfile", "TxDefaultProfile", "TxProfile"] }, "chargingProfileKind": { "type": "string", - "additionalProperties": false, "enum": ["Absolute", "Recurring", "Relative"] }, "recurrencyKind": { "type": "string", - "additionalProperties": false, "enum": ["Daily", "Weekly"] }, "validFrom": { @@ -58,7 +55,6 @@ }, "chargingRateUnit": { "type": "string", - "additionalProperties": false, "enum": ["A", "W"] }, "chargingSchedulePeriod": { diff --git a/src/assets/json-schemas/ocpp/1.6/RemoteStartTransactionResponse.json b/src/assets/json-schemas/ocpp/1.6/RemoteStartTransactionResponse.json index 6453d946..b4fc6c8a 100644 --- a/src/assets/json-schemas/ocpp/1.6/RemoteStartTransactionResponse.json +++ b/src/assets/json-schemas/ocpp/1.6/RemoteStartTransactionResponse.json @@ -6,7 +6,6 @@ "properties": { "status": { "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Rejected"] } }, diff --git a/src/assets/json-schemas/ocpp/1.6/RemoteStopTransactionResponse.json b/src/assets/json-schemas/ocpp/1.6/RemoteStopTransactionResponse.json index 68e9c79b..1e6753d9 100644 --- a/src/assets/json-schemas/ocpp/1.6/RemoteStopTransactionResponse.json +++ b/src/assets/json-schemas/ocpp/1.6/RemoteStopTransactionResponse.json @@ -6,7 +6,6 @@ "properties": { "status": { "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Rejected"] } }, diff --git a/src/assets/json-schemas/ocpp/1.6/ReserveNowResponse.json b/src/assets/json-schemas/ocpp/1.6/ReserveNowResponse.json index 8bc82da4..0bad0df7 100644 --- a/src/assets/json-schemas/ocpp/1.6/ReserveNowResponse.json +++ b/src/assets/json-schemas/ocpp/1.6/ReserveNowResponse.json @@ -6,7 +6,6 @@ "properties": { "status": { "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Faulted", "Occupied", "Rejected", "Unavailable"] } }, diff --git a/src/assets/json-schemas/ocpp/1.6/Reset.json b/src/assets/json-schemas/ocpp/1.6/Reset.json index e15ee00c..3ae0e9bb 100644 --- a/src/assets/json-schemas/ocpp/1.6/Reset.json +++ b/src/assets/json-schemas/ocpp/1.6/Reset.json @@ -6,7 +6,6 @@ "properties": { "type": { "type": "string", - "additionalProperties": false, "enum": ["Hard", "Soft"] } }, diff --git a/src/assets/json-schemas/ocpp/1.6/ResetResponse.json b/src/assets/json-schemas/ocpp/1.6/ResetResponse.json index 0d9a8c5a..29f03ead 100644 --- a/src/assets/json-schemas/ocpp/1.6/ResetResponse.json +++ b/src/assets/json-schemas/ocpp/1.6/ResetResponse.json @@ -6,7 +6,6 @@ "properties": { "status": { "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Rejected"] } }, diff --git a/src/assets/json-schemas/ocpp/1.6/SendLocalList.json b/src/assets/json-schemas/ocpp/1.6/SendLocalList.json index 6ec3d011..1362ff69 100644 --- a/src/assets/json-schemas/ocpp/1.6/SendLocalList.json +++ b/src/assets/json-schemas/ocpp/1.6/SendLocalList.json @@ -29,7 +29,6 @@ }, "status": { "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Blocked", "Expired", "Invalid", "ConcurrentTx"] } }, @@ -43,7 +42,6 @@ }, "updateType": { "type": "string", - "additionalProperties": false, "enum": ["Differential", "Full"] } }, diff --git a/src/assets/json-schemas/ocpp/1.6/SendLocalListResponse.json b/src/assets/json-schemas/ocpp/1.6/SendLocalListResponse.json index b8c528d3..11c50080 100644 --- a/src/assets/json-schemas/ocpp/1.6/SendLocalListResponse.json +++ b/src/assets/json-schemas/ocpp/1.6/SendLocalListResponse.json @@ -6,7 +6,6 @@ "properties": { "status": { "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Failed", "NotSupported", "VersionMismatch"] } }, diff --git a/src/assets/json-schemas/ocpp/1.6/SetChargingProfile.json b/src/assets/json-schemas/ocpp/1.6/SetChargingProfile.json index 767f4018..15a0ca15 100644 --- a/src/assets/json-schemas/ocpp/1.6/SetChargingProfile.json +++ b/src/assets/json-schemas/ocpp/1.6/SetChargingProfile.json @@ -21,17 +21,14 @@ }, "chargingProfilePurpose": { "type": "string", - "additionalProperties": false, "enum": ["ChargePointMaxProfile", "TxDefaultProfile", "TxProfile"] }, "chargingProfileKind": { "type": "string", - "additionalProperties": false, "enum": ["Absolute", "Recurring", "Relative"] }, "recurrencyKind": { "type": "string", - "additionalProperties": false, "enum": ["Daily", "Weekly"] }, "validFrom": { @@ -54,7 +51,6 @@ }, "chargingRateUnit": { "type": "string", - "additionalProperties": false, "enum": ["A", "W"] }, "chargingSchedulePeriod": { diff --git a/src/assets/json-schemas/ocpp/1.6/SetChargingProfileResponse.json b/src/assets/json-schemas/ocpp/1.6/SetChargingProfileResponse.json index 1b388a04..38af78bb 100644 --- a/src/assets/json-schemas/ocpp/1.6/SetChargingProfileResponse.json +++ b/src/assets/json-schemas/ocpp/1.6/SetChargingProfileResponse.json @@ -6,7 +6,6 @@ "properties": { "status": { "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Rejected", "NotSupported"] } }, diff --git a/src/assets/json-schemas/ocpp/1.6/SignCertificateResponse.json b/src/assets/json-schemas/ocpp/1.6/SignCertificateResponse.json index c82f12bd..2a95cee4 100644 --- a/src/assets/json-schemas/ocpp/1.6/SignCertificateResponse.json +++ b/src/assets/json-schemas/ocpp/1.6/SignCertificateResponse.json @@ -4,7 +4,6 @@ "definitions": { "GenericStatusEnumType": { "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Rejected"] } }, diff --git a/src/assets/json-schemas/ocpp/1.6/SignedFirmwareStatusNotification.json b/src/assets/json-schemas/ocpp/1.6/SignedFirmwareStatusNotification.json index 69805b42..e3eb1b89 100644 --- a/src/assets/json-schemas/ocpp/1.6/SignedFirmwareStatusNotification.json +++ b/src/assets/json-schemas/ocpp/1.6/SignedFirmwareStatusNotification.json @@ -4,7 +4,6 @@ "definitions": { "FirmwareStatusEnumType": { "type": "string", - "additionalProperties": false, "enum": [ "Downloaded", "DownloadFailed", diff --git a/src/assets/json-schemas/ocpp/1.6/SignedUpdateFirmwareResponse.json b/src/assets/json-schemas/ocpp/1.6/SignedUpdateFirmwareResponse.json index 2de4877d..d5206d5f 100644 --- a/src/assets/json-schemas/ocpp/1.6/SignedUpdateFirmwareResponse.json +++ b/src/assets/json-schemas/ocpp/1.6/SignedUpdateFirmwareResponse.json @@ -4,7 +4,6 @@ "definitions": { "UpdateFirmwareStatusEnumType": { "type": "string", - "additionalProperties": false, "enum": [ "Accepted", "Rejected", diff --git a/src/assets/json-schemas/ocpp/1.6/StartTransactionResponse.json b/src/assets/json-schemas/ocpp/1.6/StartTransactionResponse.json index 6347d0ef..0829fa7f 100644 --- a/src/assets/json-schemas/ocpp/1.6/StartTransactionResponse.json +++ b/src/assets/json-schemas/ocpp/1.6/StartTransactionResponse.json @@ -17,7 +17,6 @@ }, "status": { "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Blocked", "Expired", "Invalid", "ConcurrentTx"] } }, diff --git a/src/assets/json-schemas/ocpp/1.6/StatusNotification.json b/src/assets/json-schemas/ocpp/1.6/StatusNotification.json index db793fd3..d4298a3e 100644 --- a/src/assets/json-schemas/ocpp/1.6/StatusNotification.json +++ b/src/assets/json-schemas/ocpp/1.6/StatusNotification.json @@ -9,7 +9,6 @@ }, "errorCode": { "type": "string", - "additionalProperties": false, "enum": [ "ConnectorLockFailure", "EVCommunicationError", @@ -35,7 +34,6 @@ }, "status": { "type": "string", - "additionalProperties": false, "enum": [ "Available", "Preparing", diff --git a/src/assets/json-schemas/ocpp/1.6/StopTransaction.json b/src/assets/json-schemas/ocpp/1.6/StopTransaction.json index 360b8f8a..461afb09 100644 --- a/src/assets/json-schemas/ocpp/1.6/StopTransaction.json +++ b/src/assets/json-schemas/ocpp/1.6/StopTransaction.json @@ -20,7 +20,6 @@ }, "reason": { "type": "string", - "additionalProperties": false, "enum": [ "EmergencyStop", "EVDisconnected", @@ -54,7 +53,6 @@ }, "context": { "type": "string", - "additionalProperties": false, "enum": [ "Interruption.Begin", "Interruption.End", @@ -68,12 +66,10 @@ }, "format": { "type": "string", - "additionalProperties": false, "enum": ["Raw", "SignedData"] }, "measurand": { "type": "string", - "additionalProperties": false, "enum": [ "Energy.Active.Export.Register", "Energy.Active.Import.Register", @@ -101,17 +97,14 @@ }, "phase": { "type": "string", - "additionalProperties": false, "enum": ["L1", "L2", "L3", "N", "L1-N", "L2-N", "L3-N", "L1-L2", "L2-L3", "L3-L1"] }, "location": { "type": "string", - "additionalProperties": false, "enum": ["Cable", "EV", "Inlet", "Outlet", "Body"] }, "unit": { "type": "string", - "additionalProperties": false, "enum": [ "Wh", "kWh", diff --git a/src/assets/json-schemas/ocpp/1.6/StopTransactionResponse.json b/src/assets/json-schemas/ocpp/1.6/StopTransactionResponse.json index 2186c7ff..f6ea5c25 100644 --- a/src/assets/json-schemas/ocpp/1.6/StopTransactionResponse.json +++ b/src/assets/json-schemas/ocpp/1.6/StopTransactionResponse.json @@ -17,7 +17,6 @@ }, "status": { "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Blocked", "Expired", "Invalid", "ConcurrentTx"] } }, diff --git a/src/assets/json-schemas/ocpp/1.6/TriggerMessage.json b/src/assets/json-schemas/ocpp/1.6/TriggerMessage.json index d0587e83..72ef37c3 100644 --- a/src/assets/json-schemas/ocpp/1.6/TriggerMessage.json +++ b/src/assets/json-schemas/ocpp/1.6/TriggerMessage.json @@ -6,7 +6,6 @@ "properties": { "requestedMessage": { "type": "string", - "additionalProperties": false, "enum": [ "BootNotification", "DiagnosticsStatusNotification", diff --git a/src/assets/json-schemas/ocpp/1.6/TriggerMessageResponse.json b/src/assets/json-schemas/ocpp/1.6/TriggerMessageResponse.json index cb8d3d62..ab28e005 100644 --- a/src/assets/json-schemas/ocpp/1.6/TriggerMessageResponse.json +++ b/src/assets/json-schemas/ocpp/1.6/TriggerMessageResponse.json @@ -6,7 +6,6 @@ "properties": { "status": { "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Rejected", "NotImplemented"] } }, diff --git a/src/assets/json-schemas/ocpp/1.6/UnlockConnectorResponse.json b/src/assets/json-schemas/ocpp/1.6/UnlockConnectorResponse.json index 942d0f12..555082f6 100644 --- a/src/assets/json-schemas/ocpp/1.6/UnlockConnectorResponse.json +++ b/src/assets/json-schemas/ocpp/1.6/UnlockConnectorResponse.json @@ -6,7 +6,6 @@ "properties": { "status": { "type": "string", - "additionalProperties": false, "enum": ["Unlocked", "UnlockFailed", "NotSupported"] } }, diff --git a/src/assets/json-schemas/ocpp/2.0/AuthorizeRequest.json b/src/assets/json-schemas/ocpp/2.0/AuthorizeRequest.json index a36bbe21..89f901ff 100644 --- a/src/assets/json-schemas/ocpp/2.0/AuthorizeRequest.json +++ b/src/assets/json-schemas/ocpp/2.0/AuthorizeRequest.json @@ -19,14 +19,12 @@ "description": "Used algorithms for the hashes provided.\r\n", "javaType": "HashAlgorithmEnum", "type": "string", - "additionalProperties": false, "enum": ["SHA256", "SHA384", "SHA512"] }, "IdTokenEnumType": { "description": "Enumeration of possible idToken types.\r\n", "javaType": "IdTokenEnum", "type": "string", - "additionalProperties": false, "enum": [ "Central", "eMAID", @@ -71,7 +69,6 @@ }, "additionalInfo": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/AdditionalInfoType" }, @@ -145,7 +142,6 @@ }, "iso15118CertificateHashData": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/OCSPRequestDataType" }, diff --git a/src/assets/json-schemas/ocpp/2.0/AuthorizeResponse.json b/src/assets/json-schemas/ocpp/2.0/AuthorizeResponse.json index 04daed23..56f914ab 100644 --- a/src/assets/json-schemas/ocpp/2.0/AuthorizeResponse.json +++ b/src/assets/json-schemas/ocpp/2.0/AuthorizeResponse.json @@ -19,7 +19,6 @@ "description": "ID_ Token. Status. Authorization_ Status\r\nurn:x-oca:ocpp:uid:1:569372\r\nCurrent status of the ID Token.\r\n", "javaType": "AuthorizationStatusEnum", "type": "string", - "additionalProperties": false, "enum": [ "Accepted", "Blocked", @@ -37,7 +36,6 @@ "description": "Certificate status information. \r\n- if all certificates are valid: return 'Accepted'.\r\n- if one of the certificates was revoked, return 'CertificateRevoked'.\r\n", "javaType": "AuthorizeCertificateStatusEnum", "type": "string", - "additionalProperties": false, "enum": [ "Accepted", "SignatureError", @@ -52,7 +50,6 @@ "description": "Enumeration of possible idToken types.\r\n", "javaType": "IdTokenEnum", "type": "string", - "additionalProperties": false, "enum": [ "Central", "eMAID", @@ -68,7 +65,6 @@ "description": "Message_ Content. Format. Message_ Format_ Code\r\nurn:x-enexis:ecdm:uid:1:570848\r\nFormat of the message.\r\n", "javaType": "MessageFormatEnum", "type": "string", - "additionalProperties": false, "enum": ["ASCII", "HTML", "URI", "UTF8"] }, "AdditionalInfoType": { @@ -122,7 +118,6 @@ "evseId": { "description": "Only used when the IdToken is only valid for one or more specific EVSEs, not for the entire Charging Station.\r\n\r\n", "type": "array", - "additionalItems": false, "items": { "type": "integer" }, @@ -153,7 +148,6 @@ }, "additionalInfo": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/AdditionalInfoType" }, diff --git a/src/assets/json-schemas/ocpp/2.0/BootNotificationRequest.json b/src/assets/json-schemas/ocpp/2.0/BootNotificationRequest.json index 095d4f22..854b5877 100644 --- a/src/assets/json-schemas/ocpp/2.0/BootNotificationRequest.json +++ b/src/assets/json-schemas/ocpp/2.0/BootNotificationRequest.json @@ -19,7 +19,6 @@ "description": "This contains the reason for sending this message to the CSMS.\r\n", "javaType": "BootReasonEnum", "type": "string", - "additionalProperties": false, "enum": [ "ApplicationReset", "FirmwareUpdate", diff --git a/src/assets/json-schemas/ocpp/2.0/BootNotificationResponse.json b/src/assets/json-schemas/ocpp/2.0/BootNotificationResponse.json index 18e1d351..85082880 100644 --- a/src/assets/json-schemas/ocpp/2.0/BootNotificationResponse.json +++ b/src/assets/json-schemas/ocpp/2.0/BootNotificationResponse.json @@ -19,7 +19,6 @@ "description": "This contains whether the Charging Station has been registered\r\nwithin the CSMS.\r\n", "javaType": "RegistrationStatusEnum", "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Pending", "Rejected"] }, "StatusInfoType": { diff --git a/src/assets/json-schemas/ocpp/2.0/CancelReservationResponse.json b/src/assets/json-schemas/ocpp/2.0/CancelReservationResponse.json index 28bf5add..39aa831d 100644 --- a/src/assets/json-schemas/ocpp/2.0/CancelReservationResponse.json +++ b/src/assets/json-schemas/ocpp/2.0/CancelReservationResponse.json @@ -19,7 +19,6 @@ "description": "This indicates the success or failure of the canceling of a reservation by CSMS.\r\n", "javaType": "CancelReservationStatusEnum", "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Rejected"] }, "StatusInfoType": { diff --git a/src/assets/json-schemas/ocpp/2.0/CertificateSignedRequest.json b/src/assets/json-schemas/ocpp/2.0/CertificateSignedRequest.json index 95b044b7..7ae34c31 100644 --- a/src/assets/json-schemas/ocpp/2.0/CertificateSignedRequest.json +++ b/src/assets/json-schemas/ocpp/2.0/CertificateSignedRequest.json @@ -19,7 +19,6 @@ "description": "Indicates the type of the signed certificate that is returned. When omitted the certificate is used for both the 15118 connection (if implemented) and the Charging Station to CSMS connection. This field is required when a typeOfCertificate was included in the <<signcertificaterequest,SignCertificateRequest>> that requested this certificate to be signed AND both the 15118 connection and the Charging Station connection are implemented.\r\n\r\n", "javaType": "CertificateSigningUseEnum", "type": "string", - "additionalProperties": false, "enum": ["ChargingStationCertificate", "V2GCertificate"] } }, diff --git a/src/assets/json-schemas/ocpp/2.0/CertificateSignedResponse.json b/src/assets/json-schemas/ocpp/2.0/CertificateSignedResponse.json index 7e6cb10f..2edcf38d 100644 --- a/src/assets/json-schemas/ocpp/2.0/CertificateSignedResponse.json +++ b/src/assets/json-schemas/ocpp/2.0/CertificateSignedResponse.json @@ -19,7 +19,6 @@ "description": "Returns whether certificate signing has been accepted, otherwise rejected.\r\n", "javaType": "CertificateSignedStatusEnum", "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Rejected"] }, "StatusInfoType": { diff --git a/src/assets/json-schemas/ocpp/2.0/ChangeAvailabilityRequest.json b/src/assets/json-schemas/ocpp/2.0/ChangeAvailabilityRequest.json index 1ca55a82..55e9f5f4 100644 --- a/src/assets/json-schemas/ocpp/2.0/ChangeAvailabilityRequest.json +++ b/src/assets/json-schemas/ocpp/2.0/ChangeAvailabilityRequest.json @@ -19,7 +19,6 @@ "description": "This contains the type of availability change that the Charging Station should perform.\r\n\r\n", "javaType": "OperationalStatusEnum", "type": "string", - "additionalProperties": false, "enum": ["Inoperative", "Operative"] }, "EVSEType": { diff --git a/src/assets/json-schemas/ocpp/2.0/ChangeAvailabilityResponse.json b/src/assets/json-schemas/ocpp/2.0/ChangeAvailabilityResponse.json index f96caedb..06085e20 100644 --- a/src/assets/json-schemas/ocpp/2.0/ChangeAvailabilityResponse.json +++ b/src/assets/json-schemas/ocpp/2.0/ChangeAvailabilityResponse.json @@ -19,7 +19,6 @@ "description": "This indicates whether the Charging Station is able to perform the availability change.\r\n", "javaType": "ChangeAvailabilityStatusEnum", "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Rejected", "Scheduled"] }, "StatusInfoType": { diff --git a/src/assets/json-schemas/ocpp/2.0/ClearCacheResponse.json b/src/assets/json-schemas/ocpp/2.0/ClearCacheResponse.json index b44adc18..3f41e6f5 100644 --- a/src/assets/json-schemas/ocpp/2.0/ClearCacheResponse.json +++ b/src/assets/json-schemas/ocpp/2.0/ClearCacheResponse.json @@ -19,7 +19,6 @@ "description": "Accepted if the Charging Station has executed the request, otherwise rejected.\r\n", "javaType": "ClearCacheStatusEnum", "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Rejected"] }, "StatusInfoType": { diff --git a/src/assets/json-schemas/ocpp/2.0/ClearChargingProfileRequest.json b/src/assets/json-schemas/ocpp/2.0/ClearChargingProfileRequest.json index 06846e66..99ae9353 100644 --- a/src/assets/json-schemas/ocpp/2.0/ClearChargingProfileRequest.json +++ b/src/assets/json-schemas/ocpp/2.0/ClearChargingProfileRequest.json @@ -19,7 +19,6 @@ "description": "Charging_ Profile. Charging_ Profile_ Purpose. Charging_ Profile_ Purpose_ Code\r\nurn:x-oca:ocpp:uid:1:569231\r\nSpecifies to purpose of the charging profiles that will be cleared, if they meet the other criteria in the request.\r\n", "javaType": "ChargingProfilePurposeEnum", "type": "string", - "additionalProperties": false, "enum": [ "ChargingStationExternalConstraints", "ChargingStationMaxProfile", diff --git a/src/assets/json-schemas/ocpp/2.0/ClearChargingProfileResponse.json b/src/assets/json-schemas/ocpp/2.0/ClearChargingProfileResponse.json index 355df0d9..a934d1f0 100644 --- a/src/assets/json-schemas/ocpp/2.0/ClearChargingProfileResponse.json +++ b/src/assets/json-schemas/ocpp/2.0/ClearChargingProfileResponse.json @@ -19,7 +19,6 @@ "description": "Indicates if the Charging Station was able to execute the request.\r\n", "javaType": "ClearChargingProfileStatusEnum", "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Unknown"] }, "StatusInfoType": { diff --git a/src/assets/json-schemas/ocpp/2.0/ClearDisplayMessageResponse.json b/src/assets/json-schemas/ocpp/2.0/ClearDisplayMessageResponse.json index 1089f52f..3223e3f9 100644 --- a/src/assets/json-schemas/ocpp/2.0/ClearDisplayMessageResponse.json +++ b/src/assets/json-schemas/ocpp/2.0/ClearDisplayMessageResponse.json @@ -19,7 +19,6 @@ "description": "Returns whether the Charging Station has been able to remove the message.\r\n", "javaType": "ClearMessageStatusEnum", "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Unknown"] }, "StatusInfoType": { diff --git a/src/assets/json-schemas/ocpp/2.0/ClearVariableMonitoringRequest.json b/src/assets/json-schemas/ocpp/2.0/ClearVariableMonitoringRequest.json index a5f7a8c8..946b4614 100644 --- a/src/assets/json-schemas/ocpp/2.0/ClearVariableMonitoringRequest.json +++ b/src/assets/json-schemas/ocpp/2.0/ClearVariableMonitoringRequest.json @@ -25,7 +25,6 @@ "id": { "description": "List of the monitors to be cleared, identified by there Id.\r\n", "type": "array", - "additionalItems": false, "items": { "type": "integer" }, diff --git a/src/assets/json-schemas/ocpp/2.0/ClearVariableMonitoringResponse.json b/src/assets/json-schemas/ocpp/2.0/ClearVariableMonitoringResponse.json index 3d888ab6..7025d80d 100644 --- a/src/assets/json-schemas/ocpp/2.0/ClearVariableMonitoringResponse.json +++ b/src/assets/json-schemas/ocpp/2.0/ClearVariableMonitoringResponse.json @@ -19,7 +19,6 @@ "description": "Result of the clear request for this monitor, identified by its Id.\r\n\r\n", "javaType": "ClearMonitoringStatusEnum", "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Rejected", "NotFound"] }, "ClearMonitoringResultType": { @@ -74,7 +73,6 @@ }, "clearMonitoringResult": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/ClearMonitoringResultType" }, diff --git a/src/assets/json-schemas/ocpp/2.0/ClearedChargingLimitRequest.json b/src/assets/json-schemas/ocpp/2.0/ClearedChargingLimitRequest.json index 01750818..70af0b15 100644 --- a/src/assets/json-schemas/ocpp/2.0/ClearedChargingLimitRequest.json +++ b/src/assets/json-schemas/ocpp/2.0/ClearedChargingLimitRequest.json @@ -19,7 +19,6 @@ "description": "Source of the charging limit.\r\n", "javaType": "ChargingLimitSourceEnum", "type": "string", - "additionalProperties": false, "enum": ["EMS", "Other", "SO", "CSO"] } }, diff --git a/src/assets/json-schemas/ocpp/2.0/CustomerInformationRequest.json b/src/assets/json-schemas/ocpp/2.0/CustomerInformationRequest.json index b66f0eeb..32d17c61 100644 --- a/src/assets/json-schemas/ocpp/2.0/CustomerInformationRequest.json +++ b/src/assets/json-schemas/ocpp/2.0/CustomerInformationRequest.json @@ -19,14 +19,12 @@ "description": "Used algorithms for the hashes provided.\r\n", "javaType": "HashAlgorithmEnum", "type": "string", - "additionalProperties": false, "enum": ["SHA256", "SHA384", "SHA512"] }, "IdTokenEnumType": { "description": "Enumeration of possible idToken types.\r\n", "javaType": "IdTokenEnum", "type": "string", - "additionalProperties": false, "enum": [ "Central", "eMAID", @@ -100,7 +98,6 @@ }, "additionalInfo": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/AdditionalInfoType" }, diff --git a/src/assets/json-schemas/ocpp/2.0/CustomerInformationResponse.json b/src/assets/json-schemas/ocpp/2.0/CustomerInformationResponse.json index f87b322a..44338173 100644 --- a/src/assets/json-schemas/ocpp/2.0/CustomerInformationResponse.json +++ b/src/assets/json-schemas/ocpp/2.0/CustomerInformationResponse.json @@ -19,7 +19,6 @@ "description": "Indicates whether the request was accepted.\r\n", "javaType": "CustomerInformationStatusEnum", "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Rejected", "Invalid"] }, "StatusInfoType": { diff --git a/src/assets/json-schemas/ocpp/2.0/DataTransferResponse.json b/src/assets/json-schemas/ocpp/2.0/DataTransferResponse.json index a703d799..3e46742b 100644 --- a/src/assets/json-schemas/ocpp/2.0/DataTransferResponse.json +++ b/src/assets/json-schemas/ocpp/2.0/DataTransferResponse.json @@ -19,7 +19,6 @@ "description": "This indicates the success or failure of the data transfer.\r\n", "javaType": "DataTransferStatusEnum", "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Rejected", "UnknownMessageId", "UnknownVendorId"] }, "StatusInfoType": { diff --git a/src/assets/json-schemas/ocpp/2.0/DeleteCertificateRequest.json b/src/assets/json-schemas/ocpp/2.0/DeleteCertificateRequest.json index e791876c..e359eca7 100644 --- a/src/assets/json-schemas/ocpp/2.0/DeleteCertificateRequest.json +++ b/src/assets/json-schemas/ocpp/2.0/DeleteCertificateRequest.json @@ -19,7 +19,6 @@ "description": "Used algorithms for the hashes provided.\r\n", "javaType": "HashAlgorithmEnum", "type": "string", - "additionalProperties": false, "enum": ["SHA256", "SHA384", "SHA512"] }, "CertificateHashDataType": { diff --git a/src/assets/json-schemas/ocpp/2.0/DeleteCertificateResponse.json b/src/assets/json-schemas/ocpp/2.0/DeleteCertificateResponse.json index b834c55a..a132c137 100644 --- a/src/assets/json-schemas/ocpp/2.0/DeleteCertificateResponse.json +++ b/src/assets/json-schemas/ocpp/2.0/DeleteCertificateResponse.json @@ -19,7 +19,6 @@ "description": "Charging Station indicates if it can process the request.\r\n", "javaType": "DeleteCertificateStatusEnum", "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Failed", "NotFound"] }, "StatusInfoType": { diff --git a/src/assets/json-schemas/ocpp/2.0/FirmwareStatusNotificationRequest.json b/src/assets/json-schemas/ocpp/2.0/FirmwareStatusNotificationRequest.json index d161ebcd..94c39323 100644 --- a/src/assets/json-schemas/ocpp/2.0/FirmwareStatusNotificationRequest.json +++ b/src/assets/json-schemas/ocpp/2.0/FirmwareStatusNotificationRequest.json @@ -19,7 +19,6 @@ "description": "This contains the progress status of the firmware installation.\r\n", "javaType": "FirmwareStatusEnum", "type": "string", - "additionalProperties": false, "enum": [ "Downloaded", "DownloadFailed", diff --git a/src/assets/json-schemas/ocpp/2.0/Get15118EVCertificateRequest.json b/src/assets/json-schemas/ocpp/2.0/Get15118EVCertificateRequest.json index f4810257..18630302 100644 --- a/src/assets/json-schemas/ocpp/2.0/Get15118EVCertificateRequest.json +++ b/src/assets/json-schemas/ocpp/2.0/Get15118EVCertificateRequest.json @@ -19,7 +19,6 @@ "description": "Defines whether certificate needs to be installed or updated.\r\n", "javaType": "CertificateActionEnum", "type": "string", - "additionalProperties": false, "enum": ["Install", "Update"] } }, diff --git a/src/assets/json-schemas/ocpp/2.0/Get15118EVCertificateResponse.json b/src/assets/json-schemas/ocpp/2.0/Get15118EVCertificateResponse.json index 6e832376..00b43f98 100644 --- a/src/assets/json-schemas/ocpp/2.0/Get15118EVCertificateResponse.json +++ b/src/assets/json-schemas/ocpp/2.0/Get15118EVCertificateResponse.json @@ -19,7 +19,6 @@ "description": "Indicates whether the message was processed properly.\r\n", "javaType": "Iso15118EVCertificateStatusEnum", "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Failed"] }, "StatusInfoType": { diff --git a/src/assets/json-schemas/ocpp/2.0/GetBaseReportRequest.json b/src/assets/json-schemas/ocpp/2.0/GetBaseReportRequest.json index d8c02503..4230df7e 100644 --- a/src/assets/json-schemas/ocpp/2.0/GetBaseReportRequest.json +++ b/src/assets/json-schemas/ocpp/2.0/GetBaseReportRequest.json @@ -19,7 +19,6 @@ "description": "This field specifies the report base.\r\n", "javaType": "ReportBaseEnum", "type": "string", - "additionalProperties": false, "enum": ["ConfigurationInventory", "FullInventory", "SummaryInventory"] } }, diff --git a/src/assets/json-schemas/ocpp/2.0/GetBaseReportResponse.json b/src/assets/json-schemas/ocpp/2.0/GetBaseReportResponse.json index 2fcfc011..b2807f3f 100644 --- a/src/assets/json-schemas/ocpp/2.0/GetBaseReportResponse.json +++ b/src/assets/json-schemas/ocpp/2.0/GetBaseReportResponse.json @@ -19,7 +19,6 @@ "description": "This indicates whether the Charging Station is able to accept this request.\r\n", "javaType": "GenericDeviceModelStatusEnum", "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Rejected", "NotSupported", "EmptyResultSet"] }, "StatusInfoType": { diff --git a/src/assets/json-schemas/ocpp/2.0/GetCertificateStatusRequest.json b/src/assets/json-schemas/ocpp/2.0/GetCertificateStatusRequest.json index 95d0b8a6..c6ffddc9 100644 --- a/src/assets/json-schemas/ocpp/2.0/GetCertificateStatusRequest.json +++ b/src/assets/json-schemas/ocpp/2.0/GetCertificateStatusRequest.json @@ -19,7 +19,6 @@ "description": "Used algorithms for the hashes provided.\r\n", "javaType": "HashAlgorithmEnum", "type": "string", - "additionalProperties": false, "enum": ["SHA256", "SHA384", "SHA512"] }, "OCSPRequestDataType": { diff --git a/src/assets/json-schemas/ocpp/2.0/GetCertificateStatusResponse.json b/src/assets/json-schemas/ocpp/2.0/GetCertificateStatusResponse.json index cd1ca175..67ddf7b6 100644 --- a/src/assets/json-schemas/ocpp/2.0/GetCertificateStatusResponse.json +++ b/src/assets/json-schemas/ocpp/2.0/GetCertificateStatusResponse.json @@ -19,7 +19,6 @@ "description": "This indicates whether the charging station was able to retrieve the OCSP certificate status.\r\n", "javaType": "GetCertificateStatusEnum", "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Failed"] }, "StatusInfoType": { diff --git a/src/assets/json-schemas/ocpp/2.0/GetChargingProfilesRequest.json b/src/assets/json-schemas/ocpp/2.0/GetChargingProfilesRequest.json index 7870b843..01d83379 100644 --- a/src/assets/json-schemas/ocpp/2.0/GetChargingProfilesRequest.json +++ b/src/assets/json-schemas/ocpp/2.0/GetChargingProfilesRequest.json @@ -18,14 +18,12 @@ "ChargingLimitSourceEnumType": { "javaType": "ChargingLimitSourceEnum", "type": "string", - "additionalProperties": false, "enum": ["EMS", "Other", "SO", "CSO"] }, "ChargingProfilePurposeEnumType": { "description": "Charging_ Profile. Charging_ Profile_ Purpose. Charging_ Profile_ Purpose_ Code\r\nurn:x-oca:ocpp:uid:1:569231\r\nDefines the purpose of the schedule transferred by this profile\r\n", "javaType": "ChargingProfilePurposeEnum", "type": "string", - "additionalProperties": false, "enum": [ "ChargingStationExternalConstraints", "ChargingStationMaxProfile", @@ -52,7 +50,6 @@ "chargingProfileId": { "description": "List of all the chargingProfileIds requested. Any ChargingProfile that matches one of these profiles will be reported. If omitted, the Charging Station SHALL not filter on chargingProfileId. This field SHALL NOT contain more ids than set in <<configkey-charging-profile-entries,ChargingProfileEntries.maxLimit>>\r\n\r\n", "type": "array", - "additionalItems": false, "items": { "type": "integer" }, @@ -61,7 +58,6 @@ "chargingLimitSource": { "description": "For which charging limit sources, charging profiles SHALL be reported. If omitted, the Charging Station SHALL not filter on chargingLimitSource.\r\n", "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/ChargingLimitSourceEnumType" }, diff --git a/src/assets/json-schemas/ocpp/2.0/GetChargingProfilesResponse.json b/src/assets/json-schemas/ocpp/2.0/GetChargingProfilesResponse.json index c10cc17b..3d26c0da 100644 --- a/src/assets/json-schemas/ocpp/2.0/GetChargingProfilesResponse.json +++ b/src/assets/json-schemas/ocpp/2.0/GetChargingProfilesResponse.json @@ -19,7 +19,6 @@ "description": "This indicates whether the Charging Station is able to process this request and will send <<reportchargingprofilesrequest, ReportChargingProfilesRequest>> messages.\r\n", "javaType": "GetChargingProfileStatusEnum", "type": "string", - "additionalProperties": false, "enum": ["Accepted", "NoProfiles"] }, "StatusInfoType": { diff --git a/src/assets/json-schemas/ocpp/2.0/GetCompositeScheduleRequest.json b/src/assets/json-schemas/ocpp/2.0/GetCompositeScheduleRequest.json index c93df482..120c763f 100644 --- a/src/assets/json-schemas/ocpp/2.0/GetCompositeScheduleRequest.json +++ b/src/assets/json-schemas/ocpp/2.0/GetCompositeScheduleRequest.json @@ -19,7 +19,6 @@ "description": "Can be used to force a power or current profile.\r\n\r\n", "javaType": "ChargingRateUnitEnum", "type": "string", - "additionalProperties": false, "enum": ["W", "A"] } }, diff --git a/src/assets/json-schemas/ocpp/2.0/GetCompositeScheduleResponse.json b/src/assets/json-schemas/ocpp/2.0/GetCompositeScheduleResponse.json index 5f6301ce..6233a25f 100644 --- a/src/assets/json-schemas/ocpp/2.0/GetCompositeScheduleResponse.json +++ b/src/assets/json-schemas/ocpp/2.0/GetCompositeScheduleResponse.json @@ -19,14 +19,12 @@ "description": "The unit of measure Limit is\r\nexpressed in.\r\n", "javaType": "ChargingRateUnitEnum", "type": "string", - "additionalProperties": false, "enum": ["W", "A"] }, "GenericStatusEnumType": { "description": "The Charging Station will indicate if it was\r\nable to process the request\r\n", "javaType": "GenericStatusEnum", "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Rejected"] }, "ChargingSchedulePeriodType": { @@ -68,7 +66,6 @@ }, "chargingSchedulePeriod": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/ChargingSchedulePeriodType" }, diff --git a/src/assets/json-schemas/ocpp/2.0/GetDisplayMessagesRequest.json b/src/assets/json-schemas/ocpp/2.0/GetDisplayMessagesRequest.json index 696064da..4d484fa2 100644 --- a/src/assets/json-schemas/ocpp/2.0/GetDisplayMessagesRequest.json +++ b/src/assets/json-schemas/ocpp/2.0/GetDisplayMessagesRequest.json @@ -19,14 +19,12 @@ "description": "If provided the Charging Station shall return Display Messages with the given priority only.\r\n", "javaType": "MessagePriorityEnum", "type": "string", - "additionalProperties": false, "enum": ["AlwaysFront", "InFront", "NormalCycle"] }, "MessageStateEnumType": { "description": "If provided the Charging Station shall return Display Messages with the given state only. \r\n", "javaType": "MessageStateEnum", "type": "string", - "additionalProperties": false, "enum": ["Charging", "Faulted", "Idle", "Unavailable"] } }, @@ -39,7 +37,6 @@ "id": { "description": "If provided the Charging Station shall return Display Messages of the given ids. This field SHALL NOT contain more ids than set in <<configkey-number-of-display-messages,NumberOfDisplayMessages.maxLimit>>\r\n\r\n", "type": "array", - "additionalItems": false, "items": { "type": "integer" }, diff --git a/src/assets/json-schemas/ocpp/2.0/GetDisplayMessagesResponse.json b/src/assets/json-schemas/ocpp/2.0/GetDisplayMessagesResponse.json index 6db8afef..ccef7a31 100644 --- a/src/assets/json-schemas/ocpp/2.0/GetDisplayMessagesResponse.json +++ b/src/assets/json-schemas/ocpp/2.0/GetDisplayMessagesResponse.json @@ -19,7 +19,6 @@ "description": "Indicates if the Charging Station has Display Messages that match the request criteria in the <<getdisplaymessagesrequest,GetDisplayMessagesRequest>>\r\n", "javaType": "GetDisplayMessagesStatusEnum", "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Unknown"] }, "StatusInfoType": { diff --git a/src/assets/json-schemas/ocpp/2.0/GetInstalledCertificateIdsRequest.json b/src/assets/json-schemas/ocpp/2.0/GetInstalledCertificateIdsRequest.json index c6c1cf4f..53f22dce 100644 --- a/src/assets/json-schemas/ocpp/2.0/GetInstalledCertificateIdsRequest.json +++ b/src/assets/json-schemas/ocpp/2.0/GetInstalledCertificateIdsRequest.json @@ -18,7 +18,6 @@ "GetCertificateIdUseEnumType": { "javaType": "GetCertificateIdUseEnum", "type": "string", - "additionalProperties": false, "enum": [ "V2GRootCertificate", "MORootCertificate", @@ -37,7 +36,6 @@ "certificateType": { "description": "Indicates the type of certificates requested. When omitted, all certificate types are requested.\r\n", "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/GetCertificateIdUseEnumType" }, diff --git a/src/assets/json-schemas/ocpp/2.0/GetInstalledCertificateIdsResponse.json b/src/assets/json-schemas/ocpp/2.0/GetInstalledCertificateIdsResponse.json index 804a9d21..46f57691 100644 --- a/src/assets/json-schemas/ocpp/2.0/GetInstalledCertificateIdsResponse.json +++ b/src/assets/json-schemas/ocpp/2.0/GetInstalledCertificateIdsResponse.json @@ -19,7 +19,6 @@ "description": "Indicates the type of the requested certificate(s).\r\n", "javaType": "GetCertificateIdUseEnum", "type": "string", - "additionalProperties": false, "enum": [ "V2GRootCertificate", "MORootCertificate", @@ -32,14 +31,12 @@ "description": "Charging Station indicates if it can process the request.\r\n", "javaType": "GetInstalledCertificateStatusEnum", "type": "string", - "additionalProperties": false, "enum": ["Accepted", "NotFound"] }, "HashAlgorithmEnumType": { "description": "Used algorithms for the hashes provided.\r\n", "javaType": "HashAlgorithmEnum", "type": "string", - "additionalProperties": false, "enum": ["SHA256", "SHA384", "SHA512"] }, "CertificateHashDataChainType": { @@ -58,7 +55,6 @@ }, "childCertificateHashData": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/CertificateHashDataType" }, @@ -134,7 +130,6 @@ }, "certificateHashDataChain": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/CertificateHashDataChainType" }, diff --git a/src/assets/json-schemas/ocpp/2.0/GetLogRequest.json b/src/assets/json-schemas/ocpp/2.0/GetLogRequest.json index 44f05a43..9198b82f 100644 --- a/src/assets/json-schemas/ocpp/2.0/GetLogRequest.json +++ b/src/assets/json-schemas/ocpp/2.0/GetLogRequest.json @@ -19,7 +19,6 @@ "description": "This contains the type of log file that the Charging Station\r\nshould send.\r\n", "javaType": "LogEnum", "type": "string", - "additionalProperties": false, "enum": ["DiagnosticsLog", "SecurityLog"] }, "LogParametersType": { diff --git a/src/assets/json-schemas/ocpp/2.0/GetLogResponse.json b/src/assets/json-schemas/ocpp/2.0/GetLogResponse.json index 7802c0aa..096da793 100644 --- a/src/assets/json-schemas/ocpp/2.0/GetLogResponse.json +++ b/src/assets/json-schemas/ocpp/2.0/GetLogResponse.json @@ -19,7 +19,6 @@ "description": "This field indicates whether the Charging Station was able to accept the request.\r\n", "javaType": "LogStatusEnum", "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Rejected", "AcceptedCanceled"] }, "StatusInfoType": { diff --git a/src/assets/json-schemas/ocpp/2.0/GetMonitoringReportRequest.json b/src/assets/json-schemas/ocpp/2.0/GetMonitoringReportRequest.json index a30c734b..95c2de36 100644 --- a/src/assets/json-schemas/ocpp/2.0/GetMonitoringReportRequest.json +++ b/src/assets/json-schemas/ocpp/2.0/GetMonitoringReportRequest.json @@ -18,7 +18,6 @@ "MonitoringCriterionEnumType": { "javaType": "MonitoringCriterionEnum", "type": "string", - "additionalProperties": false, "enum": ["ThresholdMonitoring", "DeltaMonitoring", "PeriodicMonitoring"] }, "ComponentType": { @@ -115,7 +114,6 @@ }, "componentVariable": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/ComponentVariableType" }, @@ -128,7 +126,6 @@ "monitoringCriteria": { "description": "This field contains criteria for components for which a monitoring report is requested\r\n", "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/MonitoringCriterionEnumType" }, diff --git a/src/assets/json-schemas/ocpp/2.0/GetMonitoringReportResponse.json b/src/assets/json-schemas/ocpp/2.0/GetMonitoringReportResponse.json index b9481e40..d771578e 100644 --- a/src/assets/json-schemas/ocpp/2.0/GetMonitoringReportResponse.json +++ b/src/assets/json-schemas/ocpp/2.0/GetMonitoringReportResponse.json @@ -19,7 +19,6 @@ "description": "This field indicates whether the Charging Station was able to accept the request.\r\n", "javaType": "GenericDeviceModelStatusEnum", "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Rejected", "NotSupported", "EmptyResultSet"] }, "StatusInfoType": { diff --git a/src/assets/json-schemas/ocpp/2.0/GetReportRequest.json b/src/assets/json-schemas/ocpp/2.0/GetReportRequest.json index 51db4b73..d724f710 100644 --- a/src/assets/json-schemas/ocpp/2.0/GetReportRequest.json +++ b/src/assets/json-schemas/ocpp/2.0/GetReportRequest.json @@ -18,7 +18,6 @@ "ComponentCriterionEnumType": { "javaType": "ComponentCriterionEnum", "type": "string", - "additionalProperties": false, "enum": ["Active", "Available", "Enabled", "Problem"] }, "ComponentType": { @@ -115,7 +114,6 @@ }, "componentVariable": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/ComponentVariableType" }, @@ -128,7 +126,6 @@ "componentCriteria": { "description": "This field contains criteria for components for which a report is requested\r\n", "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/ComponentCriterionEnumType" }, diff --git a/src/assets/json-schemas/ocpp/2.0/GetReportResponse.json b/src/assets/json-schemas/ocpp/2.0/GetReportResponse.json index ad08a956..2aebc37e 100644 --- a/src/assets/json-schemas/ocpp/2.0/GetReportResponse.json +++ b/src/assets/json-schemas/ocpp/2.0/GetReportResponse.json @@ -19,7 +19,6 @@ "description": "This field indicates whether the Charging Station was able to accept the request.\r\n", "javaType": "GenericDeviceModelStatusEnum", "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Rejected", "NotSupported", "EmptyResultSet"] }, "StatusInfoType": { diff --git a/src/assets/json-schemas/ocpp/2.0/GetVariablesRequest.json b/src/assets/json-schemas/ocpp/2.0/GetVariablesRequest.json index 82c28dfd..77eb21be 100644 --- a/src/assets/json-schemas/ocpp/2.0/GetVariablesRequest.json +++ b/src/assets/json-schemas/ocpp/2.0/GetVariablesRequest.json @@ -20,7 +20,6 @@ "javaType": "AttributeEnum", "type": "string", "default": "Actual", - "additionalProperties": false, "enum": ["Actual", "Target", "MinSet", "MaxSet"] }, "ComponentType": { @@ -120,7 +119,6 @@ }, "getVariableData": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/GetVariableDataType" }, diff --git a/src/assets/json-schemas/ocpp/2.0/GetVariablesResponse.json b/src/assets/json-schemas/ocpp/2.0/GetVariablesResponse.json index a1c2434e..bec2aab7 100644 --- a/src/assets/json-schemas/ocpp/2.0/GetVariablesResponse.json +++ b/src/assets/json-schemas/ocpp/2.0/GetVariablesResponse.json @@ -20,14 +20,12 @@ "javaType": "AttributeEnum", "type": "string", "default": "Actual", - "additionalProperties": false, "enum": ["Actual", "Target", "MinSet", "MaxSet"] }, "GetVariableStatusEnumType": { "description": "Result status of getting the variable.\r\n\r\n", "javaType": "GetVariableStatusEnum", "type": "string", - "additionalProperties": false, "enum": [ "Accepted", "Rejected", @@ -166,7 +164,6 @@ }, "getVariableResult": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/GetVariableResultType" }, diff --git a/src/assets/json-schemas/ocpp/2.0/InstallCertificateRequest.json b/src/assets/json-schemas/ocpp/2.0/InstallCertificateRequest.json index f0c97ff9..9dcd2963 100644 --- a/src/assets/json-schemas/ocpp/2.0/InstallCertificateRequest.json +++ b/src/assets/json-schemas/ocpp/2.0/InstallCertificateRequest.json @@ -19,7 +19,6 @@ "description": "Indicates the certificate type that is sent.\r\n", "javaType": "InstallCertificateUseEnum", "type": "string", - "additionalProperties": false, "enum": [ "V2GRootCertificate", "MORootCertificate", diff --git a/src/assets/json-schemas/ocpp/2.0/InstallCertificateResponse.json b/src/assets/json-schemas/ocpp/2.0/InstallCertificateResponse.json index aec7fb01..9a5335b2 100644 --- a/src/assets/json-schemas/ocpp/2.0/InstallCertificateResponse.json +++ b/src/assets/json-schemas/ocpp/2.0/InstallCertificateResponse.json @@ -19,7 +19,6 @@ "description": "Charging Station indicates if installation was successful.\r\n", "javaType": "InstallCertificateStatusEnum", "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Rejected", "Failed"] }, "StatusInfoType": { diff --git a/src/assets/json-schemas/ocpp/2.0/LogStatusNotificationRequest.json b/src/assets/json-schemas/ocpp/2.0/LogStatusNotificationRequest.json index a5b6031a..aa56e3be 100644 --- a/src/assets/json-schemas/ocpp/2.0/LogStatusNotificationRequest.json +++ b/src/assets/json-schemas/ocpp/2.0/LogStatusNotificationRequest.json @@ -19,7 +19,6 @@ "description": "This contains the status of the log upload.\r\n", "javaType": "UploadLogStatusEnum", "type": "string", - "additionalProperties": false, "enum": [ "BadMessage", "Idle", diff --git a/src/assets/json-schemas/ocpp/2.0/MeterValuesRequest.json b/src/assets/json-schemas/ocpp/2.0/MeterValuesRequest.json index 873c846b..e220f799 100644 --- a/src/assets/json-schemas/ocpp/2.0/MeterValuesRequest.json +++ b/src/assets/json-schemas/ocpp/2.0/MeterValuesRequest.json @@ -21,7 +21,6 @@ "javaType": "LocationEnum", "type": "string", "default": "Outlet", - "additionalProperties": false, "enum": ["Body", "Cable", "EV", "Inlet", "Outlet"] }, "MeasurandEnumType": { @@ -29,7 +28,6 @@ "javaType": "MeasurandEnum", "type": "string", "default": "Energy.Active.Import.Register", - "additionalProperties": false, "enum": [ "Current.Export", "Current.Import", @@ -62,7 +60,6 @@ "description": "Sampled_ Value. Phase. Phase_ Code\r\nurn:x-oca:ocpp:uid:1:569264\r\nIndicates how the measured value is to be interpreted. For instance between L1 and neutral (L1-N) Please note that not all values of phase are applicable to all Measurands. When phase is absent, the measured value is interpreted as an overall value.\r\n", "javaType": "PhaseEnum", "type": "string", - "additionalProperties": false, "enum": ["L1", "L2", "L3", "N", "L1-N", "L2-N", "L3-N", "L1-L2", "L2-L3", "L3-L1"] }, "ReadingContextEnumType": { @@ -70,7 +67,6 @@ "javaType": "ReadingContextEnum", "type": "string", "default": "Sample.Periodic", - "additionalProperties": false, "enum": [ "Interruption.Begin", "Interruption.End", @@ -93,7 +89,6 @@ }, "sampledValue": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/SampledValueType" }, @@ -208,7 +203,6 @@ }, "meterValue": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/MeterValueType" }, diff --git a/src/assets/json-schemas/ocpp/2.0/NotifyChargingLimitRequest.json b/src/assets/json-schemas/ocpp/2.0/NotifyChargingLimitRequest.json index 5196ae6b..db4be7ef 100644 --- a/src/assets/json-schemas/ocpp/2.0/NotifyChargingLimitRequest.json +++ b/src/assets/json-schemas/ocpp/2.0/NotifyChargingLimitRequest.json @@ -19,21 +19,18 @@ "description": "Charging_ Limit. Charging_ Limit_ Source. Charging_ Limit_ Source_ Code\r\nurn:x-enexis:ecdm:uid:1:570845\r\nRepresents the source of the charging limit.\r\n", "javaType": "ChargingLimitSourceEnum", "type": "string", - "additionalProperties": false, "enum": ["EMS", "Other", "SO", "CSO"] }, "ChargingRateUnitEnumType": { "description": "Charging_ Schedule. Charging_ Rate_ Unit. Charging_ Rate_ Unit_ Code\r\nurn:x-oca:ocpp:uid:1:569238\r\nThe unit of measure Limit is expressed in.\r\n", "javaType": "ChargingRateUnitEnum", "type": "string", - "additionalProperties": false, "enum": ["W", "A"] }, "CostKindEnumType": { "description": "Cost. Cost_ Kind. Cost_ Kind_ Code\r\nurn:x-oca:ocpp:uid:1:569243\r\nThe kind of cost referred to in the message element amount\r\n", "javaType": "CostKindEnum", "type": "string", - "additionalProperties": false, "enum": ["CarbonDioxideEmission", "RelativePricePercentage", "RenewableGenerationPercentage"] }, "ChargingLimitType": { @@ -110,7 +107,6 @@ }, "chargingSchedulePeriod": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/ChargingSchedulePeriodType" }, @@ -142,7 +138,6 @@ }, "cost": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/CostType" }, @@ -214,7 +209,6 @@ }, "consumptionCost": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/ConsumptionCostType" }, @@ -248,7 +242,6 @@ }, "salesTariffEntry": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/SalesTariffEntryType" }, @@ -267,7 +260,6 @@ }, "chargingSchedule": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/ChargingScheduleType" }, diff --git a/src/assets/json-schemas/ocpp/2.0/NotifyDisplayMessagesRequest.json b/src/assets/json-schemas/ocpp/2.0/NotifyDisplayMessagesRequest.json index 1238d336..06e8d44e 100644 --- a/src/assets/json-schemas/ocpp/2.0/NotifyDisplayMessagesRequest.json +++ b/src/assets/json-schemas/ocpp/2.0/NotifyDisplayMessagesRequest.json @@ -19,21 +19,18 @@ "description": "Message_ Content. Format. Message_ Format_ Code\r\nurn:x-enexis:ecdm:uid:1:570848\r\nFormat of the message.\r\n", "javaType": "MessageFormatEnum", "type": "string", - "additionalProperties": false, "enum": ["ASCII", "HTML", "URI", "UTF8"] }, "MessagePriorityEnumType": { "description": "Message_ Info. Priority. Message_ Priority_ Code\r\nurn:x-enexis:ecdm:uid:1:569253\r\nWith what priority should this message be shown\r\n", "javaType": "MessagePriorityEnum", "type": "string", - "additionalProperties": false, "enum": ["AlwaysFront", "InFront", "NormalCycle"] }, "MessageStateEnumType": { "description": "Message_ Info. State. Message_ State_ Code\r\nurn:x-enexis:ecdm:uid:1:569254\r\nDuring what state should this message be shown. When omitted this message should be shown in any state of the Charging Station.\r\n", "javaType": "MessageStateEnum", "type": "string", - "additionalProperties": false, "enum": ["Charging", "Faulted", "Idle", "Unavailable"] }, "ComponentType": { @@ -158,7 +155,6 @@ }, "messageInfo": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/MessageInfoType" }, diff --git a/src/assets/json-schemas/ocpp/2.0/NotifyEVChargingNeedsRequest.json b/src/assets/json-schemas/ocpp/2.0/NotifyEVChargingNeedsRequest.json index 89f515be..f4d7b004 100644 --- a/src/assets/json-schemas/ocpp/2.0/NotifyEVChargingNeedsRequest.json +++ b/src/assets/json-schemas/ocpp/2.0/NotifyEVChargingNeedsRequest.json @@ -19,7 +19,6 @@ "description": "Charging_ Needs. Requested. Energy_ Transfer_ Mode_ Code\r\nurn:x-oca:ocpp:uid:1:569209\r\nMode of energy transfer requested by the EV.\r\n", "javaType": "EnergyTransferModeEnum", "type": "string", - "additionalProperties": false, "enum": ["DC", "AC_single_phase", "AC_two_phase", "AC_three_phase"] }, "ACChargingParametersType": { diff --git a/src/assets/json-schemas/ocpp/2.0/NotifyEVChargingNeedsResponse.json b/src/assets/json-schemas/ocpp/2.0/NotifyEVChargingNeedsResponse.json index b0e56a11..a0c48554 100644 --- a/src/assets/json-schemas/ocpp/2.0/NotifyEVChargingNeedsResponse.json +++ b/src/assets/json-schemas/ocpp/2.0/NotifyEVChargingNeedsResponse.json @@ -19,7 +19,6 @@ "description": "Returns whether the CSMS has been able to process the message successfully. It does not imply that the evChargingNeeds can be met with the current charging profile.\r\n", "javaType": "NotifyEVChargingNeedsStatusEnum", "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Rejected", "Processing"] }, "StatusInfoType": { diff --git a/src/assets/json-schemas/ocpp/2.0/NotifyEVChargingScheduleRequest.json b/src/assets/json-schemas/ocpp/2.0/NotifyEVChargingScheduleRequest.json index 6d446017..a07d7c13 100644 --- a/src/assets/json-schemas/ocpp/2.0/NotifyEVChargingScheduleRequest.json +++ b/src/assets/json-schemas/ocpp/2.0/NotifyEVChargingScheduleRequest.json @@ -19,14 +19,12 @@ "description": "Charging_ Schedule. Charging_ Rate_ Unit. Charging_ Rate_ Unit_ Code\r\nurn:x-oca:ocpp:uid:1:569238\r\nThe unit of measure Limit is expressed in.\r\n", "javaType": "ChargingRateUnitEnum", "type": "string", - "additionalProperties": false, "enum": ["W", "A"] }, "CostKindEnumType": { "description": "Cost. Cost_ Kind. Cost_ Kind_ Code\r\nurn:x-oca:ocpp:uid:1:569243\r\nThe kind of cost referred to in the message element amount\r\n", "javaType": "CostKindEnum", "type": "string", - "additionalProperties": false, "enum": ["CarbonDioxideEmission", "RelativePricePercentage", "RenewableGenerationPercentage"] }, "ChargingSchedulePeriodType": { @@ -84,7 +82,6 @@ }, "chargingSchedulePeriod": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/ChargingSchedulePeriodType" }, @@ -116,7 +113,6 @@ }, "cost": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/CostType" }, @@ -188,7 +184,6 @@ }, "consumptionCost": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/ConsumptionCostType" }, @@ -222,7 +217,6 @@ }, "salesTariffEntry": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/SalesTariffEntryType" }, diff --git a/src/assets/json-schemas/ocpp/2.0/NotifyEVChargingScheduleResponse.json b/src/assets/json-schemas/ocpp/2.0/NotifyEVChargingScheduleResponse.json index ba622397..5fbadc88 100644 --- a/src/assets/json-schemas/ocpp/2.0/NotifyEVChargingScheduleResponse.json +++ b/src/assets/json-schemas/ocpp/2.0/NotifyEVChargingScheduleResponse.json @@ -19,7 +19,6 @@ "description": "Returns whether the CSMS has been able to process the message successfully. It does not imply any approval of the charging schedule.\r\n", "javaType": "GenericStatusEnum", "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Rejected"] }, "StatusInfoType": { diff --git a/src/assets/json-schemas/ocpp/2.0/NotifyEventRequest.json b/src/assets/json-schemas/ocpp/2.0/NotifyEventRequest.json index 9692cd15..e0b97835 100644 --- a/src/assets/json-schemas/ocpp/2.0/NotifyEventRequest.json +++ b/src/assets/json-schemas/ocpp/2.0/NotifyEventRequest.json @@ -19,14 +19,12 @@ "description": "Specifies the event notification type of the message.\r\n\r\n", "javaType": "EventNotificationEnum", "type": "string", - "additionalProperties": false, "enum": ["HardWiredNotification", "HardWiredMonitor", "PreconfiguredMonitor", "CustomMonitor"] }, "EventTriggerEnumType": { "description": "Type of monitor that triggered this event, e.g. exceeding a threshold value.\r\n\r\n", "javaType": "EventTriggerEnum", "type": "string", - "additionalProperties": false, "enum": ["Alerting", "Delta", "Periodic"] }, "ComponentType": { @@ -192,7 +190,6 @@ }, "eventData": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/EventDataType" }, diff --git a/src/assets/json-schemas/ocpp/2.0/NotifyMonitoringReportRequest.json b/src/assets/json-schemas/ocpp/2.0/NotifyMonitoringReportRequest.json index 055c809d..79893f49 100644 --- a/src/assets/json-schemas/ocpp/2.0/NotifyMonitoringReportRequest.json +++ b/src/assets/json-schemas/ocpp/2.0/NotifyMonitoringReportRequest.json @@ -19,7 +19,6 @@ "description": "The type of this monitor, e.g. a threshold, delta or periodic monitor. \r\n", "javaType": "MonitorEnum", "type": "string", - "additionalProperties": false, "enum": ["UpperThreshold", "LowerThreshold", "Delta", "Periodic", "PeriodicClockAligned"] }, "ComponentType": { @@ -84,7 +83,6 @@ }, "variableMonitoring": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/VariableMonitoringType" }, @@ -155,7 +153,6 @@ }, "monitor": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/MonitoringDataType" }, diff --git a/src/assets/json-schemas/ocpp/2.0/NotifyReportRequest.json b/src/assets/json-schemas/ocpp/2.0/NotifyReportRequest.json index 707693d4..3412fd12 100644 --- a/src/assets/json-schemas/ocpp/2.0/NotifyReportRequest.json +++ b/src/assets/json-schemas/ocpp/2.0/NotifyReportRequest.json @@ -20,14 +20,12 @@ "javaType": "AttributeEnum", "type": "string", "default": "Actual", - "additionalProperties": false, "enum": ["Actual", "Target", "MinSet", "MaxSet"] }, "DataEnumType": { "description": "Data type of this variable.\r\n", "javaType": "DataEnum", "type": "string", - "additionalProperties": false, "enum": [ "string", "decimal", @@ -44,7 +42,6 @@ "javaType": "MutabilityEnum", "type": "string", "default": "ReadWrite", - "additionalProperties": false, "enum": ["ReadOnly", "WriteOnly", "ReadWrite"] }, "ComponentType": { @@ -109,7 +106,6 @@ }, "variableAttribute": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/VariableAttributeType" }, @@ -231,7 +227,6 @@ }, "reportData": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/ReportDataType" }, diff --git a/src/assets/json-schemas/ocpp/2.0/PublishFirmwareResponse.json b/src/assets/json-schemas/ocpp/2.0/PublishFirmwareResponse.json index e2224677..2afed430 100644 --- a/src/assets/json-schemas/ocpp/2.0/PublishFirmwareResponse.json +++ b/src/assets/json-schemas/ocpp/2.0/PublishFirmwareResponse.json @@ -19,7 +19,6 @@ "description": "Indicates whether the request was accepted.\r\n", "javaType": "GenericStatusEnum", "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Rejected"] }, "StatusInfoType": { diff --git a/src/assets/json-schemas/ocpp/2.0/PublishFirmwareStatusNotificationRequest.json b/src/assets/json-schemas/ocpp/2.0/PublishFirmwareStatusNotificationRequest.json index c86102fa..e00d54de 100644 --- a/src/assets/json-schemas/ocpp/2.0/PublishFirmwareStatusNotificationRequest.json +++ b/src/assets/json-schemas/ocpp/2.0/PublishFirmwareStatusNotificationRequest.json @@ -19,7 +19,6 @@ "description": "This contains the progress status of the publishfirmware\r\ninstallation.\r\n", "javaType": "PublishFirmwareStatusEnum", "type": "string", - "additionalProperties": false, "enum": [ "Idle", "DownloadScheduled", @@ -46,7 +45,6 @@ "location": { "description": "Required if status is Published. Can be multiple URI’s, if the Local Controller supports e.g. HTTP, HTTPS, and FTP.\r\n", "type": "array", - "additionalItems": false, "items": { "type": "string", "maxLength": 512 diff --git a/src/assets/json-schemas/ocpp/2.0/ReportChargingProfilesRequest.json b/src/assets/json-schemas/ocpp/2.0/ReportChargingProfilesRequest.json index 0ffbba12..0915d523 100644 --- a/src/assets/json-schemas/ocpp/2.0/ReportChargingProfilesRequest.json +++ b/src/assets/json-schemas/ocpp/2.0/ReportChargingProfilesRequest.json @@ -19,21 +19,18 @@ "description": "Source that has installed this charging profile.\r\n", "javaType": "ChargingLimitSourceEnum", "type": "string", - "additionalProperties": false, "enum": ["EMS", "Other", "SO", "CSO"] }, "ChargingProfileKindEnumType": { "description": "Charging_ Profile. Charging_ Profile_ Kind. Charging_ Profile_ Kind_ Code\r\nurn:x-oca:ocpp:uid:1:569232\r\nIndicates the kind of schedule.\r\n", "javaType": "ChargingProfileKindEnum", "type": "string", - "additionalProperties": false, "enum": ["Absolute", "Recurring", "Relative"] }, "ChargingProfilePurposeEnumType": { "description": "Charging_ Profile. Charging_ Profile_ Purpose. Charging_ Profile_ Purpose_ Code\r\nurn:x-oca:ocpp:uid:1:569231\r\nDefines the purpose of the schedule transferred by this profile\r\n", "javaType": "ChargingProfilePurposeEnum", "type": "string", - "additionalProperties": false, "enum": [ "ChargingStationExternalConstraints", "ChargingStationMaxProfile", @@ -45,21 +42,18 @@ "description": "Charging_ Schedule. Charging_ Rate_ Unit. Charging_ Rate_ Unit_ Code\r\nurn:x-oca:ocpp:uid:1:569238\r\nThe unit of measure Limit is expressed in.\r\n", "javaType": "ChargingRateUnitEnum", "type": "string", - "additionalProperties": false, "enum": ["W", "A"] }, "CostKindEnumType": { "description": "Cost. Cost_ Kind. Cost_ Kind_ Code\r\nurn:x-oca:ocpp:uid:1:569243\r\nThe kind of cost referred to in the message element amount\r\n", "javaType": "CostKindEnum", "type": "string", - "additionalProperties": false, "enum": ["CarbonDioxideEmission", "RelativePricePercentage", "RenewableGenerationPercentage"] }, "RecurrencyKindEnumType": { "description": "Charging_ Profile. Recurrency_ Kind. Recurrency_ Kind_ Code\r\nurn:x-oca:ocpp:uid:1:569233\r\nIndicates the start point of a recurrence.\r\n", "javaType": "RecurrencyKindEnum", "type": "string", - "additionalProperties": false, "enum": ["Daily", "Weekly"] }, "ChargingProfileType": { @@ -100,7 +94,6 @@ }, "chargingSchedule": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/ChargingScheduleType" }, @@ -176,7 +169,6 @@ }, "chargingSchedulePeriod": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/ChargingSchedulePeriodType" }, @@ -208,7 +200,6 @@ }, "cost": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/CostType" }, @@ -280,7 +271,6 @@ }, "consumptionCost": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/ConsumptionCostType" }, @@ -314,7 +304,6 @@ }, "salesTariffEntry": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/SalesTariffEntryType" }, @@ -340,7 +329,6 @@ }, "chargingProfile": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/ChargingProfileType" }, diff --git a/src/assets/json-schemas/ocpp/2.0/RequestStartTransactionRequest.json b/src/assets/json-schemas/ocpp/2.0/RequestStartTransactionRequest.json index 7af9b74d..1ea5eb6a 100644 --- a/src/assets/json-schemas/ocpp/2.0/RequestStartTransactionRequest.json +++ b/src/assets/json-schemas/ocpp/2.0/RequestStartTransactionRequest.json @@ -19,14 +19,12 @@ "description": "Charging_ Profile. Charging_ Profile_ Kind. Charging_ Profile_ Kind_ Code\r\nurn:x-oca:ocpp:uid:1:569232\r\nIndicates the kind of schedule.\r\n", "javaType": "ChargingProfileKindEnum", "type": "string", - "additionalProperties": false, "enum": ["Absolute", "Recurring", "Relative"] }, "ChargingProfilePurposeEnumType": { "description": "Charging_ Profile. Charging_ Profile_ Purpose. Charging_ Profile_ Purpose_ Code\r\nurn:x-oca:ocpp:uid:1:569231\r\nDefines the purpose of the schedule transferred by this profile\r\n", "javaType": "ChargingProfilePurposeEnum", "type": "string", - "additionalProperties": false, "enum": [ "ChargingStationExternalConstraints", "ChargingStationMaxProfile", @@ -38,21 +36,18 @@ "description": "Charging_ Schedule. Charging_ Rate_ Unit. Charging_ Rate_ Unit_ Code\r\nurn:x-oca:ocpp:uid:1:569238\r\nThe unit of measure Limit is expressed in.\r\n", "javaType": "ChargingRateUnitEnum", "type": "string", - "additionalProperties": false, "enum": ["W", "A"] }, "CostKindEnumType": { "description": "Cost. Cost_ Kind. Cost_ Kind_ Code\r\nurn:x-oca:ocpp:uid:1:569243\r\nThe kind of cost referred to in the message element amount\r\n", "javaType": "CostKindEnum", "type": "string", - "additionalProperties": false, "enum": ["CarbonDioxideEmission", "RelativePricePercentage", "RenewableGenerationPercentage"] }, "IdTokenEnumType": { "description": "Enumeration of possible idToken types.\r\n", "javaType": "IdTokenEnum", "type": "string", - "additionalProperties": false, "enum": [ "Central", "eMAID", @@ -68,7 +63,6 @@ "description": "Charging_ Profile. Recurrency_ Kind. Recurrency_ Kind_ Code\r\nurn:x-oca:ocpp:uid:1:569233\r\nIndicates the start point of a recurrence.\r\n", "javaType": "RecurrencyKindEnum", "type": "string", - "additionalProperties": false, "enum": ["Daily", "Weekly"] }, "AdditionalInfoType": { @@ -131,7 +125,6 @@ }, "chargingSchedule": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/ChargingScheduleType" }, @@ -207,7 +200,6 @@ }, "chargingSchedulePeriod": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/ChargingSchedulePeriodType" }, @@ -239,7 +231,6 @@ }, "cost": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/CostType" }, @@ -283,7 +274,6 @@ }, "additionalInfo": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/AdditionalInfoType" }, @@ -339,7 +329,6 @@ }, "consumptionCost": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/ConsumptionCostType" }, @@ -373,7 +362,6 @@ }, "salesTariffEntry": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/SalesTariffEntryType" }, diff --git a/src/assets/json-schemas/ocpp/2.0/RequestStartTransactionResponse.json b/src/assets/json-schemas/ocpp/2.0/RequestStartTransactionResponse.json index 905835c0..49b47b7e 100644 --- a/src/assets/json-schemas/ocpp/2.0/RequestStartTransactionResponse.json +++ b/src/assets/json-schemas/ocpp/2.0/RequestStartTransactionResponse.json @@ -19,7 +19,6 @@ "description": "Status indicating whether the Charging Station accepts the request to start a transaction.\r\n", "javaType": "RequestStartStopStatusEnum", "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Rejected"] }, "StatusInfoType": { diff --git a/src/assets/json-schemas/ocpp/2.0/RequestStopTransactionResponse.json b/src/assets/json-schemas/ocpp/2.0/RequestStopTransactionResponse.json index 1663593a..d9ced9a2 100644 --- a/src/assets/json-schemas/ocpp/2.0/RequestStopTransactionResponse.json +++ b/src/assets/json-schemas/ocpp/2.0/RequestStopTransactionResponse.json @@ -19,7 +19,6 @@ "description": "Status indicating whether Charging Station accepts the request to stop a transaction.\r\n", "javaType": "RequestStartStopStatusEnum", "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Rejected"] }, "StatusInfoType": { diff --git a/src/assets/json-schemas/ocpp/2.0/ReservationStatusUpdateRequest.json b/src/assets/json-schemas/ocpp/2.0/ReservationStatusUpdateRequest.json index 4a942778..0f8e98c5 100644 --- a/src/assets/json-schemas/ocpp/2.0/ReservationStatusUpdateRequest.json +++ b/src/assets/json-schemas/ocpp/2.0/ReservationStatusUpdateRequest.json @@ -19,7 +19,6 @@ "description": "The updated reservation status.\r\n", "javaType": "ReservationUpdateStatusEnum", "type": "string", - "additionalProperties": false, "enum": ["Expired", "Removed"] } }, diff --git a/src/assets/json-schemas/ocpp/2.0/ReserveNowRequest.json b/src/assets/json-schemas/ocpp/2.0/ReserveNowRequest.json index d53bc5d2..e3b8b92f 100644 --- a/src/assets/json-schemas/ocpp/2.0/ReserveNowRequest.json +++ b/src/assets/json-schemas/ocpp/2.0/ReserveNowRequest.json @@ -19,7 +19,6 @@ "description": "This field specifies the connector type.\r\n", "javaType": "ConnectorEnum", "type": "string", - "additionalProperties": false, "enum": [ "cCCS1", "cCCS2", @@ -49,7 +48,6 @@ "description": "Enumeration of possible idToken types.\r\n", "javaType": "IdTokenEnum", "type": "string", - "additionalProperties": false, "enum": [ "Central", "eMAID", @@ -94,7 +92,6 @@ }, "additionalInfo": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/AdditionalInfoType" }, diff --git a/src/assets/json-schemas/ocpp/2.0/ReserveNowResponse.json b/src/assets/json-schemas/ocpp/2.0/ReserveNowResponse.json index 0efca45b..e2cf1ed2 100644 --- a/src/assets/json-schemas/ocpp/2.0/ReserveNowResponse.json +++ b/src/assets/json-schemas/ocpp/2.0/ReserveNowResponse.json @@ -19,7 +19,6 @@ "description": "This indicates the success or failure of the reservation.\r\n", "javaType": "ReserveNowStatusEnum", "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Faulted", "Occupied", "Rejected", "Unavailable"] }, "StatusInfoType": { diff --git a/src/assets/json-schemas/ocpp/2.0/ResetRequest.json b/src/assets/json-schemas/ocpp/2.0/ResetRequest.json index 5cedd734..3d11c017 100644 --- a/src/assets/json-schemas/ocpp/2.0/ResetRequest.json +++ b/src/assets/json-schemas/ocpp/2.0/ResetRequest.json @@ -19,7 +19,6 @@ "description": "This contains the type of reset that the Charging Station or EVSE should perform.\r\n", "javaType": "ResetEnum", "type": "string", - "additionalProperties": false, "enum": ["Immediate", "OnIdle"] } }, diff --git a/src/assets/json-schemas/ocpp/2.0/ResetResponse.json b/src/assets/json-schemas/ocpp/2.0/ResetResponse.json index 8ad654ca..f4879ada 100644 --- a/src/assets/json-schemas/ocpp/2.0/ResetResponse.json +++ b/src/assets/json-schemas/ocpp/2.0/ResetResponse.json @@ -19,7 +19,6 @@ "description": "This indicates whether the Charging Station is able to perform the reset.\r\n", "javaType": "ResetStatusEnum", "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Rejected", "Scheduled"] }, "StatusInfoType": { diff --git a/src/assets/json-schemas/ocpp/2.0/SendLocalListRequest.json b/src/assets/json-schemas/ocpp/2.0/SendLocalListRequest.json index c5272b2e..7917d9a5 100644 --- a/src/assets/json-schemas/ocpp/2.0/SendLocalListRequest.json +++ b/src/assets/json-schemas/ocpp/2.0/SendLocalListRequest.json @@ -19,7 +19,6 @@ "description": "ID_ Token. Status. Authorization_ Status\r\nurn:x-oca:ocpp:uid:1:569372\r\nCurrent status of the ID Token.\r\n", "javaType": "AuthorizationStatusEnum", "type": "string", - "additionalProperties": false, "enum": [ "Accepted", "Blocked", @@ -37,7 +36,6 @@ "description": "Enumeration of possible idToken types.\r\n", "javaType": "IdTokenEnum", "type": "string", - "additionalProperties": false, "enum": [ "Central", "eMAID", @@ -53,14 +51,12 @@ "description": "Message_ Content. Format. Message_ Format_ Code\r\nurn:x-enexis:ecdm:uid:1:570848\r\nFormat of the message.\r\n", "javaType": "MessageFormatEnum", "type": "string", - "additionalProperties": false, "enum": ["ASCII", "HTML", "URI", "UTF8"] }, "UpdateEnumType": { "description": "This contains the type of update (full or differential) of this request.\r\n", "javaType": "UpdateEnum", "type": "string", - "additionalProperties": false, "enum": ["Differential", "Full"] }, "AdditionalInfoType": { @@ -132,7 +128,6 @@ "evseId": { "description": "Only used when the IdToken is only valid for one or more specific EVSEs, not for the entire Charging Station.\r\n\r\n", "type": "array", - "additionalItems": false, "items": { "type": "integer" }, @@ -163,7 +158,6 @@ }, "additionalInfo": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/AdditionalInfoType" }, @@ -214,7 +208,6 @@ }, "localAuthorizationList": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/AuthorizationData" }, diff --git a/src/assets/json-schemas/ocpp/2.0/SendLocalListResponse.json b/src/assets/json-schemas/ocpp/2.0/SendLocalListResponse.json index c49037dd..016bfa7f 100644 --- a/src/assets/json-schemas/ocpp/2.0/SendLocalListResponse.json +++ b/src/assets/json-schemas/ocpp/2.0/SendLocalListResponse.json @@ -19,7 +19,6 @@ "description": "This indicates whether the Charging Station has successfully received and applied the update of the Local Authorization List.\r\n", "javaType": "SendLocalListStatusEnum", "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Failed", "VersionMismatch"] }, "StatusInfoType": { diff --git a/src/assets/json-schemas/ocpp/2.0/SetChargingProfileRequest.json b/src/assets/json-schemas/ocpp/2.0/SetChargingProfileRequest.json index 5307c431..b7138456 100644 --- a/src/assets/json-schemas/ocpp/2.0/SetChargingProfileRequest.json +++ b/src/assets/json-schemas/ocpp/2.0/SetChargingProfileRequest.json @@ -19,14 +19,12 @@ "description": "Charging_ Profile. Charging_ Profile_ Kind. Charging_ Profile_ Kind_ Code\r\nurn:x-oca:ocpp:uid:1:569232\r\nIndicates the kind of schedule.\r\n", "javaType": "ChargingProfileKindEnum", "type": "string", - "additionalProperties": false, "enum": ["Absolute", "Recurring", "Relative"] }, "ChargingProfilePurposeEnumType": { "description": "Charging_ Profile. Charging_ Profile_ Purpose. Charging_ Profile_ Purpose_ Code\r\nurn:x-oca:ocpp:uid:1:569231\r\nDefines the purpose of the schedule transferred by this profile\r\n", "javaType": "ChargingProfilePurposeEnum", "type": "string", - "additionalProperties": false, "enum": [ "ChargingStationExternalConstraints", "ChargingStationMaxProfile", @@ -38,21 +36,18 @@ "description": "Charging_ Schedule. Charging_ Rate_ Unit. Charging_ Rate_ Unit_ Code\r\nurn:x-oca:ocpp:uid:1:569238\r\nThe unit of measure Limit is expressed in.\r\n", "javaType": "ChargingRateUnitEnum", "type": "string", - "additionalProperties": false, "enum": ["W", "A"] }, "CostKindEnumType": { "description": "Cost. Cost_ Kind. Cost_ Kind_ Code\r\nurn:x-oca:ocpp:uid:1:569243\r\nThe kind of cost referred to in the message element amount\r\n", "javaType": "CostKindEnum", "type": "string", - "additionalProperties": false, "enum": ["CarbonDioxideEmission", "RelativePricePercentage", "RenewableGenerationPercentage"] }, "RecurrencyKindEnumType": { "description": "Charging_ Profile. Recurrency_ Kind. Recurrency_ Kind_ Code\r\nurn:x-oca:ocpp:uid:1:569233\r\nIndicates the start point of a recurrence.\r\n", "javaType": "RecurrencyKindEnum", "type": "string", - "additionalProperties": false, "enum": ["Daily", "Weekly"] }, "ChargingProfileType": { @@ -93,7 +88,6 @@ }, "chargingSchedule": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/ChargingScheduleType" }, @@ -169,7 +163,6 @@ }, "chargingSchedulePeriod": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/ChargingSchedulePeriodType" }, @@ -201,7 +194,6 @@ }, "cost": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/CostType" }, @@ -273,7 +265,6 @@ }, "consumptionCost": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/ConsumptionCostType" }, @@ -307,7 +298,6 @@ }, "salesTariffEntry": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/SalesTariffEntryType" }, diff --git a/src/assets/json-schemas/ocpp/2.0/SetChargingProfileResponse.json b/src/assets/json-schemas/ocpp/2.0/SetChargingProfileResponse.json index 3a8a6ca4..e30beb98 100644 --- a/src/assets/json-schemas/ocpp/2.0/SetChargingProfileResponse.json +++ b/src/assets/json-schemas/ocpp/2.0/SetChargingProfileResponse.json @@ -19,7 +19,6 @@ "description": "Returns whether the Charging Station has been able to process the message successfully. This does not guarantee the schedule will be followed to the letter. There might be other constraints the Charging Station may need to take into account.\r\n", "javaType": "ChargingProfileStatusEnum", "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Rejected"] }, "StatusInfoType": { diff --git a/src/assets/json-schemas/ocpp/2.0/SetDisplayMessageRequest.json b/src/assets/json-schemas/ocpp/2.0/SetDisplayMessageRequest.json index b96ee2eb..9437b7f4 100644 --- a/src/assets/json-schemas/ocpp/2.0/SetDisplayMessageRequest.json +++ b/src/assets/json-schemas/ocpp/2.0/SetDisplayMessageRequest.json @@ -19,21 +19,18 @@ "description": "Message_ Content. Format. Message_ Format_ Code\r\nurn:x-enexis:ecdm:uid:1:570848\r\nFormat of the message.\r\n", "javaType": "MessageFormatEnum", "type": "string", - "additionalProperties": false, "enum": ["ASCII", "HTML", "URI", "UTF8"] }, "MessagePriorityEnumType": { "description": "Message_ Info. Priority. Message_ Priority_ Code\r\nurn:x-enexis:ecdm:uid:1:569253\r\nWith what priority should this message be shown\r\n", "javaType": "MessagePriorityEnum", "type": "string", - "additionalProperties": false, "enum": ["AlwaysFront", "InFront", "NormalCycle"] }, "MessageStateEnumType": { "description": "Message_ Info. State. Message_ State_ Code\r\nurn:x-enexis:ecdm:uid:1:569254\r\nDuring what state should this message be shown. When omitted this message should be shown in any state of the Charging Station.\r\n", "javaType": "MessageStateEnum", "type": "string", - "additionalProperties": false, "enum": ["Charging", "Faulted", "Idle", "Unavailable"] }, "ComponentType": { diff --git a/src/assets/json-schemas/ocpp/2.0/SetDisplayMessageResponse.json b/src/assets/json-schemas/ocpp/2.0/SetDisplayMessageResponse.json index f4970316..0d77a17f 100644 --- a/src/assets/json-schemas/ocpp/2.0/SetDisplayMessageResponse.json +++ b/src/assets/json-schemas/ocpp/2.0/SetDisplayMessageResponse.json @@ -19,7 +19,6 @@ "description": "This indicates whether the Charging Station is able to display the message.\r\n", "javaType": "DisplayMessageStatusEnum", "type": "string", - "additionalProperties": false, "enum": [ "Accepted", "NotSupportedMessageFormat", diff --git a/src/assets/json-schemas/ocpp/2.0/SetMonitoringBaseRequest.json b/src/assets/json-schemas/ocpp/2.0/SetMonitoringBaseRequest.json index 43c4d9cc..571e9391 100644 --- a/src/assets/json-schemas/ocpp/2.0/SetMonitoringBaseRequest.json +++ b/src/assets/json-schemas/ocpp/2.0/SetMonitoringBaseRequest.json @@ -19,7 +19,6 @@ "description": "Specify which monitoring base will be set\r\n", "javaType": "MonitoringBaseEnum", "type": "string", - "additionalProperties": false, "enum": ["All", "FactoryDefault", "HardWiredOnly"] } }, diff --git a/src/assets/json-schemas/ocpp/2.0/SetMonitoringBaseResponse.json b/src/assets/json-schemas/ocpp/2.0/SetMonitoringBaseResponse.json index 690ae06a..ba8e0332 100644 --- a/src/assets/json-schemas/ocpp/2.0/SetMonitoringBaseResponse.json +++ b/src/assets/json-schemas/ocpp/2.0/SetMonitoringBaseResponse.json @@ -19,7 +19,6 @@ "description": "Indicates whether the Charging Station was able to accept the request.\r\n", "javaType": "GenericDeviceModelStatusEnum", "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Rejected", "NotSupported", "EmptyResultSet"] }, "StatusInfoType": { diff --git a/src/assets/json-schemas/ocpp/2.0/SetMonitoringLevelResponse.json b/src/assets/json-schemas/ocpp/2.0/SetMonitoringLevelResponse.json index 8c9fc13a..5f9b7dac 100644 --- a/src/assets/json-schemas/ocpp/2.0/SetMonitoringLevelResponse.json +++ b/src/assets/json-schemas/ocpp/2.0/SetMonitoringLevelResponse.json @@ -19,7 +19,6 @@ "description": "Indicates whether the Charging Station was able to accept the request.\r\n", "javaType": "GenericStatusEnum", "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Rejected"] }, "StatusInfoType": { diff --git a/src/assets/json-schemas/ocpp/2.0/SetNetworkProfileRequest.json b/src/assets/json-schemas/ocpp/2.0/SetNetworkProfileRequest.json index d8195a4d..7cb577fb 100644 --- a/src/assets/json-schemas/ocpp/2.0/SetNetworkProfileRequest.json +++ b/src/assets/json-schemas/ocpp/2.0/SetNetworkProfileRequest.json @@ -19,14 +19,12 @@ "description": "APN. APN_ Authentication. APN_ Authentication_ Code\r\nurn:x-oca:ocpp:uid:1:568828\r\nAuthentication method.\r\n", "javaType": "APNAuthenticationEnum", "type": "string", - "additionalProperties": false, "enum": ["CHAP", "NONE", "PAP", "AUTO"] }, "OCPPInterfaceEnumType": { "description": "Applicable Network Interface.\r\n", "javaType": "OCPPInterfaceEnum", "type": "string", - "additionalProperties": false, "enum": [ "Wired0", "Wired1", @@ -42,21 +40,18 @@ "description": "Communication_ Function. OCPP_ Transport. OCPP_ Transport_ Code\r\nurn:x-oca:ocpp:uid:1:569356\r\nDefines the transport protocol (e.g. SOAP or JSON). Note: SOAP is not supported in OCPP 2.0, but is supported by other versions of OCPP.\r\n", "javaType": "OCPPTransportEnum", "type": "string", - "additionalProperties": false, "enum": ["JSON", "SOAP"] }, "OCPPVersionEnumType": { "description": "Communication_ Function. OCPP_ Version. OCPP_ Version_ Code\r\nurn:x-oca:ocpp:uid:1:569355\r\nDefines the OCPP version used for this communication function.\r\n", "javaType": "OCPPVersionEnum", "type": "string", - "additionalProperties": false, "enum": ["OCPP12", "OCPP15", "OCPP16", "OCPP20"] }, "VPNEnumType": { "description": "VPN. Type. VPN_ Code\r\nurn:x-oca:ocpp:uid:1:569277\r\nType of VPN\r\n", "javaType": "VPNEnum", "type": "string", - "additionalProperties": false, "enum": ["IKEv2", "IPSec", "L2TP", "PPTP"] }, "APNType": { diff --git a/src/assets/json-schemas/ocpp/2.0/SetNetworkProfileResponse.json b/src/assets/json-schemas/ocpp/2.0/SetNetworkProfileResponse.json index dd359dcc..3ba88c06 100644 --- a/src/assets/json-schemas/ocpp/2.0/SetNetworkProfileResponse.json +++ b/src/assets/json-schemas/ocpp/2.0/SetNetworkProfileResponse.json @@ -19,7 +19,6 @@ "description": "Result of operation.\r\n", "javaType": "SetNetworkProfileStatusEnum", "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Rejected", "Failed"] }, "StatusInfoType": { diff --git a/src/assets/json-schemas/ocpp/2.0/SetVariableMonitoringRequest.json b/src/assets/json-schemas/ocpp/2.0/SetVariableMonitoringRequest.json index 602a3cc2..fdf93700 100644 --- a/src/assets/json-schemas/ocpp/2.0/SetVariableMonitoringRequest.json +++ b/src/assets/json-schemas/ocpp/2.0/SetVariableMonitoringRequest.json @@ -19,7 +19,6 @@ "description": "The type of this monitor, e.g. a threshold, delta or periodic monitor. \r\n\r\n", "javaType": "MonitorEnum", "type": "string", - "additionalProperties": false, "enum": ["UpperThreshold", "LowerThreshold", "Delta", "Periodic", "PeriodicClockAligned"] }, "ComponentType": { @@ -136,7 +135,6 @@ }, "setMonitoringData": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/SetMonitoringDataType" }, diff --git a/src/assets/json-schemas/ocpp/2.0/SetVariableMonitoringResponse.json b/src/assets/json-schemas/ocpp/2.0/SetVariableMonitoringResponse.json index 67930269..b612d4b5 100644 --- a/src/assets/json-schemas/ocpp/2.0/SetVariableMonitoringResponse.json +++ b/src/assets/json-schemas/ocpp/2.0/SetVariableMonitoringResponse.json @@ -19,14 +19,12 @@ "description": "The type of this monitor, e.g. a threshold, delta or periodic monitor. \r\n\r\n", "javaType": "MonitorEnum", "type": "string", - "additionalProperties": false, "enum": ["UpperThreshold", "LowerThreshold", "Delta", "Periodic", "PeriodicClockAligned"] }, "SetMonitoringStatusEnumType": { "description": "Status is OK if a value could be returned. Otherwise this will indicate the reason why a value could not be returned.\r\n", "javaType": "SetMonitoringStatusEnum", "type": "string", - "additionalProperties": false, "enum": [ "Accepted", "UnknownComponent", @@ -169,7 +167,6 @@ }, "setMonitoringResult": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/SetMonitoringResultType" }, diff --git a/src/assets/json-schemas/ocpp/2.0/SetVariablesRequest.json b/src/assets/json-schemas/ocpp/2.0/SetVariablesRequest.json index 793cce7d..daec975e 100644 --- a/src/assets/json-schemas/ocpp/2.0/SetVariablesRequest.json +++ b/src/assets/json-schemas/ocpp/2.0/SetVariablesRequest.json @@ -20,7 +20,6 @@ "javaType": "AttributeEnum", "type": "string", "default": "Actual", - "additionalProperties": false, "enum": ["Actual", "Target", "MinSet", "MaxSet"] }, "ComponentType": { @@ -124,7 +123,6 @@ }, "setVariableData": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/SetVariableDataType" }, diff --git a/src/assets/json-schemas/ocpp/2.0/SetVariablesResponse.json b/src/assets/json-schemas/ocpp/2.0/SetVariablesResponse.json index ae64f617..879fd68c 100644 --- a/src/assets/json-schemas/ocpp/2.0/SetVariablesResponse.json +++ b/src/assets/json-schemas/ocpp/2.0/SetVariablesResponse.json @@ -20,14 +20,12 @@ "javaType": "AttributeEnum", "type": "string", "default": "Actual", - "additionalProperties": false, "enum": ["Actual", "Target", "MinSet", "MaxSet"] }, "SetVariableStatusEnumType": { "description": "Result status of setting the variable.\r\n", "javaType": "SetVariableStatusEnum", "type": "string", - "additionalProperties": false, "enum": [ "Accepted", "Rejected", @@ -161,7 +159,6 @@ }, "setVariableResult": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/SetVariableResultType" }, diff --git a/src/assets/json-schemas/ocpp/2.0/SignCertificateRequest.json b/src/assets/json-schemas/ocpp/2.0/SignCertificateRequest.json index 0cb18e33..5e961fc0 100644 --- a/src/assets/json-schemas/ocpp/2.0/SignCertificateRequest.json +++ b/src/assets/json-schemas/ocpp/2.0/SignCertificateRequest.json @@ -19,7 +19,6 @@ "description": "Indicates the type of certificate that is to be signed. When omitted the certificate is to be used for both the 15118 connection (if implemented) and the Charging Station to CSMS connection.\r\n\r\n", "javaType": "CertificateSigningUseEnum", "type": "string", - "additionalProperties": false, "enum": ["ChargingStationCertificate", "V2GCertificate"] } }, diff --git a/src/assets/json-schemas/ocpp/2.0/SignCertificateResponse.json b/src/assets/json-schemas/ocpp/2.0/SignCertificateResponse.json index 90b79492..ebaeb42a 100644 --- a/src/assets/json-schemas/ocpp/2.0/SignCertificateResponse.json +++ b/src/assets/json-schemas/ocpp/2.0/SignCertificateResponse.json @@ -19,7 +19,6 @@ "description": "Specifies whether the CSMS can process the request.\r\n", "javaType": "GenericStatusEnum", "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Rejected"] }, "StatusInfoType": { diff --git a/src/assets/json-schemas/ocpp/2.0/StatusNotificationRequest.json b/src/assets/json-schemas/ocpp/2.0/StatusNotificationRequest.json index 0bfdbc13..66c2e488 100644 --- a/src/assets/json-schemas/ocpp/2.0/StatusNotificationRequest.json +++ b/src/assets/json-schemas/ocpp/2.0/StatusNotificationRequest.json @@ -19,7 +19,6 @@ "description": "This contains the current status of the Connector.\r\n", "javaType": "ConnectorStatusEnum", "type": "string", - "additionalProperties": false, "enum": ["Available", "Occupied", "Reserved", "Unavailable", "Faulted"] } }, diff --git a/src/assets/json-schemas/ocpp/2.0/TransactionEventRequest.json b/src/assets/json-schemas/ocpp/2.0/TransactionEventRequest.json index ca70c783..c0a7d734 100644 --- a/src/assets/json-schemas/ocpp/2.0/TransactionEventRequest.json +++ b/src/assets/json-schemas/ocpp/2.0/TransactionEventRequest.json @@ -19,14 +19,12 @@ "description": "Transaction. State. Transaction_ State_ Code\r\nurn:x-oca:ocpp:uid:1:569419\r\nCurrent charging state, is required when state\r\nhas changed.\r\n", "javaType": "ChargingStateEnum", "type": "string", - "additionalProperties": false, "enum": ["Charging", "EVConnected", "SuspendedEV", "SuspendedEVSE", "Idle"] }, "IdTokenEnumType": { "description": "Enumeration of possible idToken types.\r\n", "javaType": "IdTokenEnum", "type": "string", - "additionalProperties": false, "enum": [ "Central", "eMAID", @@ -43,7 +41,6 @@ "javaType": "LocationEnum", "type": "string", "default": "Outlet", - "additionalProperties": false, "enum": ["Body", "Cable", "EV", "Inlet", "Outlet"] }, "MeasurandEnumType": { @@ -51,7 +48,6 @@ "javaType": "MeasurandEnum", "type": "string", "default": "Energy.Active.Import.Register", - "additionalProperties": false, "enum": [ "Current.Export", "Current.Import", @@ -84,7 +80,6 @@ "description": "Sampled_ Value. Phase. Phase_ Code\r\nurn:x-oca:ocpp:uid:1:569264\r\nIndicates how the measured value is to be interpreted. For instance between L1 and neutral (L1-N) Please note that not all values of phase are applicable to all Measurands. When phase is absent, the measured value is interpreted as an overall value.\r\n", "javaType": "PhaseEnum", "type": "string", - "additionalProperties": false, "enum": ["L1", "L2", "L3", "N", "L1-N", "L2-N", "L3-N", "L1-L2", "L2-L3", "L3-L1"] }, "ReadingContextEnumType": { @@ -92,7 +87,6 @@ "javaType": "ReadingContextEnum", "type": "string", "default": "Sample.Periodic", - "additionalProperties": false, "enum": [ "Interruption.Begin", "Interruption.End", @@ -108,7 +102,6 @@ "description": "Transaction. Stopped_ Reason. EOT_ Reason_ Code\r\nurn:x-oca:ocpp:uid:1:569413\r\nThis contains the reason why the transaction was stopped. MAY only be omitted when Reason is \"Local\".\r\n", "javaType": "ReasonEnum", "type": "string", - "additionalProperties": false, "enum": [ "DeAuthorized", "EmergencyStop", @@ -135,14 +128,12 @@ "description": "This contains the type of this event.\r\nThe first TransactionEvent of a transaction SHALL contain: \"Started\" The last TransactionEvent of a transaction SHALL contain: \"Ended\" All others SHALL contain: \"Updated\"\r\n", "javaType": "TransactionEventEnum", "type": "string", - "additionalProperties": false, "enum": ["Ended", "Started", "Updated"] }, "TriggerReasonEnumType": { "description": "Reason the Charging Station sends this message to the CSMS\r\n", "javaType": "TriggerReasonEnum", "type": "string", - "additionalProperties": false, "enum": [ "Authorized", "CablePluggedIn", @@ -220,7 +211,6 @@ }, "additionalInfo": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/AdditionalInfoType" }, @@ -248,7 +238,6 @@ }, "sampledValue": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/SampledValueType" }, @@ -393,7 +382,6 @@ }, "meterValue": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/MeterValueType" }, diff --git a/src/assets/json-schemas/ocpp/2.0/TransactionEventResponse.json b/src/assets/json-schemas/ocpp/2.0/TransactionEventResponse.json index 4407ad42..e035a05e 100644 --- a/src/assets/json-schemas/ocpp/2.0/TransactionEventResponse.json +++ b/src/assets/json-schemas/ocpp/2.0/TransactionEventResponse.json @@ -19,7 +19,6 @@ "description": "ID_ Token. Status. Authorization_ Status\r\nurn:x-oca:ocpp:uid:1:569372\r\nCurrent status of the ID Token.\r\n", "javaType": "AuthorizationStatusEnum", "type": "string", - "additionalProperties": false, "enum": [ "Accepted", "Blocked", @@ -37,7 +36,6 @@ "description": "Enumeration of possible idToken types.\r\n", "javaType": "IdTokenEnum", "type": "string", - "additionalProperties": false, "enum": [ "Central", "eMAID", @@ -53,7 +51,6 @@ "description": "Message_ Content. Format. Message_ Format_ Code\r\nurn:x-enexis:ecdm:uid:1:570848\r\nFormat of the message.\r\n", "javaType": "MessageFormatEnum", "type": "string", - "additionalProperties": false, "enum": ["ASCII", "HTML", "URI", "UTF8"] }, "AdditionalInfoType": { @@ -107,7 +104,6 @@ "evseId": { "description": "Only used when the IdToken is only valid for one or more specific EVSEs, not for the entire Charging Station.\r\n\r\n", "type": "array", - "additionalItems": false, "items": { "type": "integer" }, @@ -138,7 +134,6 @@ }, "additionalInfo": { "type": "array", - "additionalItems": false, "items": { "$ref": "#/definitions/AdditionalInfoType" }, diff --git a/src/assets/json-schemas/ocpp/2.0/TriggerMessageRequest.json b/src/assets/json-schemas/ocpp/2.0/TriggerMessageRequest.json index d3b90f7f..309ab2dd 100644 --- a/src/assets/json-schemas/ocpp/2.0/TriggerMessageRequest.json +++ b/src/assets/json-schemas/ocpp/2.0/TriggerMessageRequest.json @@ -19,7 +19,6 @@ "description": "Type of message to be triggered.\r\n", "javaType": "MessageTriggerEnum", "type": "string", - "additionalProperties": false, "enum": [ "BootNotification", "LogStatusNotification", diff --git a/src/assets/json-schemas/ocpp/2.0/TriggerMessageResponse.json b/src/assets/json-schemas/ocpp/2.0/TriggerMessageResponse.json index 600e5035..0cbeb6be 100644 --- a/src/assets/json-schemas/ocpp/2.0/TriggerMessageResponse.json +++ b/src/assets/json-schemas/ocpp/2.0/TriggerMessageResponse.json @@ -19,7 +19,6 @@ "description": "Indicates whether the Charging Station will send the requested notification or not.\r\n", "javaType": "TriggerMessageStatusEnum", "type": "string", - "additionalProperties": false, "enum": ["Accepted", "Rejected", "NotImplemented"] }, "StatusInfoType": { diff --git a/src/assets/json-schemas/ocpp/2.0/UnlockConnectorResponse.json b/src/assets/json-schemas/ocpp/2.0/UnlockConnectorResponse.json index ed10dcec..ce3a9abd 100644 --- a/src/assets/json-schemas/ocpp/2.0/UnlockConnectorResponse.json +++ b/src/assets/json-schemas/ocpp/2.0/UnlockConnectorResponse.json @@ -19,7 +19,6 @@ "description": "This indicates whether the Charging Station has unlocked the connector.\r\n", "javaType": "UnlockStatusEnum", "type": "string", - "additionalProperties": false, "enum": ["Unlocked", "UnlockFailed", "OngoingAuthorizedTransaction", "UnknownConnector"] }, "StatusInfoType": { diff --git a/src/assets/json-schemas/ocpp/2.0/UnpublishFirmwareResponse.json b/src/assets/json-schemas/ocpp/2.0/UnpublishFirmwareResponse.json index 88596c80..d973feb7 100644 --- a/src/assets/json-schemas/ocpp/2.0/UnpublishFirmwareResponse.json +++ b/src/assets/json-schemas/ocpp/2.0/UnpublishFirmwareResponse.json @@ -19,7 +19,6 @@ "description": "Indicates whether the Local Controller succeeded in unpublishing the firmware.\r\n", "javaType": "UnpublishFirmwareStatusEnum", "type": "string", - "additionalProperties": false, "enum": ["DownloadOngoing", "NoFirmware", "Unpublished"] } }, diff --git a/src/assets/json-schemas/ocpp/2.0/UpdateFirmwareResponse.json b/src/assets/json-schemas/ocpp/2.0/UpdateFirmwareResponse.json index 31abc06f..94c8cadc 100644 --- a/src/assets/json-schemas/ocpp/2.0/UpdateFirmwareResponse.json +++ b/src/assets/json-schemas/ocpp/2.0/UpdateFirmwareResponse.json @@ -19,7 +19,6 @@ "description": "This field indicates whether the Charging Station was able to accept the request.\r\n\r\n", "javaType": "UpdateFirmwareStatusEnum", "type": "string", - "additionalProperties": false, "enum": [ "Accepted", "Rejected", -- 2.53.0