Debian Codegraph @

ocpp/v201/schemas/GetCertificateStatusRequest.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 "OCSPRequestDataType": {
31 "javaType": "OCSPRequestData",
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 "responderURL": {
57 "description": "This contains the responder URL (Case insensitive). \r\n\r\n",
58 "type": "string",
59 "maxLength": 512
60 }
61 },
62 "required": [
63 "hashAlgorithm",
64 "issuerNameHash",
65 "issuerKeyHash",
66 "serialNumber",
67 "responderURL"
68 ]
69 }
70 },
71 "type": "object",
72 "additionalProperties": false,
73 "properties": {
74 "customData": {
75 "$ref": "#/definitions/CustomDataType"
76 },
77 "ocspRequestData": {
78 "$ref": "#/definitions/OCSPRequestDataType"
79 }
80 },
81 "required": [
82 "ocspRequestData"
83 ]
84 }