UNPKG

ocpp-messages

Version:

TypeScript definitions for Open Charge Point Protocol (OCPP)

70 lines 1.67 kB
{ "$schema": "http://json-schema.org/draft-06/schema#", "$id": "urn:OCPP:Cp:2:2018:4:GetInstalledCertificateIdsResponse", "comment": "OCPP 2.0 - v1p0", "definitions": { "GetInstalledCertificateStatusEnumType": { "type": "string", "additionalProperties": true, "enum": [ "Accepted", "NotFound" ] }, "HashAlgorithmEnumType": { "type": "string", "additionalProperties": true, "enum": [ "SHA256", "SHA384", "SHA512" ] }, "CertificateHashDataType": { "javaType": "CertificateHashData", "type": "object", "additionalProperties": true, "properties": { "hashAlgorithm": { "$ref": "#/definitions/HashAlgorithmEnumType" }, "issuerNameHash": { "type": "string", "maxLength": 128 }, "issuerKeyHash": { "type": "string", "maxLength": 128 }, "serialNumber": { "type": "string", "maxLength": 20 } }, "required": [ "hashAlgorithm", "issuerNameHash", "issuerKeyHash", "serialNumber" ] } }, "type": "object", "additionalProperties": true, "properties": { "certificateHashData": { "type": "array", "additionalItems": false, "items": { "$ref": "#/definitions/CertificateHashDataType" }, "minItems": 1 }, "status": { "$ref": "#/definitions/GetInstalledCertificateStatusEnumType" } }, "required": [ "status" ] }