ocpp-standard-schema
Version:
Contains OCPP JSON schemas for validation purposes
21 lines (20 loc) • 562 B
TypeScript
export default interface GetTransactionStatusResponse {
customData?: CustomDataType;
/**
* Whether the transaction is still ongoing.
*
*/
ongoingIndicator?: boolean;
/**
* Whether there are still message to be delivered.
*
*/
messagesInQueue: boolean;
}
/**
* This class does not get 'AdditionalProperties = false' in the schema generation, so it can be extended with arbitrary JSON properties to allow adding custom data.
*/
export interface CustomDataType {
vendorId: string;
[k: string]: unknown;
}