Debian Codegraph @

ocpp/v201/schemas/DeleteCertificateRequest.json

raw
1 {
2 "$schema": "http://json-schema.org/draft-06/schema#",
3 "comment": "OCPP 2.0.1 FINAL",
4 "definitions": {
5 "CustomDataType": {
6 "description": "This class does not get 'AdditionalProperties = false' in the schema generation, so it can be extended with arbitrary JSON properties to allow adding custom data.",
7 "javaType": "CustomData",
8 "type": "object",
9 "properties": {
10 "vendorId": {
11 "type": "string",
12 "maxLength": 255
13 }
14 },
15 "required": [
16 "vendorId"
17 ]
18 },
19 "HashAlgorithmEnumType": {
20 "description": "Used algorithms for the hashes provided.\r\n",
21 "javaType": "HashAlgorithmEnum",
22 "type": "string",
23 "additionalProperties": false,
24 "enum": [
25 "SHA256",
26 "SHA384",
27 "SHA512"
28 ]
29 },
30 "CertificateHashDataType": {
31 "javaType": "CertificateHashData",
32 "type": "object",
33 "additionalProperties": false,
34 "properties": {
35 "customData": {
36 "$ref": "#/definitions/CustomDataType"
37 },
38 "hashAlgorithm": {
39 "$ref": "#/definitions/HashAlgorithmEnumType"
40 },
41 "issuerNameHash": {
42 "description": "Hashed value of the Issuer DN (Distinguished Name).\r\n\r\n",
43 "type": "string",
44 "maxLength": 128
45 },
46 "issuerKeyHash": {
47 "description": "Hashed value of the issuers public key\r\n",
48 "type": "string",
49 "maxLength": 128
50 },
51 "serialNumber": {
52 "description": "The serial number of the certificate.\r\n",
53 "type": "string",
54 "maxLength": 40
55 }
56 },
57 "required": [
58 "hashAlgorithm",
59 "issuerNameHash",
60 "issuerKeyHash",
61 "serialNumber"
62 ]
63 }
64 },
65 "type": "object",
66 "additionalProperties": false,
67 "properties": {
68 "customData": {
69 "$ref": "#/definitions/CustomDataType"
70 },
71 "certificateHashData": {
72 "$ref": "#/definitions/CertificateHashDataType"
73 }
74 },
75 "required": [
76 "certificateHashData"
77 ]
78 }