ocpp-standard-schema
Version:
Contains OCPP JSON schemas for validation purposes
67 lines (66 loc) • 1.85 kB
JSON
{
"$schema": "http://json-schema.org/draft-06/schema#",
"$id": "urn:OCPP:Cp:1.6:2020:3:GetInstalledCertificateIds.conf",
"definitions": {
"GetInstalledCertificateStatusEnumType": {
"type": "string",
"enum": [
"Accepted",
"NotFound"
]
},
"HashAlgorithmEnumType": {
"type": "string",
"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",
"items": {
"$ref": "#/definitions/CertificateHashDataType"
},
"minItems": 1
},
"status": {
"$ref": "#/definitions/GetInstalledCertificateStatusEnumType"
}
},
"required": [
"status"
]
}