| 1 |
{ |
| 2 |
"$schema": "http://json-schema.org/draft-06/schema#", |
| 3 |
"$id": "urn:OCPP:Cp:1.6:2020:3:GetInstalledCertificateIds.conf", |
| 4 |
"definitions": { |
| 5 |
"GetInstalledCertificateStatusEnumType": { |
| 6 |
"type": "string", |
| 7 |
"additionalProperties": false, |
| 8 |
"enum": [ |
| 9 |
"Accepted", |
| 10 |
"NotFound" |
| 11 |
] |
| 12 |
}, |
| 13 |
"HashAlgorithmEnumType": { |
| 14 |
"type": "string", |
| 15 |
"additionalProperties": false, |
| 16 |
"enum": [ |
| 17 |
"SHA256", |
| 18 |
"SHA384", |
| 19 |
"SHA512" |
| 20 |
] |
| 21 |
}, |
| 22 |
"CertificateHashDataType": { |
| 23 |
"javaType": "CertificateHashData", |
| 24 |
"type": "object", |
| 25 |
"additionalProperties": false, |
| 26 |
"properties": { |
| 27 |
"hashAlgorithm": { |
| 28 |
"$ref": "#/definitions/HashAlgorithmEnumType" |
| 29 |
}, |
| 30 |
"issuerNameHash": { |
| 31 |
"type": "string", |
| 32 |
"maxLength": 128 |
| 33 |
}, |
| 34 |
"issuerKeyHash": { |
| 35 |
"type": "string", |
| 36 |
"maxLength": 128 |
| 37 |
}, |
| 38 |
"serialNumber": { |
| 39 |
"type": "string", |
| 40 |
"maxLength": 40 |
| 41 |
} |
| 42 |
}, |
| 43 |
"required": [ |
| 44 |
"hashAlgorithm", |
| 45 |
"issuerNameHash", |
| 46 |
"issuerKeyHash", |
| 47 |
"serialNumber" |
| 48 |
] |
| 49 |
} |
| 50 |
}, |
| 51 |
"type": "object", |
| 52 |
"additionalProperties": false, |
| 53 |
"properties": { |
| 54 |
"certificateHashData": { |
| 55 |
"type": "array", |
| 56 |
"additionalItems": false, |
| 57 |
"items": { |
| 58 |
"$ref": "#/definitions/CertificateHashDataType" |
| 59 |
}, |
| 60 |
"minItems": 1 |
| 61 |
}, |
| 62 |
"status": { |
| 63 |
"$ref": "#/definitions/GetInstalledCertificateStatusEnumType" |
| 64 |
} |
| 65 |
}, |
| 66 |
"required": [ |
| 67 |
"status" |
| 68 |
] |
| 69 |
} |