UNPKG

ocpp-standard-schema

Version:

Contains OCPP JSON schemas for validation purposes

52 lines (51 loc) 1.42 kB
{ "$schema": "http://json-schema.org/draft-06/schema#", "$id": "urn:OCPP:Cp:1.6:2020:3:DeleteCertificate.req", "definitions": { "HashAlgorithmEnumType": { "type": "string", "enum": [ "SHA256", "SHA384", "SHA512" ] }, "CertificateHashDataType": { "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": { "$ref": "#/definitions/CertificateHashDataType" } }, "required": [ "certificateHashData" ] }