ocpp-standard-schema
Version:
Contains OCPP JSON schemas for validation purposes
22 lines (21 loc) • 697 B
TypeScript
/**
* Indicates the certificate type that is sent.
*
*/
export declare type InstallCertificateUseEnumType = 'V2GRootCertificate' | 'MORootCertificate' | 'CSMSRootCertificate' | 'ManufacturerRootCertificate';
export default interface InstallCertificateRequest {
customData?: CustomDataType;
certificateType: InstallCertificateUseEnumType;
/**
* A PEM encoded X.509 certificate.
*
*/
certificate: 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;
}