Add extracted tools: CitrineOS, OpenOCPP, ShapeShifter
- CitrineOS core extracted (CSMS OCPP 2.0.1) - OpenOCPP extracted (firmware OCPP 1.6J/2.0.1) - ShapeShifter library installed (pip install -e) - ShapeShifter specification extracted - EVerest extracted TODO updated with progress
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
// SPDX-FileCopyrightText: 2025 Contributors to the CitrineOS Project
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
export interface OcppRequest {}
|
||||
|
||||
export interface OcppResponse {}
|
||||
455
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/enums/index.ts
vendored
Normal file
455
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/enums/index.ts
vendored
Normal file
@@ -0,0 +1,455 @@
|
||||
// SPDX-FileCopyrightText: 2025 Contributors to the CitrineOS Project
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
export enum AuthorizeResponseStatus {
|
||||
Accepted = 'Accepted',
|
||||
Blocked = 'Blocked',
|
||||
Expired = 'Expired',
|
||||
Invalid = 'Invalid',
|
||||
ConcurrentTx = 'ConcurrentTx',
|
||||
}
|
||||
|
||||
export enum BootNotificationResponseStatus {
|
||||
Accepted = 'Accepted',
|
||||
Pending = 'Pending',
|
||||
Rejected = 'Rejected',
|
||||
}
|
||||
|
||||
export enum CancelReservationResponseStatus {
|
||||
Accepted = 'Accepted',
|
||||
Rejected = 'Rejected',
|
||||
}
|
||||
|
||||
export enum ChangeAvailabilityRequestType {
|
||||
Inoperative = 'Inoperative',
|
||||
Operative = 'Operative',
|
||||
}
|
||||
|
||||
export enum ChangeAvailabilityResponseStatus {
|
||||
Accepted = 'Accepted',
|
||||
Rejected = 'Rejected',
|
||||
Scheduled = 'Scheduled',
|
||||
}
|
||||
|
||||
export enum ChangeConfigurationResponseStatus {
|
||||
Accepted = 'Accepted',
|
||||
Rejected = 'Rejected',
|
||||
RebootRequired = 'RebootRequired',
|
||||
NotSupported = 'NotSupported',
|
||||
}
|
||||
|
||||
export enum ClearCacheResponseStatus {
|
||||
Accepted = 'Accepted',
|
||||
Rejected = 'Rejected',
|
||||
}
|
||||
|
||||
export enum ClearChargingProfileRequestChargingProfilePurpose {
|
||||
ChargePointMaxProfile = 'ChargePointMaxProfile',
|
||||
TxDefaultProfile = 'TxDefaultProfile',
|
||||
TxProfile = 'TxProfile',
|
||||
}
|
||||
|
||||
export enum ClearChargingProfileResponseStatus {
|
||||
Accepted = 'Accepted',
|
||||
Unknown = 'Unknown',
|
||||
}
|
||||
|
||||
export enum DataTransferResponseStatus {
|
||||
Accepted = 'Accepted',
|
||||
Rejected = 'Rejected',
|
||||
UnknownMessageId = 'UnknownMessageId',
|
||||
UnknownVendorId = 'UnknownVendorId',
|
||||
}
|
||||
|
||||
export enum DiagnosticsStatusNotificationRequestStatus {
|
||||
Idle = 'Idle',
|
||||
Uploaded = 'Uploaded',
|
||||
UploadFailed = 'UploadFailed',
|
||||
Uploading = 'Uploading',
|
||||
}
|
||||
|
||||
export enum FirmwareStatusNotificationRequestStatus {
|
||||
Downloaded = 'Downloaded',
|
||||
DownloadFailed = 'DownloadFailed',
|
||||
Downloading = 'Downloading',
|
||||
Idle = 'Idle',
|
||||
InstallationFailed = 'InstallationFailed',
|
||||
Installing = 'Installing',
|
||||
Installed = 'Installed',
|
||||
}
|
||||
|
||||
export enum SignedFirmwareStatusNotificationRequestStatus {
|
||||
Downloaded = 'Downloaded',
|
||||
DownloadFailed = 'DownloadFailed',
|
||||
Downloading = 'Downloading',
|
||||
DownloadScheduled = 'DownloadScheduled',
|
||||
Idle = 'Idle',
|
||||
InstallationFailed = 'InstallationFailed',
|
||||
Installing = 'Installing',
|
||||
Installed = 'Installed',
|
||||
InstallRebooting = 'InstallRebooting',
|
||||
InstallScheduled = 'InstallScheduled',
|
||||
InstallVerificationFailed = 'InstallVerificationFailed',
|
||||
InvalidSignature = 'InvalidSignature',
|
||||
SignatureVerified = 'SignatureVerified',
|
||||
}
|
||||
|
||||
export enum GetCompositeScheduleRequestChargingRateUnit {
|
||||
A = 'A',
|
||||
W = 'W',
|
||||
}
|
||||
|
||||
export enum GetCompositeScheduleResponseChargingRateUnit {
|
||||
A = 'A',
|
||||
W = 'W',
|
||||
}
|
||||
|
||||
export enum GetCompositeScheduleResponseStatus {
|
||||
Accepted = 'Accepted',
|
||||
Rejected = 'Rejected',
|
||||
}
|
||||
|
||||
export enum MeterValuesRequestContext {
|
||||
Interruption_Begin = 'Interruption.Begin',
|
||||
Interruption_End = 'Interruption.End',
|
||||
Sample_Clock = 'Sample.Clock',
|
||||
Sample_Periodic = 'Sample.Periodic',
|
||||
Transaction_Begin = 'Transaction.Begin',
|
||||
Transaction_End = 'Transaction.End',
|
||||
Trigger = 'Trigger',
|
||||
Other = 'Other',
|
||||
}
|
||||
|
||||
export enum MeterValuesRequestFormat {
|
||||
Raw = 'Raw',
|
||||
SignedData = 'SignedData',
|
||||
}
|
||||
|
||||
export enum MeterValuesRequestLocation {
|
||||
Cable = 'Cable',
|
||||
EV = 'EV',
|
||||
Inlet = 'Inlet',
|
||||
Outlet = 'Outlet',
|
||||
Body = 'Body',
|
||||
}
|
||||
|
||||
export enum MeterValuesRequestMeasurand {
|
||||
Energy_Active_Export_Register = 'Energy.Active.Export.Register',
|
||||
Energy_Active_Import_Register = 'Energy.Active.Import.Register',
|
||||
Energy_Reactive_Export_Register = 'Energy.Reactive.Export.Register',
|
||||
Energy_Reactive_Import_Register = 'Energy.Reactive.Import.Register',
|
||||
Energy_Active_Export_Interval = 'Energy.Active.Export.Interval',
|
||||
Energy_Active_Import_Interval = 'Energy.Active.Import.Interval',
|
||||
Energy_Reactive_Export_Interval = 'Energy.Reactive.Export.Interval',
|
||||
Energy_Reactive_Import_Interval = 'Energy.Reactive.Import.Interval',
|
||||
Power_Active_Export = 'Power.Active.Export',
|
||||
Power_Active_Import = 'Power.Active.Import',
|
||||
Power_Offered = 'Power.Offered',
|
||||
Power_Reactive_Export = 'Power.Reactive.Export',
|
||||
Power_Reactive_Import = 'Power.Reactive.Import',
|
||||
Power_Factor = 'Power.Factor',
|
||||
Current_Import = 'Current.Import',
|
||||
Current_Export = 'Current.Export',
|
||||
Current_Offered = 'Current.Offered',
|
||||
Voltage = 'Voltage',
|
||||
Frequency = 'Frequency',
|
||||
Temperature = 'Temperature',
|
||||
SoC = 'SoC',
|
||||
RPM = 'RPM',
|
||||
}
|
||||
|
||||
export enum MeterValuesRequestPhase {
|
||||
L1 = 'L1',
|
||||
L2 = 'L2',
|
||||
L3 = 'L3',
|
||||
N = 'N',
|
||||
L1_N = 'L1-N',
|
||||
L2_N = 'L2-N',
|
||||
L3_N = 'L3-N',
|
||||
L1_L2 = 'L1-L2',
|
||||
L2_L3 = 'L2-L3',
|
||||
L3_L1 = 'L3-L1',
|
||||
}
|
||||
|
||||
export enum MeterValuesRequestUnit {
|
||||
Wh = 'Wh',
|
||||
kWh = 'kWh',
|
||||
varh = 'varh',
|
||||
kvarh = 'kvarh',
|
||||
W = 'W',
|
||||
kW = 'kW',
|
||||
VA = 'VA',
|
||||
kVA = 'kVA',
|
||||
var = 'var',
|
||||
kvar = 'kvar',
|
||||
A = 'A',
|
||||
V = 'V',
|
||||
K = 'K',
|
||||
Celcius = 'Celcius',
|
||||
Celsius = 'Celsius',
|
||||
Fahrenheit = 'Fahrenheit',
|
||||
Percent = 'Percent',
|
||||
}
|
||||
|
||||
export enum RemoteStartTransactionRequestChargingProfileKind {
|
||||
Absolute = 'Absolute',
|
||||
Recurring = 'Recurring',
|
||||
Relative = 'Relative',
|
||||
}
|
||||
|
||||
export enum RemoteStartTransactionRequestChargingProfilePurpose {
|
||||
ChargePointMaxProfile = 'ChargePointMaxProfile',
|
||||
TxDefaultProfile = 'TxDefaultProfile',
|
||||
TxProfile = 'TxProfile',
|
||||
}
|
||||
|
||||
export enum RemoteStartTransactionRequestChargingRateUnit {
|
||||
A = 'A',
|
||||
W = 'W',
|
||||
}
|
||||
|
||||
export enum RemoteStartTransactionRequestRecurrencyKind {
|
||||
Daily = 'Daily',
|
||||
Weekly = 'Weekly',
|
||||
}
|
||||
|
||||
export enum RemoteStartTransactionResponseStatus {
|
||||
Accepted = 'Accepted',
|
||||
Rejected = 'Rejected',
|
||||
}
|
||||
|
||||
export enum RemoteStopTransactionResponseStatus {
|
||||
Accepted = 'Accepted',
|
||||
Rejected = 'Rejected',
|
||||
}
|
||||
|
||||
export enum ReserveNowResponseStatus {
|
||||
Accepted = 'Accepted',
|
||||
Faulted = 'Faulted',
|
||||
Occupied = 'Occupied',
|
||||
Rejected = 'Rejected',
|
||||
Unavailable = 'Unavailable',
|
||||
}
|
||||
|
||||
export enum ResetRequestType {
|
||||
Hard = 'Hard',
|
||||
Soft = 'Soft',
|
||||
}
|
||||
|
||||
export enum ResetResponseStatus {
|
||||
Accepted = 'Accepted',
|
||||
Rejected = 'Rejected',
|
||||
}
|
||||
|
||||
export enum SendLocalListRequestStatus {
|
||||
Accepted = 'Accepted',
|
||||
Blocked = 'Blocked',
|
||||
Expired = 'Expired',
|
||||
Invalid = 'Invalid',
|
||||
ConcurrentTx = 'ConcurrentTx',
|
||||
}
|
||||
|
||||
export enum SendLocalListRequestUpdateType {
|
||||
Differential = 'Differential',
|
||||
Full = 'Full',
|
||||
}
|
||||
|
||||
export enum SendLocalListResponseStatus {
|
||||
Accepted = 'Accepted',
|
||||
Failed = 'Failed',
|
||||
NotSupported = 'NotSupported',
|
||||
VersionMismatch = 'VersionMismatch',
|
||||
}
|
||||
|
||||
export enum SetChargingProfileRequestChargingProfileKind {
|
||||
Absolute = 'Absolute',
|
||||
Recurring = 'Recurring',
|
||||
Relative = 'Relative',
|
||||
}
|
||||
|
||||
export enum SetChargingProfileRequestChargingProfilePurpose {
|
||||
ChargePointMaxProfile = 'ChargePointMaxProfile',
|
||||
TxDefaultProfile = 'TxDefaultProfile',
|
||||
TxProfile = 'TxProfile',
|
||||
}
|
||||
|
||||
export enum SetChargingProfileRequestChargingRateUnit {
|
||||
A = 'A',
|
||||
W = 'W',
|
||||
}
|
||||
|
||||
export enum SetChargingProfileRequestRecurrencyKind {
|
||||
Daily = 'Daily',
|
||||
Weekly = 'Weekly',
|
||||
}
|
||||
|
||||
export enum SetChargingProfileResponseStatus {
|
||||
Accepted = 'Accepted',
|
||||
Rejected = 'Rejected',
|
||||
NotSupported = 'NotSupported',
|
||||
}
|
||||
|
||||
export enum StartTransactionResponseStatus {
|
||||
Accepted = 'Accepted',
|
||||
Blocked = 'Blocked',
|
||||
Expired = 'Expired',
|
||||
Invalid = 'Invalid',
|
||||
ConcurrentTx = 'ConcurrentTx',
|
||||
}
|
||||
|
||||
export enum StatusNotificationRequestErrorCode {
|
||||
ConnectorLockFailure = 'ConnectorLockFailure',
|
||||
EVCommunicationError = 'EVCommunicationError',
|
||||
GroundFailure = 'GroundFailure',
|
||||
HighTemperature = 'HighTemperature',
|
||||
InternalError = 'InternalError',
|
||||
LocalListConflict = 'LocalListConflict',
|
||||
NoError = 'NoError',
|
||||
OtherError = 'OtherError',
|
||||
OverCurrentFailure = 'OverCurrentFailure',
|
||||
PowerMeterFailure = 'PowerMeterFailure',
|
||||
PowerSwitchFailure = 'PowerSwitchFailure',
|
||||
ReaderFailure = 'ReaderFailure',
|
||||
ResetFailure = 'ResetFailure',
|
||||
UnderVoltage = 'UnderVoltage',
|
||||
OverVoltage = 'OverVoltage',
|
||||
WeakSignal = 'WeakSignal',
|
||||
}
|
||||
|
||||
export enum StatusNotificationRequestStatus {
|
||||
Available = 'Available',
|
||||
Preparing = 'Preparing',
|
||||
Charging = 'Charging',
|
||||
SuspendedEVSE = 'SuspendedEVSE',
|
||||
SuspendedEV = 'SuspendedEV',
|
||||
Finishing = 'Finishing',
|
||||
Reserved = 'Reserved',
|
||||
Unavailable = 'Unavailable',
|
||||
Faulted = 'Faulted',
|
||||
}
|
||||
|
||||
export enum StopTransactionRequestContext {
|
||||
Interruption_Begin = 'Interruption.Begin',
|
||||
Interruption_End = 'Interruption.End',
|
||||
Sample_Clock = 'Sample.Clock',
|
||||
Sample_Periodic = 'Sample.Periodic',
|
||||
Transaction_Begin = 'Transaction.Begin',
|
||||
Transaction_End = 'Transaction.End',
|
||||
Trigger = 'Trigger',
|
||||
Other = 'Other',
|
||||
}
|
||||
|
||||
export enum StopTransactionRequestFormat {
|
||||
Raw = 'Raw',
|
||||
SignedData = 'SignedData',
|
||||
}
|
||||
|
||||
export enum StopTransactionRequestLocation {
|
||||
Cable = 'Cable',
|
||||
EV = 'EV',
|
||||
Inlet = 'Inlet',
|
||||
Outlet = 'Outlet',
|
||||
Body = 'Body',
|
||||
}
|
||||
|
||||
export enum StopTransactionRequestMeasurand {
|
||||
Energy_Active_Export_Register = 'Energy.Active.Export.Register',
|
||||
Energy_Active_Import_Register = 'Energy.Active.Import.Register',
|
||||
Energy_Reactive_Export_Register = 'Energy.Reactive.Export.Register',
|
||||
Energy_Reactive_Import_Register = 'Energy.Reactive.Import.Register',
|
||||
Energy_Active_Export_Interval = 'Energy.Active.Export.Interval',
|
||||
Energy_Active_Import_Interval = 'Energy.Active.Import.Interval',
|
||||
Energy_Reactive_Export_Interval = 'Energy.Reactive.Export.Interval',
|
||||
Energy_Reactive_Import_Interval = 'Energy.Reactive.Import.Interval',
|
||||
Power_Active_Export = 'Power.Active.Export',
|
||||
Power_Active_Import = 'Power.Active.Import',
|
||||
Power_Offered = 'Power.Offered',
|
||||
Power_Reactive_Export = 'Power.Reactive.Export',
|
||||
Power_Reactive_Import = 'Power.Reactive.Import',
|
||||
Power_Factor = 'Power.Factor',
|
||||
Current_Import = 'Current.Import',
|
||||
Current_Export = 'Current.Export',
|
||||
Current_Offered = 'Current.Offered',
|
||||
Voltage = 'Voltage',
|
||||
Frequency = 'Frequency',
|
||||
Temperature = 'Temperature',
|
||||
SoC = 'SoC',
|
||||
RPM = 'RPM',
|
||||
}
|
||||
|
||||
export enum StopTransactionRequestPhase {
|
||||
L1 = 'L1',
|
||||
L2 = 'L2',
|
||||
L3 = 'L3',
|
||||
N = 'N',
|
||||
L1_N = 'L1-N',
|
||||
L2_N = 'L2-N',
|
||||
L3_N = 'L3-N',
|
||||
L1_L2 = 'L1-L2',
|
||||
L2_L3 = 'L2-L3',
|
||||
L3_L1 = 'L3-L1',
|
||||
}
|
||||
|
||||
export enum StopTransactionRequestReason {
|
||||
EmergencyStop = 'EmergencyStop',
|
||||
EVDisconnected = 'EVDisconnected',
|
||||
HardReset = 'HardReset',
|
||||
Local = 'Local',
|
||||
Other = 'Other',
|
||||
PowerLoss = 'PowerLoss',
|
||||
Reboot = 'Reboot',
|
||||
Remote = 'Remote',
|
||||
SoftReset = 'SoftReset',
|
||||
UnlockCommand = 'UnlockCommand',
|
||||
DeAuthorized = 'DeAuthorized',
|
||||
}
|
||||
|
||||
export enum StopTransactionRequestUnit {
|
||||
Wh = 'Wh',
|
||||
kWh = 'kWh',
|
||||
varh = 'varh',
|
||||
kvarh = 'kvarh',
|
||||
W = 'W',
|
||||
kW = 'kW',
|
||||
VA = 'VA',
|
||||
kVA = 'kVA',
|
||||
var = 'var',
|
||||
kvar = 'kvar',
|
||||
A = 'A',
|
||||
V = 'V',
|
||||
K = 'K',
|
||||
Celcius = 'Celcius',
|
||||
Celsius = 'Celsius',
|
||||
Fahrenheit = 'Fahrenheit',
|
||||
Percent = 'Percent',
|
||||
}
|
||||
|
||||
export enum StopTransactionResponseStatus {
|
||||
Accepted = 'Accepted',
|
||||
Blocked = 'Blocked',
|
||||
Expired = 'Expired',
|
||||
Invalid = 'Invalid',
|
||||
ConcurrentTx = 'ConcurrentTx',
|
||||
}
|
||||
|
||||
export enum TriggerMessageRequestRequestedMessage {
|
||||
BootNotification = 'BootNotification',
|
||||
DiagnosticsStatusNotification = 'DiagnosticsStatusNotification',
|
||||
FirmwareStatusNotification = 'FirmwareStatusNotification',
|
||||
Heartbeat = 'Heartbeat',
|
||||
MeterValues = 'MeterValues',
|
||||
StatusNotification = 'StatusNotification',
|
||||
}
|
||||
|
||||
export enum TriggerMessageResponseStatus {
|
||||
Accepted = 'Accepted',
|
||||
Rejected = 'Rejected',
|
||||
NotImplemented = 'NotImplemented',
|
||||
}
|
||||
|
||||
export enum UnlockConnectorResponseStatus {
|
||||
Unlocked = 'Unlocked',
|
||||
UnlockFailed = 'UnlockFailed',
|
||||
NotSupported = 'NotSupported',
|
||||
}
|
||||
125
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/index.ts
vendored
Normal file
125
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/index.ts
vendored
Normal file
@@ -0,0 +1,125 @@
|
||||
// SPDX-FileCopyrightText: 2025 Contributors to the CitrineOS Project
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
export * from './enums/index.js';
|
||||
export { default as AuthorizeRequestSchema } from './schemas/AuthorizeRequest.json' with { type: 'json' };
|
||||
export { default as AuthorizeResponseSchema } from './schemas/AuthorizeResponse.json' with { type: 'json' };
|
||||
export { default as BootNotificationRequestSchema } from './schemas/BootNotificationRequest.json' with { type: 'json' };
|
||||
export { default as BootNotificationResponseSchema } from './schemas/BootNotificationResponse.json' with { type: 'json' };
|
||||
export { default as CancelReservationRequestSchema } from './schemas/CancelReservationRequest.json' with { type: 'json' };
|
||||
export { default as CancelReservationResponseSchema } from './schemas/CancelReservationResponse.json' with { type: 'json' };
|
||||
export { default as ChangeAvailabilityRequestSchema } from './schemas/ChangeAvailabilityRequest.json' with { type: 'json' };
|
||||
export { default as ChangeAvailabilityResponseSchema } from './schemas/ChangeAvailabilityResponse.json' with { type: 'json' };
|
||||
export { default as ChangeConfigurationRequestSchema } from './schemas/ChangeConfigurationRequest.json' with { type: 'json' };
|
||||
export { default as ChangeConfigurationResponseSchema } from './schemas/ChangeConfigurationResponse.json' with { type: 'json' };
|
||||
export { default as ClearCacheRequestSchema } from './schemas/ClearCacheRequest.json' with { type: 'json' };
|
||||
export { default as ClearCacheResponseSchema } from './schemas/ClearCacheResponse.json' with { type: 'json' };
|
||||
export { default as ClearChargingProfileRequestSchema } from './schemas/ClearChargingProfileRequest.json' with { type: 'json' };
|
||||
export { default as ClearChargingProfileResponseSchema } from './schemas/ClearChargingProfileResponse.json' with { type: 'json' };
|
||||
export { default as DataTransferRequestSchema } from './schemas/DataTransferRequest.json' with { type: 'json' };
|
||||
export { default as DataTransferResponseSchema } from './schemas/DataTransferResponse.json' with { type: 'json' };
|
||||
export { default as DiagnosticsStatusNotificationRequestSchema } from './schemas/DiagnosticsStatusNotificationRequest.json' with { type: 'json' };
|
||||
export { default as DiagnosticsStatusNotificationResponseSchema } from './schemas/DiagnosticsStatusNotificationResponse.json' with { type: 'json' };
|
||||
export { default as FirmwareStatusNotificationRequestSchema } from './schemas/FirmwareStatusNotificationRequest.json' with { type: 'json' };
|
||||
export { default as FirmwareStatusNotificationResponseSchema } from './schemas/FirmwareStatusNotificationResponse.json' with { type: 'json' };
|
||||
export { default as GetCompositeScheduleRequestSchema } from './schemas/GetCompositeScheduleRequest.json' with { type: 'json' };
|
||||
export { default as GetCompositeScheduleResponseSchema } from './schemas/GetCompositeScheduleResponse.json' with { type: 'json' };
|
||||
export { default as GetConfigurationRequestSchema } from './schemas/GetConfigurationRequest.json' with { type: 'json' };
|
||||
export { default as GetConfigurationResponseSchema } from './schemas/GetConfigurationResponse.json' with { type: 'json' };
|
||||
export { default as GetDiagnosticsRequestSchema } from './schemas/GetDiagnosticsRequest.json' with { type: 'json' };
|
||||
export { default as GetDiagnosticsResponseSchema } from './schemas/GetDiagnosticsResponse.json' with { type: 'json' };
|
||||
export { default as GetLocalListVersionRequestSchema } from './schemas/GetLocalListVersionRequest.json' with { type: 'json' };
|
||||
export { default as GetLocalListVersionResponseSchema } from './schemas/GetLocalListVersionResponse.json' with { type: 'json' };
|
||||
export { default as HeartbeatRequestSchema } from './schemas/HeartbeatRequest.json' with { type: 'json' };
|
||||
export { default as HeartbeatResponseSchema } from './schemas/HeartbeatResponse.json' with { type: 'json' };
|
||||
export { default as MeterValuesRequestSchema } from './schemas/MeterValuesRequest.json' with { type: 'json' };
|
||||
export { default as MeterValuesResponseSchema } from './schemas/MeterValuesResponse.json' with { type: 'json' };
|
||||
export { default as RemoteStartTransactionRequestSchema } from './schemas/RemoteStartTransactionRequest.json' with { type: 'json' };
|
||||
export { default as RemoteStartTransactionResponseSchema } from './schemas/RemoteStartTransactionResponse.json' with { type: 'json' };
|
||||
export { default as RemoteStopTransactionRequestSchema } from './schemas/RemoteStopTransactionRequest.json' with { type: 'json' };
|
||||
export { default as RemoteStopTransactionResponseSchema } from './schemas/RemoteStopTransactionResponse.json' with { type: 'json' };
|
||||
export { default as ReserveNowRequestSchema } from './schemas/ReserveNowRequest.json' with { type: 'json' };
|
||||
export { default as ReserveNowResponseSchema } from './schemas/ReserveNowResponse.json' with { type: 'json' };
|
||||
export { default as ResetRequestSchema } from './schemas/ResetRequest.json' with { type: 'json' };
|
||||
export { default as ResetResponseSchema } from './schemas/ResetResponse.json' with { type: 'json' };
|
||||
export { default as SendLocalListRequestSchema } from './schemas/SendLocalListRequest.json' with { type: 'json' };
|
||||
export { default as SendLocalListResponseSchema } from './schemas/SendLocalListResponse.json' with { type: 'json' };
|
||||
export { default as SetChargingProfileRequestSchema } from './schemas/SetChargingProfileRequest.json' with { type: 'json' };
|
||||
export { default as SetChargingProfileResponseSchema } from './schemas/SetChargingProfileResponse.json' with { type: 'json' };
|
||||
export { default as SignedFirmwareStatusNotificationRequestSchema } from './schemas/SignedFirmwareStatusNotificationRequest.json' with { type: 'json' };
|
||||
export { default as SignedFirmwareStatusNotificationResponseSchema } from './schemas/SignedFirmwareStatusNotificationResponse.json' with { type: 'json' };
|
||||
export { default as SignedUpdateFirmwareRequestSchema } from './schemas/SignedUpdateFirmwareRequest.json' with { type: 'json' };
|
||||
export { default as SignedUpdateFirmwareResponseSchema } from './schemas/SignedUpdateFirmwareResponse.json' with { type: 'json' };
|
||||
export { default as StartTransactionRequestSchema } from './schemas/StartTransactionRequest.json' with { type: 'json' };
|
||||
export { default as StartTransactionResponseSchema } from './schemas/StartTransactionResponse.json' with { type: 'json' };
|
||||
export { default as StatusNotificationRequestSchema } from './schemas/StatusNotificationRequest.json' with { type: 'json' };
|
||||
export { default as StatusNotificationResponseSchema } from './schemas/StatusNotificationResponse.json' with { type: 'json' };
|
||||
export { default as StopTransactionRequestSchema } from './schemas/StopTransactionRequest.json' with { type: 'json' };
|
||||
export { default as StopTransactionResponseSchema } from './schemas/StopTransactionResponse.json' with { type: 'json' };
|
||||
export { default as TriggerMessageRequestSchema } from './schemas/TriggerMessageRequest.json' with { type: 'json' };
|
||||
export { default as TriggerMessageResponseSchema } from './schemas/TriggerMessageResponse.json' with { type: 'json' };
|
||||
export { default as UnlockConnectorRequestSchema } from './schemas/UnlockConnectorRequest.json' with { type: 'json' };
|
||||
export { default as UnlockConnectorResponseSchema } from './schemas/UnlockConnectorResponse.json' with { type: 'json' };
|
||||
export { default as UpdateFirmwareRequestSchema } from './schemas/UpdateFirmwareRequest.json' with { type: 'json' };
|
||||
export { default as UpdateFirmwareResponseSchema } from './schemas/UpdateFirmwareResponse.json' with { type: 'json' };
|
||||
export type { AuthorizeRequest } from './types/AuthorizeRequest.js';
|
||||
export type { AuthorizeResponse } from './types/AuthorizeResponse.js';
|
||||
export type { BootNotificationRequest } from './types/BootNotificationRequest.js';
|
||||
export type { BootNotificationResponse } from './types/BootNotificationResponse.js';
|
||||
export type { CancelReservationRequest } from './types/CancelReservationRequest.js';
|
||||
export type { CancelReservationResponse } from './types/CancelReservationResponse.js';
|
||||
export type { ChangeAvailabilityRequest } from './types/ChangeAvailabilityRequest.js';
|
||||
export type { ChangeAvailabilityResponse } from './types/ChangeAvailabilityResponse.js';
|
||||
export type { ChangeConfigurationRequest } from './types/ChangeConfigurationRequest.js';
|
||||
export type { ChangeConfigurationResponse } from './types/ChangeConfigurationResponse.js';
|
||||
export type { ClearCacheRequest } from './types/ClearCacheRequest.js';
|
||||
export type { ClearCacheResponse } from './types/ClearCacheResponse.js';
|
||||
export type { ClearChargingProfileRequest } from './types/ClearChargingProfileRequest.js';
|
||||
export type { ClearChargingProfileResponse } from './types/ClearChargingProfileResponse.js';
|
||||
export type { DataTransferRequest } from './types/DataTransferRequest.js';
|
||||
export type { DataTransferResponse } from './types/DataTransferResponse.js';
|
||||
export type { DiagnosticsStatusNotificationRequest } from './types/DiagnosticsStatusNotificationRequest.js';
|
||||
export type { DiagnosticsStatusNotificationResponse } from './types/DiagnosticsStatusNotificationResponse.js';
|
||||
export type { FirmwareStatusNotificationRequest } from './types/FirmwareStatusNotificationRequest.js';
|
||||
export type { FirmwareStatusNotificationResponse } from './types/FirmwareStatusNotificationResponse.js';
|
||||
export type { GetCompositeScheduleRequest } from './types/GetCompositeScheduleRequest.js';
|
||||
export type { GetCompositeScheduleResponse } from './types/GetCompositeScheduleResponse.js';
|
||||
export type { GetConfigurationRequest } from './types/GetConfigurationRequest.js';
|
||||
export type { GetConfigurationResponse } from './types/GetConfigurationResponse.js';
|
||||
export type { GetDiagnosticsRequest } from './types/GetDiagnosticsRequest.js';
|
||||
export type { GetDiagnosticsResponse } from './types/GetDiagnosticsResponse.js';
|
||||
export type { GetLocalListVersionRequest } from './types/GetLocalListVersionRequest.js';
|
||||
export type { GetLocalListVersionResponse } from './types/GetLocalListVersionResponse.js';
|
||||
export type { HeartbeatRequest } from './types/HeartbeatRequest.js';
|
||||
export type { HeartbeatResponse } from './types/HeartbeatResponse.js';
|
||||
export type { MeterValuesRequest } from './types/MeterValuesRequest.js';
|
||||
export type { MeterValuesResponse } from './types/MeterValuesResponse.js';
|
||||
export type { RemoteStartTransactionRequest } from './types/RemoteStartTransactionRequest.js';
|
||||
export type { RemoteStartTransactionResponse } from './types/RemoteStartTransactionResponse.js';
|
||||
export type { RemoteStopTransactionRequest } from './types/RemoteStopTransactionRequest.js';
|
||||
export type { RemoteStopTransactionResponse } from './types/RemoteStopTransactionResponse.js';
|
||||
export type { ReserveNowRequest } from './types/ReserveNowRequest.js';
|
||||
export type { ReserveNowResponse } from './types/ReserveNowResponse.js';
|
||||
export type { ResetRequest } from './types/ResetRequest.js';
|
||||
export type { ResetResponse } from './types/ResetResponse.js';
|
||||
export type { SendLocalListRequest } from './types/SendLocalListRequest.js';
|
||||
export type { SendLocalListResponse } from './types/SendLocalListResponse.js';
|
||||
export type { SetChargingProfileRequest } from './types/SetChargingProfileRequest.js';
|
||||
export type { SetChargingProfileResponse } from './types/SetChargingProfileResponse.js';
|
||||
export type { SignedFirmwareStatusNotificationRequest } from './types/SignedFirmwareStatusNotificationRequest.js';
|
||||
export type { SignedFirmwareStatusNotificationResponse } from './types/SignedFirmwareStatusNotificationResponse.js';
|
||||
export type { SignedUpdateFirmwareRequest } from './types/SignedUpdateFirmwareRequest.js';
|
||||
export type { SignedUpdateFirmwareResponse } from './types/SignedUpdateFirmwareResponse.js';
|
||||
export type { StartTransactionRequest } from './types/StartTransactionRequest.js';
|
||||
export type { StartTransactionResponse } from './types/StartTransactionResponse.js';
|
||||
export type { StatusNotificationRequest } from './types/StatusNotificationRequest.js';
|
||||
export type { StatusNotificationResponse } from './types/StatusNotificationResponse.js';
|
||||
export type { StopTransactionRequest } from './types/StopTransactionRequest.js';
|
||||
export type { StopTransactionResponse } from './types/StopTransactionResponse.js';
|
||||
export type { TriggerMessageRequest } from './types/TriggerMessageRequest.js';
|
||||
export type { TriggerMessageResponse } from './types/TriggerMessageResponse.js';
|
||||
export type { UnlockConnectorRequest } from './types/UnlockConnectorRequest.js';
|
||||
export type { UnlockConnectorResponse } from './types/UnlockConnectorResponse.js';
|
||||
export type { UpdateFirmwareRequest } from './types/UpdateFirmwareRequest.js';
|
||||
export type { UpdateFirmwareResponse } from './types/UpdateFirmwareResponse.js';
|
||||
14
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/AuthorizeRequest.json
vendored
Normal file
14
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/AuthorizeRequest.json
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"title": "AuthorizeRequest",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"idTag": {
|
||||
"type": "string",
|
||||
"maxLength": 20
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["idTag"],
|
||||
"$id": "AuthorizeRequest",
|
||||
"definitions": {}
|
||||
}
|
||||
35
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/AuthorizeResponse.json
vendored
Normal file
35
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/AuthorizeResponse.json
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"title": "AuthorizeResponse",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"idTagInfo": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"expiryDate": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
},
|
||||
"parentIdTag": {
|
||||
"type": "string",
|
||||
"maxLength": 20
|
||||
},
|
||||
"status": {
|
||||
"$ref": "#/definitions/AuthorizeResponseStatus"
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["status"]
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["idTagInfo"],
|
||||
"$id": "AuthorizeResponse",
|
||||
"definitions": {
|
||||
"AuthorizeResponseStatus": {
|
||||
"type": "string",
|
||||
"additionalProperties": true,
|
||||
"enum": ["Accepted", "Blocked", "Expired", "Invalid", "ConcurrentTx"],
|
||||
"tsEnumNames": ["Accepted", "Blocked", "Expired", "Invalid", "ConcurrentTx"]
|
||||
}
|
||||
}
|
||||
}
|
||||
46
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/BootNotificationRequest.json
vendored
Normal file
46
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/BootNotificationRequest.json
vendored
Normal file
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"title": "BootNotificationRequest",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"chargePointVendor": {
|
||||
"type": "string",
|
||||
"maxLength": 20
|
||||
},
|
||||
"chargePointModel": {
|
||||
"type": "string",
|
||||
"maxLength": 20
|
||||
},
|
||||
"chargePointSerialNumber": {
|
||||
"type": "string",
|
||||
"maxLength": 25
|
||||
},
|
||||
"chargeBoxSerialNumber": {
|
||||
"type": "string",
|
||||
"maxLength": 25
|
||||
},
|
||||
"firmwareVersion": {
|
||||
"type": "string",
|
||||
"maxLength": 50
|
||||
},
|
||||
"iccid": {
|
||||
"type": "string",
|
||||
"maxLength": 20
|
||||
},
|
||||
"imsi": {
|
||||
"type": "string",
|
||||
"maxLength": 20
|
||||
},
|
||||
"meterType": {
|
||||
"type": "string",
|
||||
"maxLength": 25
|
||||
},
|
||||
"meterSerialNumber": {
|
||||
"type": "string",
|
||||
"maxLength": 25
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["chargePointVendor", "chargePointModel"],
|
||||
"$id": "BootNotificationRequest",
|
||||
"definitions": {}
|
||||
}
|
||||
27
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/BootNotificationResponse.json
vendored
Normal file
27
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/BootNotificationResponse.json
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"title": "BootNotificationResponse",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"status": {
|
||||
"$ref": "#/definitions/BootNotificationResponseStatus"
|
||||
},
|
||||
"currentTime": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
},
|
||||
"interval": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["status", "currentTime", "interval"],
|
||||
"$id": "BootNotificationResponse",
|
||||
"definitions": {
|
||||
"BootNotificationResponseStatus": {
|
||||
"type": "string",
|
||||
"additionalProperties": true,
|
||||
"enum": ["Accepted", "Pending", "Rejected"],
|
||||
"tsEnumNames": ["Accepted", "Pending", "Rejected"]
|
||||
}
|
||||
}
|
||||
}
|
||||
13
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/CancelReservationRequest.json
vendored
Normal file
13
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/CancelReservationRequest.json
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"title": "CancelReservationRequest",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"reservationId": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["reservationId"],
|
||||
"$id": "CancelReservationRequest",
|
||||
"definitions": {}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"title": "CancelReservationResponse",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"status": {
|
||||
"$ref": "#/definitions/CancelReservationResponseStatus"
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["status"],
|
||||
"$id": "CancelReservationResponse",
|
||||
"definitions": {
|
||||
"CancelReservationResponseStatus": {
|
||||
"type": "string",
|
||||
"additionalProperties": true,
|
||||
"enum": ["Accepted", "Rejected"],
|
||||
"tsEnumNames": ["Accepted", "Rejected"]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"title": "ChangeAvailabilityRequest",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"connectorId": {
|
||||
"type": "integer"
|
||||
},
|
||||
"type": {
|
||||
"$ref": "#/definitions/ChangeAvailabilityRequestType"
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["connectorId", "type"],
|
||||
"$id": "ChangeAvailabilityRequest",
|
||||
"definitions": {
|
||||
"ChangeAvailabilityRequestType": {
|
||||
"type": "string",
|
||||
"additionalProperties": true,
|
||||
"enum": ["Inoperative", "Operative"],
|
||||
"tsEnumNames": ["Inoperative", "Operative"]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"title": "ChangeAvailabilityResponse",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"status": {
|
||||
"$ref": "#/definitions/ChangeAvailabilityResponseStatus"
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["status"],
|
||||
"$id": "ChangeAvailabilityResponse",
|
||||
"definitions": {
|
||||
"ChangeAvailabilityResponseStatus": {
|
||||
"type": "string",
|
||||
"additionalProperties": true,
|
||||
"enum": ["Accepted", "Rejected", "Scheduled"],
|
||||
"tsEnumNames": ["Accepted", "Rejected", "Scheduled"]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"title": "ChangeConfigurationRequest",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"key": {
|
||||
"type": "string",
|
||||
"maxLength": 50
|
||||
},
|
||||
"value": {
|
||||
"type": "string",
|
||||
"maxLength": 500
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["key", "value"],
|
||||
"$id": "ChangeConfigurationRequest",
|
||||
"definitions": {}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"title": "ChangeConfigurationResponse",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"status": {
|
||||
"$ref": "#/definitions/ChangeConfigurationResponseStatus"
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["status"],
|
||||
"$id": "ChangeConfigurationResponse",
|
||||
"definitions": {
|
||||
"ChangeConfigurationResponseStatus": {
|
||||
"type": "string",
|
||||
"additionalProperties": true,
|
||||
"enum": ["Accepted", "Rejected", "RebootRequired", "NotSupported"],
|
||||
"tsEnumNames": ["Accepted", "Rejected", "RebootRequired", "NotSupported"]
|
||||
}
|
||||
}
|
||||
}
|
||||
8
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/ClearCacheRequest.json
vendored
Normal file
8
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/ClearCacheRequest.json
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"title": "ClearCacheRequest",
|
||||
"type": "object",
|
||||
"properties": {},
|
||||
"additionalProperties": true,
|
||||
"$id": "ClearCacheRequest",
|
||||
"definitions": {}
|
||||
}
|
||||
20
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/ClearCacheResponse.json
vendored
Normal file
20
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/ClearCacheResponse.json
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"title": "ClearCacheResponse",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"status": {
|
||||
"$ref": "#/definitions/ClearCacheResponseStatus"
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["status"],
|
||||
"$id": "ClearCacheResponse",
|
||||
"definitions": {
|
||||
"ClearCacheResponseStatus": {
|
||||
"type": "string",
|
||||
"additionalProperties": true,
|
||||
"enum": ["Accepted", "Rejected"],
|
||||
"tsEnumNames": ["Accepted", "Rejected"]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"title": "ClearChargingProfileRequest",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"connectorId": {
|
||||
"type": "integer"
|
||||
},
|
||||
"chargingProfilePurpose": {
|
||||
"$ref": "#/definitions/ClearChargingProfileRequestChargingProfilePurpose"
|
||||
},
|
||||
"stackLevel": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"$id": "ClearChargingProfileRequest",
|
||||
"definitions": {
|
||||
"ClearChargingProfileRequestChargingProfilePurpose": {
|
||||
"type": "string",
|
||||
"additionalProperties": true,
|
||||
"enum": ["ChargePointMaxProfile", "TxDefaultProfile", "TxProfile"],
|
||||
"tsEnumNames": ["ChargePointMaxProfile", "TxDefaultProfile", "TxProfile"]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"title": "ClearChargingProfileResponse",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"status": {
|
||||
"$ref": "#/definitions/ClearChargingProfileResponseStatus"
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["status"],
|
||||
"$id": "ClearChargingProfileResponse",
|
||||
"definitions": {
|
||||
"ClearChargingProfileResponseStatus": {
|
||||
"type": "string",
|
||||
"additionalProperties": true,
|
||||
"enum": ["Accepted", "Unknown"],
|
||||
"tsEnumNames": ["Accepted", "Unknown"]
|
||||
}
|
||||
}
|
||||
}
|
||||
21
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/DataTransferRequest.json
vendored
Normal file
21
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/DataTransferRequest.json
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"title": "DataTransferRequest",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"vendorId": {
|
||||
"type": "string",
|
||||
"maxLength": 255
|
||||
},
|
||||
"messageId": {
|
||||
"type": "string",
|
||||
"maxLength": 50
|
||||
},
|
||||
"data": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["vendorId"],
|
||||
"$id": "DataTransferRequest",
|
||||
"definitions": {}
|
||||
}
|
||||
23
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/DataTransferResponse.json
vendored
Normal file
23
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/DataTransferResponse.json
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"title": "DataTransferResponse",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"status": {
|
||||
"$ref": "#/definitions/DataTransferResponseStatus"
|
||||
},
|
||||
"data": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["status"],
|
||||
"$id": "DataTransferResponse",
|
||||
"definitions": {
|
||||
"DataTransferResponseStatus": {
|
||||
"type": "string",
|
||||
"additionalProperties": true,
|
||||
"enum": ["Accepted", "Rejected", "UnknownMessageId", "UnknownVendorId"],
|
||||
"tsEnumNames": ["Accepted", "Rejected", "UnknownMessageId", "UnknownVendorId"]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"title": "DiagnosticsStatusNotificationRequest",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"status": {
|
||||
"$ref": "#/definitions/DiagnosticsStatusNotificationRequestStatus"
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["status"],
|
||||
"$id": "DiagnosticsStatusNotificationRequest",
|
||||
"definitions": {
|
||||
"DiagnosticsStatusNotificationRequestStatus": {
|
||||
"type": "string",
|
||||
"additionalProperties": true,
|
||||
"enum": ["Idle", "Uploaded", "UploadFailed", "Uploading"],
|
||||
"tsEnumNames": ["Idle", "Uploaded", "UploadFailed", "Uploading"]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"title": "DiagnosticsStatusNotificationResponse",
|
||||
"type": "object",
|
||||
"properties": {},
|
||||
"additionalProperties": true,
|
||||
"$id": "DiagnosticsStatusNotificationResponse",
|
||||
"definitions": {}
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"title": "FirmwareStatusNotificationRequest",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"status": {
|
||||
"$ref": "#/definitions/FirmwareStatusNotificationRequestStatus"
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["status"],
|
||||
"$id": "FirmwareStatusNotificationRequest",
|
||||
"definitions": {
|
||||
"FirmwareStatusNotificationRequestStatus": {
|
||||
"type": "string",
|
||||
"additionalProperties": true,
|
||||
"enum": [
|
||||
"Downloaded",
|
||||
"DownloadFailed",
|
||||
"Downloading",
|
||||
"Idle",
|
||||
"InstallationFailed",
|
||||
"Installing",
|
||||
"Installed"
|
||||
],
|
||||
"tsEnumNames": [
|
||||
"Downloaded",
|
||||
"DownloadFailed",
|
||||
"Downloading",
|
||||
"Idle",
|
||||
"InstallationFailed",
|
||||
"Installing",
|
||||
"Installed"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"title": "FirmwareStatusNotificationResponse",
|
||||
"type": "object",
|
||||
"properties": {},
|
||||
"additionalProperties": true,
|
||||
"$id": "FirmwareStatusNotificationResponse",
|
||||
"definitions": {}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"title": "GetCompositeScheduleRequest",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"connectorId": {
|
||||
"type": "integer"
|
||||
},
|
||||
"duration": {
|
||||
"type": "integer"
|
||||
},
|
||||
"chargingRateUnit": {
|
||||
"$ref": "#/definitions/GetCompositeScheduleRequestChargingRateUnit"
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["connectorId", "duration"],
|
||||
"$id": "GetCompositeScheduleRequest",
|
||||
"definitions": {
|
||||
"GetCompositeScheduleRequestChargingRateUnit": {
|
||||
"type": "string",
|
||||
"additionalProperties": true,
|
||||
"enum": ["A", "W"],
|
||||
"tsEnumNames": ["A", "W"]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,74 @@
|
||||
{
|
||||
"title": "GetCompositeScheduleResponse",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"status": {
|
||||
"$ref": "#/definitions/GetCompositeScheduleResponseStatus"
|
||||
},
|
||||
"connectorId": {
|
||||
"type": "integer"
|
||||
},
|
||||
"scheduleStart": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
},
|
||||
"chargingSchedule": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"duration": {
|
||||
"type": "integer"
|
||||
},
|
||||
"startSchedule": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
},
|
||||
"chargingRateUnit": {
|
||||
"$ref": "#/definitions/GetCompositeScheduleResponseChargingRateUnit"
|
||||
},
|
||||
"chargingSchedulePeriod": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"startPeriod": {
|
||||
"type": "integer"
|
||||
},
|
||||
"limit": {
|
||||
"type": "number",
|
||||
"multipleOf": 0.1
|
||||
},
|
||||
"numberPhases": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["startPeriod", "limit"]
|
||||
}
|
||||
},
|
||||
"minChargingRate": {
|
||||
"type": "number",
|
||||
"multipleOf": 0.1
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["chargingRateUnit", "chargingSchedulePeriod"]
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["status"],
|
||||
"$id": "GetCompositeScheduleResponse",
|
||||
"definitions": {
|
||||
"GetCompositeScheduleResponseStatus": {
|
||||
"type": "string",
|
||||
"additionalProperties": true,
|
||||
"enum": ["Accepted", "Rejected"],
|
||||
"tsEnumNames": ["Accepted", "Rejected"]
|
||||
},
|
||||
"GetCompositeScheduleResponseChargingRateUnit": {
|
||||
"type": "string",
|
||||
"additionalProperties": true,
|
||||
"enum": ["A", "W"],
|
||||
"tsEnumNames": ["A", "W"]
|
||||
}
|
||||
}
|
||||
}
|
||||
16
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/GetConfigurationRequest.json
vendored
Normal file
16
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/GetConfigurationRequest.json
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"title": "GetConfigurationRequest",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"key": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"maxLength": 50
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"$id": "GetConfigurationRequest",
|
||||
"definitions": {}
|
||||
}
|
||||
37
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/GetConfigurationResponse.json
vendored
Normal file
37
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/GetConfigurationResponse.json
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"title": "GetConfigurationResponse",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"configurationKey": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"key": {
|
||||
"type": "string",
|
||||
"maxLength": 50
|
||||
},
|
||||
"readonly": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"value": {
|
||||
"type": "string",
|
||||
"maxLength": 500
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["key", "readonly"]
|
||||
}
|
||||
},
|
||||
"unknownKey": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"maxLength": 50
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"$id": "GetConfigurationResponse",
|
||||
"definitions": {}
|
||||
}
|
||||
28
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/GetDiagnosticsRequest.json
vendored
Normal file
28
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/GetDiagnosticsRequest.json
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"title": "GetDiagnosticsRequest",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"location": {
|
||||
"type": "string",
|
||||
"format": "uri"
|
||||
},
|
||||
"retries": {
|
||||
"type": "integer"
|
||||
},
|
||||
"retryInterval": {
|
||||
"type": "integer"
|
||||
},
|
||||
"startTime": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
},
|
||||
"stopTime": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["location"],
|
||||
"$id": "GetDiagnosticsRequest",
|
||||
"definitions": {}
|
||||
}
|
||||
13
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/GetDiagnosticsResponse.json
vendored
Normal file
13
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/GetDiagnosticsResponse.json
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"title": "GetDiagnosticsResponse",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"fileName": {
|
||||
"type": "string",
|
||||
"maxLength": 255
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"$id": "GetDiagnosticsResponse",
|
||||
"definitions": {}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"title": "GetLocalListVersionRequest",
|
||||
"type": "object",
|
||||
"properties": {},
|
||||
"additionalProperties": true,
|
||||
"$id": "GetLocalListVersionRequest",
|
||||
"definitions": {}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"title": "GetLocalListVersionResponse",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"listVersion": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["listVersion"],
|
||||
"$id": "GetLocalListVersionResponse",
|
||||
"definitions": {}
|
||||
}
|
||||
8
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/HeartbeatRequest.json
vendored
Normal file
8
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/HeartbeatRequest.json
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"title": "HeartbeatRequest",
|
||||
"type": "object",
|
||||
"properties": {},
|
||||
"additionalProperties": true,
|
||||
"$id": "HeartbeatRequest",
|
||||
"definitions": {}
|
||||
}
|
||||
14
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/HeartbeatResponse.json
vendored
Normal file
14
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/HeartbeatResponse.json
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"title": "HeartbeatResponse",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"currentTime": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["currentTime"],
|
||||
"$id": "HeartbeatResponse",
|
||||
"definitions": {}
|
||||
}
|
||||
198
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/MeterValuesRequest.json
vendored
Normal file
198
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/MeterValuesRequest.json
vendored
Normal file
@@ -0,0 +1,198 @@
|
||||
{
|
||||
"title": "MeterValuesRequest",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"connectorId": {
|
||||
"type": "integer"
|
||||
},
|
||||
"transactionId": {
|
||||
"type": "integer"
|
||||
},
|
||||
"meterValue": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"timestamp": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
},
|
||||
"sampledValue": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"value": {
|
||||
"type": "string"
|
||||
},
|
||||
"context": {
|
||||
"$ref": "#/definitions/MeterValuesRequestContext"
|
||||
},
|
||||
"format": {
|
||||
"$ref": "#/definitions/MeterValuesRequestFormat"
|
||||
},
|
||||
"measurand": {
|
||||
"$ref": "#/definitions/MeterValuesRequestMeasurand"
|
||||
},
|
||||
"phase": {
|
||||
"$ref": "#/definitions/MeterValuesRequestPhase"
|
||||
},
|
||||
"location": {
|
||||
"$ref": "#/definitions/MeterValuesRequestLocation"
|
||||
},
|
||||
"unit": {
|
||||
"$ref": "#/definitions/MeterValuesRequestUnit"
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["value"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["timestamp", "sampledValue"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["connectorId", "meterValue"],
|
||||
"$id": "MeterValuesRequest",
|
||||
"definitions": {
|
||||
"MeterValuesRequestContext": {
|
||||
"type": "string",
|
||||
"additionalProperties": true,
|
||||
"enum": [
|
||||
"Interruption.Begin",
|
||||
"Interruption.End",
|
||||
"Sample.Clock",
|
||||
"Sample.Periodic",
|
||||
"Transaction.Begin",
|
||||
"Transaction.End",
|
||||
"Trigger",
|
||||
"Other"
|
||||
],
|
||||
"tsEnumNames": [
|
||||
"Interruption_Begin",
|
||||
"Interruption_End",
|
||||
"Sample_Clock",
|
||||
"Sample_Periodic",
|
||||
"Transaction_Begin",
|
||||
"Transaction_End",
|
||||
"Trigger",
|
||||
"Other"
|
||||
]
|
||||
},
|
||||
"MeterValuesRequestFormat": {
|
||||
"type": "string",
|
||||
"additionalProperties": true,
|
||||
"enum": ["Raw", "SignedData"],
|
||||
"tsEnumNames": ["Raw", "SignedData"]
|
||||
},
|
||||
"MeterValuesRequestMeasurand": {
|
||||
"type": "string",
|
||||
"additionalProperties": true,
|
||||
"enum": [
|
||||
"Energy.Active.Export.Register",
|
||||
"Energy.Active.Import.Register",
|
||||
"Energy.Reactive.Export.Register",
|
||||
"Energy.Reactive.Import.Register",
|
||||
"Energy.Active.Export.Interval",
|
||||
"Energy.Active.Import.Interval",
|
||||
"Energy.Reactive.Export.Interval",
|
||||
"Energy.Reactive.Import.Interval",
|
||||
"Power.Active.Export",
|
||||
"Power.Active.Import",
|
||||
"Power.Offered",
|
||||
"Power.Reactive.Export",
|
||||
"Power.Reactive.Import",
|
||||
"Power.Factor",
|
||||
"Current.Import",
|
||||
"Current.Export",
|
||||
"Current.Offered",
|
||||
"Voltage",
|
||||
"Frequency",
|
||||
"Temperature",
|
||||
"SoC",
|
||||
"RPM"
|
||||
],
|
||||
"tsEnumNames": [
|
||||
"Energy_Active_Export_Register",
|
||||
"Energy_Active_Import_Register",
|
||||
"Energy_Reactive_Export_Register",
|
||||
"Energy_Reactive_Import_Register",
|
||||
"Energy_Active_Export_Interval",
|
||||
"Energy_Active_Import_Interval",
|
||||
"Energy_Reactive_Export_Interval",
|
||||
"Energy_Reactive_Import_Interval",
|
||||
"Power_Active_Export",
|
||||
"Power_Active_Import",
|
||||
"Power_Offered",
|
||||
"Power_Reactive_Export",
|
||||
"Power_Reactive_Import",
|
||||
"Power_Factor",
|
||||
"Current_Import",
|
||||
"Current_Export",
|
||||
"Current_Offered",
|
||||
"Voltage",
|
||||
"Frequency",
|
||||
"Temperature",
|
||||
"SoC",
|
||||
"RPM"
|
||||
]
|
||||
},
|
||||
"MeterValuesRequestPhase": {
|
||||
"type": "string",
|
||||
"additionalProperties": true,
|
||||
"enum": ["L1", "L2", "L3", "N", "L1-N", "L2-N", "L3-N", "L1-L2", "L2-L3", "L3-L1"],
|
||||
"tsEnumNames": ["L1", "L2", "L3", "N", "L1_N", "L2_N", "L3_N", "L1_L2", "L2_L3", "L3_L1"]
|
||||
},
|
||||
"MeterValuesRequestLocation": {
|
||||
"type": "string",
|
||||
"additionalProperties": true,
|
||||
"enum": ["Cable", "EV", "Inlet", "Outlet", "Body"],
|
||||
"tsEnumNames": ["Cable", "EV", "Inlet", "Outlet", "Body"]
|
||||
},
|
||||
"MeterValuesRequestUnit": {
|
||||
"type": "string",
|
||||
"additionalProperties": true,
|
||||
"enum": [
|
||||
"Wh",
|
||||
"kWh",
|
||||
"varh",
|
||||
"kvarh",
|
||||
"W",
|
||||
"kW",
|
||||
"VA",
|
||||
"kVA",
|
||||
"var",
|
||||
"kvar",
|
||||
"A",
|
||||
"V",
|
||||
"K",
|
||||
"Celcius",
|
||||
"Celsius",
|
||||
"Fahrenheit",
|
||||
"Percent"
|
||||
],
|
||||
"tsEnumNames": [
|
||||
"Wh",
|
||||
"kWh",
|
||||
"varh",
|
||||
"kvarh",
|
||||
"W",
|
||||
"kW",
|
||||
"VA",
|
||||
"kVA",
|
||||
"var",
|
||||
"kvar",
|
||||
"A",
|
||||
"V",
|
||||
"K",
|
||||
"Celcius",
|
||||
"Celsius",
|
||||
"Fahrenheit",
|
||||
"Percent"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
8
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/MeterValuesResponse.json
vendored
Normal file
8
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/MeterValuesResponse.json
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"title": "MeterValuesResponse",
|
||||
"type": "object",
|
||||
"properties": {},
|
||||
"additionalProperties": true,
|
||||
"$id": "MeterValuesResponse",
|
||||
"definitions": {}
|
||||
}
|
||||
@@ -0,0 +1,122 @@
|
||||
{
|
||||
"title": "RemoteStartTransactionRequest",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"connectorId": {
|
||||
"type": "integer"
|
||||
},
|
||||
"idTag": {
|
||||
"type": "string",
|
||||
"maxLength": 20
|
||||
},
|
||||
"chargingProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"chargingProfileId": {
|
||||
"type": "integer"
|
||||
},
|
||||
"transactionId": {
|
||||
"type": "integer"
|
||||
},
|
||||
"stackLevel": {
|
||||
"type": "integer"
|
||||
},
|
||||
"chargingProfilePurpose": {
|
||||
"$ref": "#/definitions/RemoteStartTransactionRequestChargingProfilePurpose"
|
||||
},
|
||||
"chargingProfileKind": {
|
||||
"$ref": "#/definitions/RemoteStartTransactionRequestChargingProfileKind"
|
||||
},
|
||||
"recurrencyKind": {
|
||||
"$ref": "#/definitions/RemoteStartTransactionRequestRecurrencyKind"
|
||||
},
|
||||
"validFrom": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
},
|
||||
"validTo": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
},
|
||||
"chargingSchedule": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"duration": {
|
||||
"type": "integer"
|
||||
},
|
||||
"startSchedule": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
},
|
||||
"chargingRateUnit": {
|
||||
"$ref": "#/definitions/RemoteStartTransactionRequestChargingRateUnit"
|
||||
},
|
||||
"chargingSchedulePeriod": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"startPeriod": {
|
||||
"type": "integer"
|
||||
},
|
||||
"limit": {
|
||||
"type": "number",
|
||||
"multipleOf": 0.1
|
||||
},
|
||||
"numberPhases": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["startPeriod", "limit"]
|
||||
}
|
||||
},
|
||||
"minChargingRate": {
|
||||
"type": "number",
|
||||
"multipleOf": 0.1
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["chargingRateUnit", "chargingSchedulePeriod"]
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": [
|
||||
"chargingProfileId",
|
||||
"stackLevel",
|
||||
"chargingProfilePurpose",
|
||||
"chargingProfileKind",
|
||||
"chargingSchedule"
|
||||
]
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["idTag"],
|
||||
"$id": "RemoteStartTransactionRequest",
|
||||
"definitions": {
|
||||
"RemoteStartTransactionRequestChargingProfilePurpose": {
|
||||
"type": "string",
|
||||
"additionalProperties": true,
|
||||
"enum": ["ChargePointMaxProfile", "TxDefaultProfile", "TxProfile"],
|
||||
"tsEnumNames": ["ChargePointMaxProfile", "TxDefaultProfile", "TxProfile"]
|
||||
},
|
||||
"RemoteStartTransactionRequestChargingProfileKind": {
|
||||
"type": "string",
|
||||
"additionalProperties": true,
|
||||
"enum": ["Absolute", "Recurring", "Relative"],
|
||||
"tsEnumNames": ["Absolute", "Recurring", "Relative"]
|
||||
},
|
||||
"RemoteStartTransactionRequestRecurrencyKind": {
|
||||
"type": "string",
|
||||
"additionalProperties": true,
|
||||
"enum": ["Daily", "Weekly"],
|
||||
"tsEnumNames": ["Daily", "Weekly"]
|
||||
},
|
||||
"RemoteStartTransactionRequestChargingRateUnit": {
|
||||
"type": "string",
|
||||
"additionalProperties": true,
|
||||
"enum": ["A", "W"],
|
||||
"tsEnumNames": ["A", "W"]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"title": "RemoteStartTransactionResponse",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"status": {
|
||||
"$ref": "#/definitions/RemoteStartTransactionResponseStatus"
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["status"],
|
||||
"$id": "RemoteStartTransactionResponse",
|
||||
"definitions": {
|
||||
"RemoteStartTransactionResponseStatus": {
|
||||
"type": "string",
|
||||
"additionalProperties": true,
|
||||
"enum": ["Accepted", "Rejected"],
|
||||
"tsEnumNames": ["Accepted", "Rejected"]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"title": "RemoteStopTransactionRequest",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"transactionId": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["transactionId"],
|
||||
"$id": "RemoteStopTransactionRequest",
|
||||
"definitions": {}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"title": "RemoteStopTransactionResponse",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"status": {
|
||||
"$ref": "#/definitions/RemoteStopTransactionResponseStatus"
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["status"],
|
||||
"$id": "RemoteStopTransactionResponse",
|
||||
"definitions": {
|
||||
"RemoteStopTransactionResponseStatus": {
|
||||
"type": "string",
|
||||
"additionalProperties": true,
|
||||
"enum": ["Accepted", "Rejected"],
|
||||
"tsEnumNames": ["Accepted", "Rejected"]
|
||||
}
|
||||
}
|
||||
}
|
||||
28
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/ReserveNowRequest.json
vendored
Normal file
28
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/ReserveNowRequest.json
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"title": "ReserveNowRequest",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"connectorId": {
|
||||
"type": "integer"
|
||||
},
|
||||
"expiryDate": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
},
|
||||
"idTag": {
|
||||
"type": "string",
|
||||
"maxLength": 20
|
||||
},
|
||||
"parentIdTag": {
|
||||
"type": "string",
|
||||
"maxLength": 20
|
||||
},
|
||||
"reservationId": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["connectorId", "expiryDate", "idTag", "reservationId"],
|
||||
"$id": "ReserveNowRequest",
|
||||
"definitions": {}
|
||||
}
|
||||
20
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/ReserveNowResponse.json
vendored
Normal file
20
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/ReserveNowResponse.json
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"title": "ReserveNowResponse",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"status": {
|
||||
"$ref": "#/definitions/ReserveNowResponseStatus"
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["status"],
|
||||
"$id": "ReserveNowResponse",
|
||||
"definitions": {
|
||||
"ReserveNowResponseStatus": {
|
||||
"type": "string",
|
||||
"additionalProperties": true,
|
||||
"enum": ["Accepted", "Faulted", "Occupied", "Rejected", "Unavailable"],
|
||||
"tsEnumNames": ["Accepted", "Faulted", "Occupied", "Rejected", "Unavailable"]
|
||||
}
|
||||
}
|
||||
}
|
||||
20
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/ResetRequest.json
vendored
Normal file
20
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/ResetRequest.json
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"title": "ResetRequest",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type": {
|
||||
"$ref": "#/definitions/ResetRequestType"
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["type"],
|
||||
"$id": "ResetRequest",
|
||||
"definitions": {
|
||||
"ResetRequestType": {
|
||||
"type": "string",
|
||||
"additionalProperties": true,
|
||||
"enum": ["Hard", "Soft"],
|
||||
"tsEnumNames": ["Hard", "Soft"]
|
||||
}
|
||||
}
|
||||
}
|
||||
20
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/ResetResponse.json
vendored
Normal file
20
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/ResetResponse.json
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"title": "ResetResponse",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"status": {
|
||||
"$ref": "#/definitions/ResetResponseStatus"
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["status"],
|
||||
"$id": "ResetResponse",
|
||||
"definitions": {
|
||||
"ResetResponseStatus": {
|
||||
"type": "string",
|
||||
"additionalProperties": true,
|
||||
"enum": ["Accepted", "Rejected"],
|
||||
"tsEnumNames": ["Accepted", "Rejected"]
|
||||
}
|
||||
}
|
||||
}
|
||||
61
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/SendLocalListRequest.json
vendored
Normal file
61
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/SendLocalListRequest.json
vendored
Normal file
@@ -0,0 +1,61 @@
|
||||
{
|
||||
"title": "SendLocalListRequest",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"listVersion": {
|
||||
"type": "integer"
|
||||
},
|
||||
"localAuthorizationList": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"idTag": {
|
||||
"type": "string",
|
||||
"maxLength": 20
|
||||
},
|
||||
"idTagInfo": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"expiryDate": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
},
|
||||
"parentIdTag": {
|
||||
"type": "string",
|
||||
"maxLength": 20
|
||||
},
|
||||
"status": {
|
||||
"$ref": "#/definitions/SendLocalListRequestStatus"
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["status"]
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["idTag"]
|
||||
}
|
||||
},
|
||||
"updateType": {
|
||||
"$ref": "#/definitions/SendLocalListRequestUpdateType"
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["listVersion", "updateType"],
|
||||
"$id": "SendLocalListRequest",
|
||||
"definitions": {
|
||||
"SendLocalListRequestStatus": {
|
||||
"type": "string",
|
||||
"additionalProperties": true,
|
||||
"enum": ["Accepted", "Blocked", "Expired", "Invalid", "ConcurrentTx"],
|
||||
"tsEnumNames": ["Accepted", "Blocked", "Expired", "Invalid", "ConcurrentTx"]
|
||||
},
|
||||
"SendLocalListRequestUpdateType": {
|
||||
"type": "string",
|
||||
"additionalProperties": true,
|
||||
"enum": ["Differential", "Full"],
|
||||
"tsEnumNames": ["Differential", "Full"]
|
||||
}
|
||||
}
|
||||
}
|
||||
20
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/SendLocalListResponse.json
vendored
Normal file
20
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/SendLocalListResponse.json
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"title": "SendLocalListResponse",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"status": {
|
||||
"$ref": "#/definitions/SendLocalListResponseStatus"
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["status"],
|
||||
"$id": "SendLocalListResponse",
|
||||
"definitions": {
|
||||
"SendLocalListResponseStatus": {
|
||||
"type": "string",
|
||||
"additionalProperties": true,
|
||||
"enum": ["Accepted", "Failed", "NotSupported", "VersionMismatch"],
|
||||
"tsEnumNames": ["Accepted", "Failed", "NotSupported", "VersionMismatch"]
|
||||
}
|
||||
}
|
||||
}
|
||||
118
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/SetChargingProfileRequest.json
vendored
Normal file
118
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/SetChargingProfileRequest.json
vendored
Normal file
@@ -0,0 +1,118 @@
|
||||
{
|
||||
"title": "SetChargingProfileRequest",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"connectorId": {
|
||||
"type": "integer"
|
||||
},
|
||||
"csChargingProfiles": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"chargingProfileId": {
|
||||
"type": "integer"
|
||||
},
|
||||
"transactionId": {
|
||||
"type": "integer"
|
||||
},
|
||||
"stackLevel": {
|
||||
"type": "integer"
|
||||
},
|
||||
"chargingProfilePurpose": {
|
||||
"$ref": "#/definitions/SetChargingProfileRequestChargingProfilePurpose"
|
||||
},
|
||||
"chargingProfileKind": {
|
||||
"$ref": "#/definitions/SetChargingProfileRequestChargingProfileKind"
|
||||
},
|
||||
"recurrencyKind": {
|
||||
"$ref": "#/definitions/SetChargingProfileRequestRecurrencyKind"
|
||||
},
|
||||
"validFrom": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
},
|
||||
"validTo": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
},
|
||||
"chargingSchedule": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"duration": {
|
||||
"type": "integer"
|
||||
},
|
||||
"startSchedule": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
},
|
||||
"chargingRateUnit": {
|
||||
"$ref": "#/definitions/SetChargingProfileRequestChargingRateUnit"
|
||||
},
|
||||
"chargingSchedulePeriod": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"startPeriod": {
|
||||
"type": "integer"
|
||||
},
|
||||
"limit": {
|
||||
"type": "number",
|
||||
"multipleOf": 0.1
|
||||
},
|
||||
"numberPhases": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["startPeriod", "limit"]
|
||||
}
|
||||
},
|
||||
"minChargingRate": {
|
||||
"type": "number",
|
||||
"multipleOf": 0.1
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["chargingRateUnit", "chargingSchedulePeriod"]
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": [
|
||||
"chargingProfileId",
|
||||
"stackLevel",
|
||||
"chargingProfilePurpose",
|
||||
"chargingProfileKind",
|
||||
"chargingSchedule"
|
||||
]
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["connectorId", "csChargingProfiles"],
|
||||
"$id": "SetChargingProfileRequest",
|
||||
"definitions": {
|
||||
"SetChargingProfileRequestChargingProfilePurpose": {
|
||||
"type": "string",
|
||||
"additionalProperties": true,
|
||||
"enum": ["ChargePointMaxProfile", "TxDefaultProfile", "TxProfile"],
|
||||
"tsEnumNames": ["ChargePointMaxProfile", "TxDefaultProfile", "TxProfile"]
|
||||
},
|
||||
"SetChargingProfileRequestChargingProfileKind": {
|
||||
"type": "string",
|
||||
"additionalProperties": true,
|
||||
"enum": ["Absolute", "Recurring", "Relative"],
|
||||
"tsEnumNames": ["Absolute", "Recurring", "Relative"]
|
||||
},
|
||||
"SetChargingProfileRequestRecurrencyKind": {
|
||||
"type": "string",
|
||||
"additionalProperties": true,
|
||||
"enum": ["Daily", "Weekly"],
|
||||
"tsEnumNames": ["Daily", "Weekly"]
|
||||
},
|
||||
"SetChargingProfileRequestChargingRateUnit": {
|
||||
"type": "string",
|
||||
"additionalProperties": true,
|
||||
"enum": ["A", "W"],
|
||||
"tsEnumNames": ["A", "W"]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"title": "SetChargingProfileResponse",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"status": {
|
||||
"$ref": "#/definitions/SetChargingProfileResponseStatus"
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["status"],
|
||||
"$id": "SetChargingProfileResponse",
|
||||
"definitions": {
|
||||
"SetChargingProfileResponseStatus": {
|
||||
"type": "string",
|
||||
"additionalProperties": true,
|
||||
"enum": ["Accepted", "Rejected", "NotSupported"],
|
||||
"tsEnumNames": ["Accepted", "Rejected", "NotSupported"]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"title": "SignedFirmwareStatusNotificationRequest",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"status": {
|
||||
"$ref": "#/definitions/SignedFirmwareStatusNotificationRequestStatus"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": ["status"],
|
||||
"$id": "SignedFirmwareStatusNotificationRequest",
|
||||
"definitions": {
|
||||
"SignedFirmwareStatusNotificationRequestStatus": {
|
||||
"type": "string",
|
||||
"additionalProperties": false,
|
||||
"enum": [
|
||||
"Downloaded",
|
||||
"DownloadFailed",
|
||||
"Downloading",
|
||||
"DownloadScheduled",
|
||||
"DownloadPaused",
|
||||
"Idle",
|
||||
"InstallationFailed",
|
||||
"Installing",
|
||||
"Installed",
|
||||
"InstallRebooting",
|
||||
"InstallScheduled",
|
||||
"InstallVerificationFailed",
|
||||
"InvalidSignature",
|
||||
"SignatureVerified"
|
||||
],
|
||||
"tsEnumNames": [
|
||||
"Downloaded",
|
||||
"DownloadFailed",
|
||||
"Downloading",
|
||||
"DownloadScheduled",
|
||||
"DownloadPaused",
|
||||
"Idle",
|
||||
"InstallationFailed",
|
||||
"Installing",
|
||||
"Installed",
|
||||
"InstallRebooting",
|
||||
"InstallScheduled",
|
||||
"InstallVerificaitonFailed",
|
||||
"InvalidSignature",
|
||||
"SignatureVerified"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"title": "SignedFirmwareStatusNotificationResponse",
|
||||
"type": "object",
|
||||
"properties": {},
|
||||
"additionalProperties": false,
|
||||
"$id": "SignedFirmwareStatusNotificationResponse",
|
||||
"definitions": {}
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"title": "SignedUpdateFirmwareRequest",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"retries": {
|
||||
"type": "integer"
|
||||
},
|
||||
"retryInterval": {
|
||||
"type": "integer"
|
||||
},
|
||||
"requestId": {
|
||||
"type": "integer"
|
||||
},
|
||||
"firmware": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"location": {
|
||||
"type": "string",
|
||||
"format": "uri"
|
||||
},
|
||||
"retrieveDateTime": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
},
|
||||
"installDateTime": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
},
|
||||
"signingCertificate": {
|
||||
"type": "string",
|
||||
"maxLength": 5500
|
||||
},
|
||||
"signature": {
|
||||
"type": "string",
|
||||
"maxLength": 800
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": ["location", "retrieveDateTime", "signingCertificate", "signature"],
|
||||
"$id": "v16FirmwareType",
|
||||
"definitions": {}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": ["requestId", "firmware"],
|
||||
"$id": "SignedUpdateFirmwareRequest",
|
||||
"definitions": {}
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"title": "SignedUpdateFirmwareResponse",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"status": {
|
||||
"$ref": "#/definitions/UpdateFirmwareStatusEnumType"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"$id": "SignedUpdateFirmwareResponse",
|
||||
"definitions": {
|
||||
"UpdateFirmwareStatusEnumType": {
|
||||
"type": "string",
|
||||
"additionalProperties": false,
|
||||
"enum": [
|
||||
"Accepted",
|
||||
"Rejected",
|
||||
"AcceptedCanceled",
|
||||
"InvalidCertificate",
|
||||
"RevokedCertificate"
|
||||
],
|
||||
"tsEnumNames": [
|
||||
"Accepted",
|
||||
"Rejected",
|
||||
"AcceptedCanceled",
|
||||
"InvalidCertificate",
|
||||
"RevokedCertificate"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
27
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/StartTransactionRequest.json
vendored
Normal file
27
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/StartTransactionRequest.json
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"title": "StartTransactionRequest",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"connectorId": {
|
||||
"type": "integer"
|
||||
},
|
||||
"idTag": {
|
||||
"type": "string",
|
||||
"maxLength": 20
|
||||
},
|
||||
"meterStart": {
|
||||
"type": "integer"
|
||||
},
|
||||
"reservationId": {
|
||||
"type": "integer"
|
||||
},
|
||||
"timestamp": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["connectorId", "idTag", "meterStart", "timestamp"],
|
||||
"$id": "StartTransactionRequest",
|
||||
"definitions": {}
|
||||
}
|
||||
38
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/StartTransactionResponse.json
vendored
Normal file
38
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/StartTransactionResponse.json
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"title": "StartTransactionResponse",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"idTagInfo": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"expiryDate": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
},
|
||||
"parentIdTag": {
|
||||
"type": "string",
|
||||
"maxLength": 20
|
||||
},
|
||||
"status": {
|
||||
"$ref": "#/definitions/StartTransactionResponseStatus"
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["status"]
|
||||
},
|
||||
"transactionId": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["idTagInfo", "transactionId"],
|
||||
"$id": "StartTransactionResponse",
|
||||
"definitions": {
|
||||
"StartTransactionResponseStatus": {
|
||||
"type": "string",
|
||||
"additionalProperties": true,
|
||||
"enum": ["Accepted", "Blocked", "Expired", "Invalid", "ConcurrentTx"],
|
||||
"tsEnumNames": ["Accepted", "Blocked", "Expired", "Invalid", "ConcurrentTx"]
|
||||
}
|
||||
}
|
||||
}
|
||||
102
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/StatusNotificationRequest.json
vendored
Normal file
102
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/StatusNotificationRequest.json
vendored
Normal file
@@ -0,0 +1,102 @@
|
||||
{
|
||||
"title": "StatusNotificationRequest",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"connectorId": {
|
||||
"type": "integer"
|
||||
},
|
||||
"errorCode": {
|
||||
"$ref": "#/definitions/StatusNotificationRequestErrorCode"
|
||||
},
|
||||
"info": {
|
||||
"type": "string",
|
||||
"maxLength": 50
|
||||
},
|
||||
"status": {
|
||||
"$ref": "#/definitions/StatusNotificationRequestStatus"
|
||||
},
|
||||
"timestamp": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
},
|
||||
"vendorId": {
|
||||
"type": "string",
|
||||
"maxLength": 255
|
||||
},
|
||||
"vendorErrorCode": {
|
||||
"type": "string",
|
||||
"maxLength": 50
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["connectorId", "errorCode", "status"],
|
||||
"$id": "StatusNotificationRequest",
|
||||
"definitions": {
|
||||
"StatusNotificationRequestErrorCode": {
|
||||
"type": "string",
|
||||
"additionalProperties": true,
|
||||
"enum": [
|
||||
"ConnectorLockFailure",
|
||||
"EVCommunicationError",
|
||||
"GroundFailure",
|
||||
"HighTemperature",
|
||||
"InternalError",
|
||||
"LocalListConflict",
|
||||
"NoError",
|
||||
"OtherError",
|
||||
"OverCurrentFailure",
|
||||
"PowerMeterFailure",
|
||||
"PowerSwitchFailure",
|
||||
"ReaderFailure",
|
||||
"ResetFailure",
|
||||
"UnderVoltage",
|
||||
"OverVoltage",
|
||||
"WeakSignal"
|
||||
],
|
||||
"tsEnumNames": [
|
||||
"ConnectorLockFailure",
|
||||
"EVCommunicationError",
|
||||
"GroundFailure",
|
||||
"HighTemperature",
|
||||
"InternalError",
|
||||
"LocalListConflict",
|
||||
"NoError",
|
||||
"OtherError",
|
||||
"OverCurrentFailure",
|
||||
"PowerMeterFailure",
|
||||
"PowerSwitchFailure",
|
||||
"ReaderFailure",
|
||||
"ResetFailure",
|
||||
"UnderVoltage",
|
||||
"OverVoltage",
|
||||
"WeakSignal"
|
||||
]
|
||||
},
|
||||
"StatusNotificationRequestStatus": {
|
||||
"type": "string",
|
||||
"additionalProperties": true,
|
||||
"enum": [
|
||||
"Available",
|
||||
"Preparing",
|
||||
"Charging",
|
||||
"SuspendedEVSE",
|
||||
"SuspendedEV",
|
||||
"Finishing",
|
||||
"Reserved",
|
||||
"Unavailable",
|
||||
"Faulted"
|
||||
],
|
||||
"tsEnumNames": [
|
||||
"Available",
|
||||
"Preparing",
|
||||
"Charging",
|
||||
"SuspendedEVSE",
|
||||
"SuspendedEV",
|
||||
"Finishing",
|
||||
"Reserved",
|
||||
"Unavailable",
|
||||
"Faulted"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"title": "StatusNotificationResponse",
|
||||
"type": "object",
|
||||
"properties": {},
|
||||
"additionalProperties": true,
|
||||
"$id": "StatusNotificationResponse",
|
||||
"definitions": {}
|
||||
}
|
||||
237
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/StopTransactionRequest.json
vendored
Normal file
237
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/StopTransactionRequest.json
vendored
Normal file
@@ -0,0 +1,237 @@
|
||||
{
|
||||
"title": "StopTransactionRequest",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"idTag": {
|
||||
"type": "string",
|
||||
"maxLength": 20
|
||||
},
|
||||
"meterStop": {
|
||||
"type": "integer"
|
||||
},
|
||||
"timestamp": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
},
|
||||
"transactionId": {
|
||||
"type": "integer"
|
||||
},
|
||||
"reason": {
|
||||
"$ref": "#/definitions/StopTransactionRequestReason"
|
||||
},
|
||||
"transactionData": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"timestamp": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
},
|
||||
"sampledValue": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"value": {
|
||||
"type": "string"
|
||||
},
|
||||
"context": {
|
||||
"$ref": "#/definitions/StopTransactionRequestContext"
|
||||
},
|
||||
"format": {
|
||||
"$ref": "#/definitions/StopTransactionRequestFormat"
|
||||
},
|
||||
"measurand": {
|
||||
"$ref": "#/definitions/StopTransactionRequestMeasurand"
|
||||
},
|
||||
"phase": {
|
||||
"$ref": "#/definitions/StopTransactionRequestPhase"
|
||||
},
|
||||
"location": {
|
||||
"$ref": "#/definitions/StopTransactionRequestLocation"
|
||||
},
|
||||
"unit": {
|
||||
"$ref": "#/definitions/StopTransactionRequestUnit"
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["value"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["timestamp", "sampledValue"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["transactionId", "timestamp", "meterStop"],
|
||||
"$id": "StopTransactionRequest",
|
||||
"definitions": {
|
||||
"StopTransactionRequestReason": {
|
||||
"type": "string",
|
||||
"additionalProperties": true,
|
||||
"enum": [
|
||||
"EmergencyStop",
|
||||
"EVDisconnected",
|
||||
"HardReset",
|
||||
"Local",
|
||||
"Other",
|
||||
"PowerLoss",
|
||||
"Reboot",
|
||||
"Remote",
|
||||
"SoftReset",
|
||||
"UnlockCommand",
|
||||
"DeAuthorized"
|
||||
],
|
||||
"tsEnumNames": [
|
||||
"EmergencyStop",
|
||||
"EVDisconnected",
|
||||
"HardReset",
|
||||
"Local",
|
||||
"Other",
|
||||
"PowerLoss",
|
||||
"Reboot",
|
||||
"Remote",
|
||||
"SoftReset",
|
||||
"UnlockCommand",
|
||||
"DeAuthorized"
|
||||
]
|
||||
},
|
||||
"StopTransactionRequestContext": {
|
||||
"type": "string",
|
||||
"additionalProperties": true,
|
||||
"enum": [
|
||||
"Interruption.Begin",
|
||||
"Interruption.End",
|
||||
"Sample.Clock",
|
||||
"Sample.Periodic",
|
||||
"Transaction.Begin",
|
||||
"Transaction.End",
|
||||
"Trigger",
|
||||
"Other"
|
||||
],
|
||||
"tsEnumNames": [
|
||||
"Interruption_Begin",
|
||||
"Interruption_End",
|
||||
"Sample_Clock",
|
||||
"Sample_Periodic",
|
||||
"Transaction_Begin",
|
||||
"Transaction_End",
|
||||
"Trigger",
|
||||
"Other"
|
||||
]
|
||||
},
|
||||
"StopTransactionRequestFormat": {
|
||||
"type": "string",
|
||||
"additionalProperties": true,
|
||||
"enum": ["Raw", "SignedData"],
|
||||
"tsEnumNames": ["Raw", "SignedData"]
|
||||
},
|
||||
"StopTransactionRequestMeasurand": {
|
||||
"type": "string",
|
||||
"additionalProperties": true,
|
||||
"enum": [
|
||||
"Energy.Active.Export.Register",
|
||||
"Energy.Active.Import.Register",
|
||||
"Energy.Reactive.Export.Register",
|
||||
"Energy.Reactive.Import.Register",
|
||||
"Energy.Active.Export.Interval",
|
||||
"Energy.Active.Import.Interval",
|
||||
"Energy.Reactive.Export.Interval",
|
||||
"Energy.Reactive.Import.Interval",
|
||||
"Power.Active.Export",
|
||||
"Power.Active.Import",
|
||||
"Power.Offered",
|
||||
"Power.Reactive.Export",
|
||||
"Power.Reactive.Import",
|
||||
"Power.Factor",
|
||||
"Current.Import",
|
||||
"Current.Export",
|
||||
"Current.Offered",
|
||||
"Voltage",
|
||||
"Frequency",
|
||||
"Temperature",
|
||||
"SoC",
|
||||
"RPM"
|
||||
],
|
||||
"tsEnumNames": [
|
||||
"Energy_Active_Export_Register",
|
||||
"Energy_Active_Import_Register",
|
||||
"Energy_Reactive_Export_Register",
|
||||
"Energy_Reactive_Import_Register",
|
||||
"Energy_Active_Export_Interval",
|
||||
"Energy_Active_Import_Interval",
|
||||
"Energy_Reactive_Export_Interval",
|
||||
"Energy_Reactive_Import_Interval",
|
||||
"Power_Active_Export",
|
||||
"Power_Active_Import",
|
||||
"Power_Offered",
|
||||
"Power_Reactive_Export",
|
||||
"Power_Reactive_Import",
|
||||
"Power_Factor",
|
||||
"Current_Import",
|
||||
"Current_Export",
|
||||
"Current_Offered",
|
||||
"Voltage",
|
||||
"Frequency",
|
||||
"Temperature",
|
||||
"SoC",
|
||||
"RPM"
|
||||
]
|
||||
},
|
||||
"StopTransactionRequestPhase": {
|
||||
"type": "string",
|
||||
"additionalProperties": true,
|
||||
"enum": ["L1", "L2", "L3", "N", "L1-N", "L2-N", "L3-N", "L1-L2", "L2-L3", "L3-L1"],
|
||||
"tsEnumNames": ["L1", "L2", "L3", "N", "L1_N", "L2_N", "L3_N", "L1_L2", "L2_L3", "L3_L1"]
|
||||
},
|
||||
"StopTransactionRequestLocation": {
|
||||
"type": "string",
|
||||
"additionalProperties": true,
|
||||
"enum": ["Cable", "EV", "Inlet", "Outlet", "Body"],
|
||||
"tsEnumNames": ["Cable", "EV", "Inlet", "Outlet", "Body"]
|
||||
},
|
||||
"StopTransactionRequestUnit": {
|
||||
"type": "string",
|
||||
"additionalProperties": true,
|
||||
"enum": [
|
||||
"Wh",
|
||||
"kWh",
|
||||
"varh",
|
||||
"kvarh",
|
||||
"W",
|
||||
"kW",
|
||||
"VA",
|
||||
"kVA",
|
||||
"var",
|
||||
"kvar",
|
||||
"A",
|
||||
"V",
|
||||
"K",
|
||||
"Celsius",
|
||||
"Fahrenheit",
|
||||
"Percent"
|
||||
],
|
||||
"tsEnumNames": [
|
||||
"Wh",
|
||||
"kWh",
|
||||
"varh",
|
||||
"kvarh",
|
||||
"W",
|
||||
"kW",
|
||||
"VA",
|
||||
"kVA",
|
||||
"var",
|
||||
"kvar",
|
||||
"A",
|
||||
"V",
|
||||
"K",
|
||||
"Celsius",
|
||||
"Fahrenheit",
|
||||
"Percent"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
34
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/StopTransactionResponse.json
vendored
Normal file
34
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/StopTransactionResponse.json
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"title": "StopTransactionResponse",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"idTagInfo": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"expiryDate": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
},
|
||||
"parentIdTag": {
|
||||
"type": "string",
|
||||
"maxLength": 20
|
||||
},
|
||||
"status": {
|
||||
"$ref": "#/definitions/StopTransactionResponseStatus"
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["status"]
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"$id": "StopTransactionResponse",
|
||||
"definitions": {
|
||||
"StopTransactionResponseStatus": {
|
||||
"type": "string",
|
||||
"additionalProperties": true,
|
||||
"enum": ["Accepted", "Blocked", "Expired", "Invalid", "ConcurrentTx"],
|
||||
"tsEnumNames": ["Accepted", "Blocked", "Expired", "Invalid", "ConcurrentTx"]
|
||||
}
|
||||
}
|
||||
}
|
||||
37
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/TriggerMessageRequest.json
vendored
Normal file
37
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/TriggerMessageRequest.json
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"title": "TriggerMessageRequest",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"requestedMessage": {
|
||||
"$ref": "#/definitions/TriggerMessageRequestRequestedMessage"
|
||||
},
|
||||
"connectorId": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["requestedMessage"],
|
||||
"$id": "TriggerMessageRequest",
|
||||
"definitions": {
|
||||
"TriggerMessageRequestRequestedMessage": {
|
||||
"type": "string",
|
||||
"additionalProperties": true,
|
||||
"enum": [
|
||||
"BootNotification",
|
||||
"DiagnosticsStatusNotification",
|
||||
"FirmwareStatusNotification",
|
||||
"Heartbeat",
|
||||
"MeterValues",
|
||||
"StatusNotification"
|
||||
],
|
||||
"tsEnumNames": [
|
||||
"BootNotification",
|
||||
"DiagnosticsStatusNotification",
|
||||
"FirmwareStatusNotification",
|
||||
"Heartbeat",
|
||||
"MeterValues",
|
||||
"StatusNotification"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
20
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/TriggerMessageResponse.json
vendored
Normal file
20
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/TriggerMessageResponse.json
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"title": "TriggerMessageResponse",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"status": {
|
||||
"$ref": "#/definitions/TriggerMessageResponseStatus"
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["status"],
|
||||
"$id": "TriggerMessageResponse",
|
||||
"definitions": {
|
||||
"TriggerMessageResponseStatus": {
|
||||
"type": "string",
|
||||
"additionalProperties": true,
|
||||
"enum": ["Accepted", "Rejected", "NotImplemented"],
|
||||
"tsEnumNames": ["Accepted", "Rejected", "NotImplemented"]
|
||||
}
|
||||
}
|
||||
}
|
||||
13
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/UnlockConnectorRequest.json
vendored
Normal file
13
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/UnlockConnectorRequest.json
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"title": "UnlockConnectorRequest",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"connectorId": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["connectorId"],
|
||||
"$id": "UnlockConnectorRequest",
|
||||
"definitions": {}
|
||||
}
|
||||
20
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/UnlockConnectorResponse.json
vendored
Normal file
20
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/UnlockConnectorResponse.json
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"title": "UnlockConnectorResponse",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"status": {
|
||||
"$ref": "#/definitions/UnlockConnectorResponseStatus"
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["status"],
|
||||
"$id": "UnlockConnectorResponse",
|
||||
"definitions": {
|
||||
"UnlockConnectorResponseStatus": {
|
||||
"type": "string",
|
||||
"additionalProperties": true,
|
||||
"enum": ["Unlocked", "UnlockFailed", "NotSupported"],
|
||||
"tsEnumNames": ["Unlocked", "UnlockFailed", "NotSupported"]
|
||||
}
|
||||
}
|
||||
}
|
||||
24
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/UpdateFirmwareRequest.json
vendored
Normal file
24
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/schemas/UpdateFirmwareRequest.json
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"title": "UpdateFirmwareRequest",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"location": {
|
||||
"type": "string",
|
||||
"format": "uri"
|
||||
},
|
||||
"retries": {
|
||||
"type": "integer"
|
||||
},
|
||||
"retrieveDate": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
},
|
||||
"retryInterval": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"additionalProperties": true,
|
||||
"required": ["location", "retrieveDate"],
|
||||
"$id": "UpdateFirmwareRequest",
|
||||
"definitions": {}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"title": "UpdateFirmwareResponse",
|
||||
"type": "object",
|
||||
"properties": {},
|
||||
"additionalProperties": true,
|
||||
"$id": "UpdateFirmwareResponse",
|
||||
"definitions": {}
|
||||
}
|
||||
15
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/AuthorizeRequest.ts
vendored
Normal file
15
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/AuthorizeRequest.ts
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
// SPDX-FileCopyrightText: 2025 Contributors to the CitrineOS Project
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/**
|
||||
* This file was automatically generated by json-schema-to-typescript.
|
||||
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
||||
* and run json-schema-to-typescript to regenerate this file.
|
||||
*/
|
||||
|
||||
import type { OcppRequest } from '../../../internal-types.js';
|
||||
|
||||
export interface AuthorizeRequest extends OcppRequest {
|
||||
idTag: string;
|
||||
}
|
||||
20
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/AuthorizeResponse.ts
vendored
Normal file
20
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/AuthorizeResponse.ts
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
// SPDX-FileCopyrightText: 2025 Contributors to the CitrineOS Project
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/**
|
||||
* This file was automatically generated by json-schema-to-typescript.
|
||||
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
||||
* and run json-schema-to-typescript to regenerate this file.
|
||||
*/
|
||||
|
||||
import { AuthorizeResponseStatus } from '../enums/index.js';
|
||||
import type { OcppResponse } from '../../../internal-types.js';
|
||||
|
||||
export interface AuthorizeResponse extends OcppResponse {
|
||||
idTagInfo: {
|
||||
expiryDate?: string | null;
|
||||
parentIdTag?: string | null;
|
||||
status: AuthorizeResponseStatus;
|
||||
};
|
||||
}
|
||||
23
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/BootNotificationRequest.ts
vendored
Normal file
23
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/BootNotificationRequest.ts
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
// SPDX-FileCopyrightText: 2025 Contributors to the CitrineOS Project
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/**
|
||||
* This file was automatically generated by json-schema-to-typescript.
|
||||
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
||||
* and run json-schema-to-typescript to regenerate this file.
|
||||
*/
|
||||
|
||||
import type { OcppRequest } from '../../../internal-types.js';
|
||||
|
||||
export interface BootNotificationRequest extends OcppRequest {
|
||||
chargePointVendor: string;
|
||||
chargePointModel: string;
|
||||
chargePointSerialNumber?: string | null;
|
||||
chargeBoxSerialNumber?: string | null;
|
||||
firmwareVersion?: string | null;
|
||||
iccid?: string | null;
|
||||
imsi?: string | null;
|
||||
meterType?: string | null;
|
||||
meterSerialNumber?: string | null;
|
||||
}
|
||||
18
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/BootNotificationResponse.ts
vendored
Normal file
18
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/BootNotificationResponse.ts
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
// SPDX-FileCopyrightText: 2025 Contributors to the CitrineOS Project
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/**
|
||||
* This file was automatically generated by json-schema-to-typescript.
|
||||
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
||||
* and run json-schema-to-typescript to regenerate this file.
|
||||
*/
|
||||
|
||||
import { BootNotificationResponseStatus } from '../enums/index.js';
|
||||
import type { OcppResponse } from '../../../internal-types.js';
|
||||
|
||||
export interface BootNotificationResponse extends OcppResponse {
|
||||
status: BootNotificationResponseStatus;
|
||||
currentTime: string;
|
||||
interval: number;
|
||||
}
|
||||
15
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/CancelReservationRequest.ts
vendored
Normal file
15
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/CancelReservationRequest.ts
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
// SPDX-FileCopyrightText: 2025 Contributors to the CitrineOS Project
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/**
|
||||
* This file was automatically generated by json-schema-to-typescript.
|
||||
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
||||
* and run json-schema-to-typescript to regenerate this file.
|
||||
*/
|
||||
|
||||
import type { OcppRequest } from '../../../internal-types.js';
|
||||
|
||||
export interface CancelReservationRequest extends OcppRequest {
|
||||
reservationId: number;
|
||||
}
|
||||
16
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/CancelReservationResponse.ts
vendored
Normal file
16
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/CancelReservationResponse.ts
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
// SPDX-FileCopyrightText: 2025 Contributors to the CitrineOS Project
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/**
|
||||
* This file was automatically generated by json-schema-to-typescript.
|
||||
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
||||
* and run json-schema-to-typescript to regenerate this file.
|
||||
*/
|
||||
|
||||
import { CancelReservationResponseStatus } from '../enums/index.js';
|
||||
import type { OcppResponse } from '../../../internal-types.js';
|
||||
|
||||
export interface CancelReservationResponse extends OcppResponse {
|
||||
status: CancelReservationResponseStatus;
|
||||
}
|
||||
17
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/ChangeAvailabilityRequest.ts
vendored
Normal file
17
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/ChangeAvailabilityRequest.ts
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
// SPDX-FileCopyrightText: 2025 Contributors to the CitrineOS Project
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/**
|
||||
* This file was automatically generated by json-schema-to-typescript.
|
||||
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
||||
* and run json-schema-to-typescript to regenerate this file.
|
||||
*/
|
||||
|
||||
import { ChangeAvailabilityRequestType } from '../enums/index.js';
|
||||
import type { OcppRequest } from '../../../internal-types.js';
|
||||
|
||||
export interface ChangeAvailabilityRequest extends OcppRequest {
|
||||
connectorId: number;
|
||||
type: ChangeAvailabilityRequestType;
|
||||
}
|
||||
16
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/ChangeAvailabilityResponse.ts
vendored
Normal file
16
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/ChangeAvailabilityResponse.ts
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
// SPDX-FileCopyrightText: 2025 Contributors to the CitrineOS Project
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/**
|
||||
* This file was automatically generated by json-schema-to-typescript.
|
||||
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
||||
* and run json-schema-to-typescript to regenerate this file.
|
||||
*/
|
||||
|
||||
import { ChangeAvailabilityResponseStatus } from '../enums/index.js';
|
||||
import type { OcppResponse } from '../../../internal-types.js';
|
||||
|
||||
export interface ChangeAvailabilityResponse extends OcppResponse {
|
||||
status: ChangeAvailabilityResponseStatus;
|
||||
}
|
||||
16
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/ChangeConfigurationRequest.ts
vendored
Normal file
16
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/ChangeConfigurationRequest.ts
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
// SPDX-FileCopyrightText: 2025 Contributors to the CitrineOS Project
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/**
|
||||
* This file was automatically generated by json-schema-to-typescript.
|
||||
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
||||
* and run json-schema-to-typescript to regenerate this file.
|
||||
*/
|
||||
|
||||
import type { OcppRequest } from '../../../internal-types.js';
|
||||
|
||||
export interface ChangeConfigurationRequest extends OcppRequest {
|
||||
key: string;
|
||||
value: string;
|
||||
}
|
||||
16
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/ChangeConfigurationResponse.ts
vendored
Normal file
16
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/ChangeConfigurationResponse.ts
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
// SPDX-FileCopyrightText: 2025 Contributors to the CitrineOS Project
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/**
|
||||
* This file was automatically generated by json-schema-to-typescript.
|
||||
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
||||
* and run json-schema-to-typescript to regenerate this file.
|
||||
*/
|
||||
|
||||
import { ChangeConfigurationResponseStatus } from '../enums/index.js';
|
||||
import type { OcppResponse } from '../../../internal-types.js';
|
||||
|
||||
export interface ChangeConfigurationResponse extends OcppResponse {
|
||||
status: ChangeConfigurationResponseStatus;
|
||||
}
|
||||
13
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/ClearCacheRequest.ts
vendored
Normal file
13
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/ClearCacheRequest.ts
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
// SPDX-FileCopyrightText: 2025 Contributors to the CitrineOS Project
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/**
|
||||
* This file was automatically generated by json-schema-to-typescript.
|
||||
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
||||
* and run json-schema-to-typescript to regenerate this file.
|
||||
*/
|
||||
|
||||
import type { OcppRequest } from '../../../internal-types.js';
|
||||
|
||||
export interface ClearCacheRequest extends OcppRequest {}
|
||||
16
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/ClearCacheResponse.ts
vendored
Normal file
16
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/ClearCacheResponse.ts
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
// SPDX-FileCopyrightText: 2025 Contributors to the CitrineOS Project
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/**
|
||||
* This file was automatically generated by json-schema-to-typescript.
|
||||
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
||||
* and run json-schema-to-typescript to regenerate this file.
|
||||
*/
|
||||
|
||||
import { ClearCacheResponseStatus } from '../enums/index.js';
|
||||
import type { OcppResponse } from '../../../internal-types.js';
|
||||
|
||||
export interface ClearCacheResponse extends OcppResponse {
|
||||
status: ClearCacheResponseStatus;
|
||||
}
|
||||
19
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/ClearChargingProfileRequest.ts
vendored
Normal file
19
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/ClearChargingProfileRequest.ts
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
// SPDX-FileCopyrightText: 2025 Contributors to the CitrineOS Project
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/**
|
||||
* This file was automatically generated by json-schema-to-typescript.
|
||||
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
||||
* and run json-schema-to-typescript to regenerate this file.
|
||||
*/
|
||||
|
||||
import { ClearChargingProfileRequestChargingProfilePurpose } from '../enums/index.js';
|
||||
import type { OcppRequest } from '../../../internal-types.js';
|
||||
|
||||
export interface ClearChargingProfileRequest extends OcppRequest {
|
||||
id?: number | null;
|
||||
connectorId?: number | null;
|
||||
chargingProfilePurpose?: ClearChargingProfileRequestChargingProfilePurpose | null;
|
||||
stackLevel?: number | null;
|
||||
}
|
||||
16
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/ClearChargingProfileResponse.ts
vendored
Normal file
16
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/ClearChargingProfileResponse.ts
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
// SPDX-FileCopyrightText: 2025 Contributors to the CitrineOS Project
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/**
|
||||
* This file was automatically generated by json-schema-to-typescript.
|
||||
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
||||
* and run json-schema-to-typescript to regenerate this file.
|
||||
*/
|
||||
|
||||
import { ClearChargingProfileResponseStatus } from '../enums/index.js';
|
||||
import type { OcppResponse } from '../../../internal-types.js';
|
||||
|
||||
export interface ClearChargingProfileResponse extends OcppResponse {
|
||||
status: ClearChargingProfileResponseStatus;
|
||||
}
|
||||
17
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/DataTransferRequest.ts
vendored
Normal file
17
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/DataTransferRequest.ts
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
// SPDX-FileCopyrightText: 2025 Contributors to the CitrineOS Project
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/**
|
||||
* This file was automatically generated by json-schema-to-typescript.
|
||||
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
||||
* and run json-schema-to-typescript to regenerate this file.
|
||||
*/
|
||||
|
||||
import type { OcppRequest } from '../../../internal-types.js';
|
||||
|
||||
export interface DataTransferRequest extends OcppRequest {
|
||||
vendorId: string;
|
||||
messageId?: string | null;
|
||||
data?: string | null;
|
||||
}
|
||||
17
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/DataTransferResponse.ts
vendored
Normal file
17
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/DataTransferResponse.ts
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
// SPDX-FileCopyrightText: 2025 Contributors to the CitrineOS Project
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/**
|
||||
* This file was automatically generated by json-schema-to-typescript.
|
||||
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
||||
* and run json-schema-to-typescript to regenerate this file.
|
||||
*/
|
||||
|
||||
import { DataTransferResponseStatus } from '../enums/index.js';
|
||||
import type { OcppResponse } from '../../../internal-types.js';
|
||||
|
||||
export interface DataTransferResponse extends OcppResponse {
|
||||
status: DataTransferResponseStatus;
|
||||
data?: string | null;
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
// SPDX-FileCopyrightText: 2025 Contributors to the CitrineOS Project
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/**
|
||||
* This file was automatically generated by json-schema-to-typescript.
|
||||
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
||||
* and run json-schema-to-typescript to regenerate this file.
|
||||
*/
|
||||
|
||||
import { DiagnosticsStatusNotificationRequestStatus } from '../enums/index.js';
|
||||
import type { OcppRequest } from '../../../internal-types.js';
|
||||
|
||||
export interface DiagnosticsStatusNotificationRequest extends OcppRequest {
|
||||
status: DiagnosticsStatusNotificationRequestStatus;
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
// SPDX-FileCopyrightText: 2025 Contributors to the CitrineOS Project
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/**
|
||||
* This file was automatically generated by json-schema-to-typescript.
|
||||
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
||||
* and run json-schema-to-typescript to regenerate this file.
|
||||
*/
|
||||
|
||||
import type { OcppResponse } from '../../../internal-types.js';
|
||||
|
||||
export interface DiagnosticsStatusNotificationResponse extends OcppResponse {}
|
||||
@@ -0,0 +1,16 @@
|
||||
// SPDX-FileCopyrightText: 2025 Contributors to the CitrineOS Project
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/**
|
||||
* This file was automatically generated by json-schema-to-typescript.
|
||||
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
||||
* and run json-schema-to-typescript to regenerate this file.
|
||||
*/
|
||||
|
||||
import { FirmwareStatusNotificationRequestStatus } from '@ocpp/model/1.6/enums/index.js';
|
||||
import type { OcppRequest } from '@ocpp/internal-types.js';
|
||||
|
||||
export interface FirmwareStatusNotificationRequest extends OcppRequest {
|
||||
status: FirmwareStatusNotificationRequestStatus;
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
// SPDX-FileCopyrightText: 2025 Contributors to the CitrineOS Project
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/**
|
||||
* This file was automatically generated by json-schema-to-typescript.
|
||||
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
||||
* and run json-schema-to-typescript to regenerate this file.
|
||||
*/
|
||||
|
||||
import type { OcppResponse } from '../../../internal-types.js';
|
||||
|
||||
export interface FirmwareStatusNotificationResponse extends OcppResponse {}
|
||||
18
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/GetCompositeScheduleRequest.ts
vendored
Normal file
18
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/GetCompositeScheduleRequest.ts
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
// SPDX-FileCopyrightText: 2025 Contributors to the CitrineOS Project
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/**
|
||||
* This file was automatically generated by json-schema-to-typescript.
|
||||
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
||||
* and run json-schema-to-typescript to regenerate this file.
|
||||
*/
|
||||
|
||||
import { GetCompositeScheduleRequestChargingRateUnit } from '../enums/index.js';
|
||||
import type { OcppRequest } from '../../../internal-types.js';
|
||||
|
||||
export interface GetCompositeScheduleRequest extends OcppRequest {
|
||||
connectorId: number;
|
||||
duration: number;
|
||||
chargingRateUnit?: GetCompositeScheduleRequestChargingRateUnit | null;
|
||||
}
|
||||
32
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/GetCompositeScheduleResponse.ts
vendored
Normal file
32
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/GetCompositeScheduleResponse.ts
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
// SPDX-FileCopyrightText: 2025 Contributors to the CitrineOS Project
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/**
|
||||
* This file was automatically generated by json-schema-to-typescript.
|
||||
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
||||
* and run json-schema-to-typescript to regenerate this file.
|
||||
*/
|
||||
|
||||
import {
|
||||
GetCompositeScheduleResponseStatus,
|
||||
GetCompositeScheduleResponseChargingRateUnit,
|
||||
} from '../enums/index.js';
|
||||
import type { OcppResponse } from '../../../internal-types.js';
|
||||
|
||||
export interface GetCompositeScheduleResponse extends OcppResponse {
|
||||
status: GetCompositeScheduleResponseStatus;
|
||||
connectorId?: number | null;
|
||||
scheduleStart?: string | null;
|
||||
chargingSchedule?: {
|
||||
duration?: number | null;
|
||||
startSchedule?: string | null;
|
||||
chargingRateUnit: GetCompositeScheduleResponseChargingRateUnit;
|
||||
chargingSchedulePeriod: {
|
||||
startPeriod: number;
|
||||
limit: number;
|
||||
numberPhases?: number | null;
|
||||
}[];
|
||||
minChargingRate?: number | null;
|
||||
};
|
||||
}
|
||||
15
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/GetConfigurationRequest.ts
vendored
Normal file
15
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/GetConfigurationRequest.ts
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
// SPDX-FileCopyrightText: 2025 Contributors to the CitrineOS Project
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/**
|
||||
* This file was automatically generated by json-schema-to-typescript.
|
||||
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
||||
* and run json-schema-to-typescript to regenerate this file.
|
||||
*/
|
||||
|
||||
import type { OcppRequest } from '../../../internal-types.js';
|
||||
|
||||
export interface GetConfigurationRequest extends OcppRequest {
|
||||
key?: string[] | null;
|
||||
}
|
||||
20
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/GetConfigurationResponse.ts
vendored
Normal file
20
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/GetConfigurationResponse.ts
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
// SPDX-FileCopyrightText: 2025 Contributors to the CitrineOS Project
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/**
|
||||
* This file was automatically generated by json-schema-to-typescript.
|
||||
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
||||
* and run json-schema-to-typescript to regenerate this file.
|
||||
*/
|
||||
|
||||
import type { OcppResponse } from '../../../internal-types.js';
|
||||
|
||||
export interface GetConfigurationResponse extends OcppResponse {
|
||||
configurationKey?: {
|
||||
key: string | null;
|
||||
readonly: boolean;
|
||||
value?: string | null;
|
||||
}[];
|
||||
unknownKey?: string[] | null;
|
||||
}
|
||||
19
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/GetDiagnosticsRequest.ts
vendored
Normal file
19
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/GetDiagnosticsRequest.ts
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
// SPDX-FileCopyrightText: 2025 Contributors to the CitrineOS Project
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/**
|
||||
* This file was automatically generated by json-schema-to-typescript.
|
||||
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
||||
* and run json-schema-to-typescript to regenerate this file.
|
||||
*/
|
||||
|
||||
import type { OcppRequest } from '../../../internal-types.js';
|
||||
|
||||
export interface GetDiagnosticsRequest extends OcppRequest {
|
||||
location: string;
|
||||
retries?: number | null;
|
||||
retryInterval?: number | null;
|
||||
startTime?: string | null;
|
||||
stopTime?: string | null;
|
||||
}
|
||||
15
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/GetDiagnosticsResponse.ts
vendored
Normal file
15
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/GetDiagnosticsResponse.ts
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
// SPDX-FileCopyrightText: 2025 Contributors to the CitrineOS Project
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/**
|
||||
* This file was automatically generated by json-schema-to-typescript.
|
||||
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
||||
* and run json-schema-to-typescript to regenerate this file.
|
||||
*/
|
||||
|
||||
import type { OcppResponse } from '../../../internal-types.js';
|
||||
|
||||
export interface GetDiagnosticsResponse extends OcppResponse {
|
||||
fileName?: string | null;
|
||||
}
|
||||
13
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/GetLocalListVersionRequest.ts
vendored
Normal file
13
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/GetLocalListVersionRequest.ts
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
// SPDX-FileCopyrightText: 2025 Contributors to the CitrineOS Project
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/**
|
||||
* This file was automatically generated by json-schema-to-typescript.
|
||||
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
||||
* and run json-schema-to-typescript to regenerate this file.
|
||||
*/
|
||||
|
||||
import type { OcppRequest } from '../../../internal-types.js';
|
||||
|
||||
export interface GetLocalListVersionRequest extends OcppRequest {}
|
||||
15
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/GetLocalListVersionResponse.ts
vendored
Normal file
15
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/GetLocalListVersionResponse.ts
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
// SPDX-FileCopyrightText: 2025 Contributors to the CitrineOS Project
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/**
|
||||
* This file was automatically generated by json-schema-to-typescript.
|
||||
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
||||
* and run json-schema-to-typescript to regenerate this file.
|
||||
*/
|
||||
|
||||
import type { OcppResponse } from '../../../internal-types.js';
|
||||
|
||||
export interface GetLocalListVersionResponse extends OcppResponse {
|
||||
listVersion: number;
|
||||
}
|
||||
13
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/HeartbeatRequest.ts
vendored
Normal file
13
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/HeartbeatRequest.ts
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
// SPDX-FileCopyrightText: 2025 Contributors to the CitrineOS Project
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/**
|
||||
* This file was automatically generated by json-schema-to-typescript.
|
||||
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
||||
* and run json-schema-to-typescript to regenerate this file.
|
||||
*/
|
||||
|
||||
import type { OcppRequest } from '../../../internal-types.js';
|
||||
|
||||
export interface HeartbeatRequest extends OcppRequest {}
|
||||
15
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/HeartbeatResponse.ts
vendored
Normal file
15
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/HeartbeatResponse.ts
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
// SPDX-FileCopyrightText: 2025 Contributors to the CitrineOS Project
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/**
|
||||
* This file was automatically generated by json-schema-to-typescript.
|
||||
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
||||
* and run json-schema-to-typescript to regenerate this file.
|
||||
*/
|
||||
|
||||
import type { OcppResponse } from '../../../internal-types.js';
|
||||
|
||||
export interface HeartbeatResponse extends OcppResponse {
|
||||
currentTime: string;
|
||||
}
|
||||
36
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/MeterValuesRequest.ts
vendored
Normal file
36
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/MeterValuesRequest.ts
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
// SPDX-FileCopyrightText: 2025 Contributors to the CitrineOS Project
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/**
|
||||
* This file was automatically generated by json-schema-to-typescript.
|
||||
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
||||
* and run json-schema-to-typescript to regenerate this file.
|
||||
*/
|
||||
|
||||
import {
|
||||
MeterValuesRequestContext,
|
||||
MeterValuesRequestFormat,
|
||||
MeterValuesRequestMeasurand,
|
||||
MeterValuesRequestPhase,
|
||||
MeterValuesRequestLocation,
|
||||
MeterValuesRequestUnit,
|
||||
} from '../enums/index.js';
|
||||
import type { OcppRequest } from '../../../internal-types.js';
|
||||
|
||||
export interface MeterValuesRequest extends OcppRequest {
|
||||
connectorId: number;
|
||||
transactionId?: number | null;
|
||||
meterValue: {
|
||||
timestamp: string;
|
||||
sampledValue: {
|
||||
value: string;
|
||||
context?: MeterValuesRequestContext | null;
|
||||
format?: MeterValuesRequestFormat | null;
|
||||
measurand?: MeterValuesRequestMeasurand | null;
|
||||
phase?: MeterValuesRequestPhase | null;
|
||||
location?: MeterValuesRequestLocation | null;
|
||||
unit?: MeterValuesRequestUnit | null;
|
||||
}[];
|
||||
}[];
|
||||
}
|
||||
13
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/MeterValuesResponse.ts
vendored
Normal file
13
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/MeterValuesResponse.ts
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
// SPDX-FileCopyrightText: 2025 Contributors to the CitrineOS Project
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/**
|
||||
* This file was automatically generated by json-schema-to-typescript.
|
||||
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
||||
* and run json-schema-to-typescript to regenerate this file.
|
||||
*/
|
||||
|
||||
import type { OcppResponse } from '../../../internal-types.js';
|
||||
|
||||
export interface MeterValuesResponse extends OcppResponse {}
|
||||
@@ -0,0 +1,43 @@
|
||||
// SPDX-FileCopyrightText: 2025 Contributors to the CitrineOS Project
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/**
|
||||
* This file was automatically generated by json-schema-to-typescript.
|
||||
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
||||
* and run json-schema-to-typescript to regenerate this file.
|
||||
*/
|
||||
|
||||
import {
|
||||
RemoteStartTransactionRequestChargingProfilePurpose,
|
||||
RemoteStartTransactionRequestChargingProfileKind,
|
||||
RemoteStartTransactionRequestRecurrencyKind,
|
||||
RemoteStartTransactionRequestChargingRateUnit,
|
||||
} from '../enums/index.js';
|
||||
import type { OcppRequest } from '../../../internal-types.js';
|
||||
|
||||
export interface RemoteStartTransactionRequest extends OcppRequest {
|
||||
connectorId?: number | null;
|
||||
idTag: string;
|
||||
chargingProfile?: {
|
||||
chargingProfileId: number | null;
|
||||
transactionId?: number | null;
|
||||
stackLevel: number;
|
||||
chargingProfilePurpose: RemoteStartTransactionRequestChargingProfilePurpose;
|
||||
chargingProfileKind: RemoteStartTransactionRequestChargingProfileKind;
|
||||
recurrencyKind?: RemoteStartTransactionRequestRecurrencyKind | null;
|
||||
validFrom?: string | null;
|
||||
validTo?: string | null;
|
||||
chargingSchedule: {
|
||||
duration?: number | null;
|
||||
startSchedule?: string | null;
|
||||
chargingRateUnit: RemoteStartTransactionRequestChargingRateUnit;
|
||||
chargingSchedulePeriod: {
|
||||
startPeriod: number;
|
||||
limit: number;
|
||||
numberPhases?: number | null;
|
||||
}[];
|
||||
minChargingRate?: number | null;
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
// SPDX-FileCopyrightText: 2025 Contributors to the CitrineOS Project
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/**
|
||||
* This file was automatically generated by json-schema-to-typescript.
|
||||
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
||||
* and run json-schema-to-typescript to regenerate this file.
|
||||
*/
|
||||
|
||||
import { RemoteStartTransactionResponseStatus } from '../enums/index.js';
|
||||
import type { OcppResponse } from '../../../internal-types.js';
|
||||
|
||||
export interface RemoteStartTransactionResponse extends OcppResponse {
|
||||
status: RemoteStartTransactionResponseStatus;
|
||||
}
|
||||
15
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/RemoteStopTransactionRequest.ts
vendored
Normal file
15
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/RemoteStopTransactionRequest.ts
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
// SPDX-FileCopyrightText: 2025 Contributors to the CitrineOS Project
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/**
|
||||
* This file was automatically generated by json-schema-to-typescript.
|
||||
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
||||
* and run json-schema-to-typescript to regenerate this file.
|
||||
*/
|
||||
|
||||
import type { OcppRequest } from '../../../internal-types.js';
|
||||
|
||||
export interface RemoteStopTransactionRequest extends OcppRequest {
|
||||
transactionId: number;
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
// SPDX-FileCopyrightText: 2025 Contributors to the CitrineOS Project
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/**
|
||||
* This file was automatically generated by json-schema-to-typescript.
|
||||
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
||||
* and run json-schema-to-typescript to regenerate this file.
|
||||
*/
|
||||
|
||||
import { RemoteStopTransactionResponseStatus } from '../enums/index.js';
|
||||
import type { OcppResponse } from '../../../internal-types.js';
|
||||
|
||||
export interface RemoteStopTransactionResponse extends OcppResponse {
|
||||
status: RemoteStopTransactionResponseStatus;
|
||||
}
|
||||
19
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/ReserveNowRequest.ts
vendored
Normal file
19
tools/citrineos-core-main/packages/base/src/ocpp/model/1.6/types/ReserveNowRequest.ts
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
// SPDX-FileCopyrightText: 2025 Contributors to the CitrineOS Project
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/**
|
||||
* This file was automatically generated by json-schema-to-typescript.
|
||||
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
||||
* and run json-schema-to-typescript to regenerate this file.
|
||||
*/
|
||||
|
||||
import type { OcppRequest } from '../../../internal-types.js';
|
||||
|
||||
export interface ReserveNowRequest extends OcppRequest {
|
||||
connectorId: number;
|
||||
expiryDate: string;
|
||||
idTag: string;
|
||||
parentIdTag?: string | null;
|
||||
reservationId: number;
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user