Debian Codegraph @

ocpp/v201/schemas/GetInstalledCertificateIdsResponse.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 "GetCertificateIdUseEnumType": {
20 "description": "Indicates the type of the requested certificate(s).\r\n",
21 "javaType": "GetCertificateIdUseEnum",
22 "type": "string",
23 "additionalProperties": false,
24 "enum": [
25 "V2GRootCertificate",
26 "MORootCertificate",
27 "CSMSRootCertificate",
28 "V2GCertificateChain",
29 "ManufacturerRootCertificate"
30 ]
31 },
32 "GetInstalledCertificateStatusEnumType": {
33 "description": "Charging Station indicates if it can process the request.\r\n",
34 "javaType": "GetInstalledCertificateStatusEnum",
35 "type": "string",
36 "additionalProperties": false,
37 "enum": [
38 "Accepted",
39 "NotFound"
40 ]
41 },
42 "HashAlgorithmEnumType": {
43 "description": "Used algorithms for the hashes provided.\r\n",
44 "javaType": "HashAlgorithmEnum",
45 "type": "string",
46 "additionalProperties": false,
47 "enum": [
48 "SHA256",
49 "SHA384",
50 "SHA512"
51 ]
52 },
53 "CertificateHashDataChainType": {
54 "javaType": "CertificateHashDataChain",
55 "type": "object",
56 "additionalProperties": false,
57 "properties": {
58 "customData": {
59 "$ref": "#/definitions/CustomDataType"
60 },
61 "certificateHashData": {
62 "$ref": "#/definitions/CertificateHashDataType"
63 },
64 "certificateType": {
65 "$ref": "#/definitions/GetCertificateIdUseEnumType"
66 },
67 "childCertificateHashData": {
68 "type": "array",
69 "additionalItems": false,
70 "items": {
71 "$ref": "#/definitions/CertificateHashDataType"
72 },
73 "minItems": 1,
74 "maxItems": 4
75 }
76 },
77 "required": [
78 "certificateType",
79 "certificateHashData"
80 ]
81 },
82 "CertificateHashDataType": {
83 "javaType": "CertificateHashData",
84 "type": "object",
85 "additionalProperties": false,
86 "properties": {
87 "customData": {
88 "$ref": "#/definitions/CustomDataType"
89 },
90 "hashAlgorithm": {
91 "$ref": "#/definitions/HashAlgorithmEnumType"
92 },
93 "issuerNameHash": {
94 "description": "Hashed value of the Issuer DN (Distinguished Name).\r\n\r\n",
95 "type": "string",
96 "maxLength": 128
97 },
98 "issuerKeyHash": {
99 "description": "Hashed value of the issuers public key\r\n",
100 "type": "string",
101 "maxLength": 128
102 },
103 "serialNumber": {
104 "description": "The serial number of the certificate.\r\n",
105 "type": "string",
106 "maxLength": 40
107 }
108 },
109 "required": [
110 "hashAlgorithm",
111 "issuerNameHash",
112 "issuerKeyHash",
113 "serialNumber"
114 ]
115 },
116 "StatusInfoType": {
117 "description": "Element providing more information about the status.\r\n",
118 "javaType": "StatusInfo",
119 "type": "object",
120 "additionalProperties": false,
121 "properties": {
122 "customData": {
123 "$ref": "#/definitions/CustomDataType"
124 },
125 "reasonCode": {
126 "description": "A predefined code for the reason why the status is returned in this response. The string is case-insensitive.\r\n",
127 "type": "string",
128 "maxLength": 20
129 },
130 "additionalInfo": {
131 "description": "Additional text to provide detailed information.\r\n",
132 "type": "string",
133 "maxLength": 512
134 }
135 },
136 "required": [
137 "reasonCode"
138 ]
139 }
140 },
141 "type": "object",
142 "additionalProperties": false,
143 "properties": {
144 "customData": {
145 "$ref": "#/definitions/CustomDataType"
146 },
147 "status": {
148 "$ref": "#/definitions/GetInstalledCertificateStatusEnumType"
149 },
150 "statusInfo": {
151 "$ref": "#/definitions/StatusInfoType"
152 },
153 "certificateHashDataChain": {
154 "type": "array",
155 "additionalItems": false,
156 "items": {
157 "$ref": "#/definitions/CertificateHashDataChainType"
158 },
159 "minItems": 1
160 }
161 },
162 "required": [
163 "status"
164 ]
165 }