ocpp-standard-schema
Version:
Contains OCPP JSON schemas for validation purposes
26 lines (25 loc) • 694 B
TypeScript
export default interface SecurityEventNotificationRequest {
customData?: CustomDataType;
/**
* Type of the security event. This value should be taken from the Security events list.
*
*/
type: string;
/**
* Date and time at which the event occurred.
*
*/
timestamp: string;
/**
* Additional information about the occurred security event.
*
*/
techInfo?: string;
}
/**
* 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;
}