UNPKG

ocpp-standard-schema

Version:

Contains OCPP JSON schemas for validation purposes

70 lines (69 loc) 1.97 kB
{ "$schema": "http://json-schema.org/draft-06/schema#", "$id": "urn:OCPP:Cp:1.6:2020:3:GetInstalledCertificateIds.conf", "definitions": { "GetInstalledCertificateStatusEnumType": { "type": "string", "additionalProperties": false, "enum": [ "Accepted", "NotFound" ] }, "HashAlgorithmEnumType": { "type": "string", "additionalProperties": false, "enum": [ "SHA256", "SHA384", "SHA512" ] }, "CertificateHashDataType": { "javaType": "CertificateHashData", "type": "object", "additionalProperties": false, "properties": { "hashAlgorithm": { "$ref": "#/definitions/HashAlgorithmEnumType" }, "issuerNameHash": { "type": "string", "maxLength": 128 }, "issuerKeyHash": { "type": "string", "maxLength": 128 }, "serialNumber": { "type": "string", "maxLength": 40 } }, "required": [ "hashAlgorithm", "issuerNameHash", "issuerKeyHash", "serialNumber" ] } }, "type": "object", "additionalProperties": false, "properties": { "certificateHashData": { "type": "array", "additionalItems": false, "items": { "$ref": "#/definitions/CertificateHashDataType" }, "minItems": 1 }, "status": { "$ref": "#/definitions/GetInstalledCertificateStatusEnumType" } }, "required": [ "status" ] }