fix: fix permissions
[e-mobility-charging-stations-simulator.git] / src / assets / json-schemas / ocpp / 2.0 / DeleteCertificateRequest.json
1 {
2 "$schema": "http://json-schema.org/draft-07/schema#",
3 "$id": "urn:OCPP:Cp:2:2020:3:DeleteCertificateRequest",
4 "$comment": "OCPP 2.0.1 FINAL",
5 "definitions": {
6 "CustomDataType": {
7 "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.",
8 "javaType": "CustomData",
9 "type": "object",
10 "properties": {
11 "vendorId": {
12 "type": "string",
13 "maxLength": 255
14 }
15 },
16 "required": ["vendorId"]
17 },
18 "HashAlgorithmEnumType": {
19 "description": "Used algorithms for the hashes provided.\r\n",
20 "javaType": "HashAlgorithmEnum",
21 "type": "string",
22 "additionalProperties": false,
23 "enum": ["SHA256", "SHA384", "SHA512"]
24 },
25 "CertificateHashDataType": {
26 "javaType": "CertificateHashData",
27 "type": "object",
28 "additionalProperties": false,
29 "properties": {
30 "customData": {
31 "$ref": "#/definitions/CustomDataType"
32 },
33 "hashAlgorithm": {
34 "$ref": "#/definitions/HashAlgorithmEnumType"
35 },
36 "issuerNameHash": {
37 "description": "Hashed value of the Issuer DN (Distinguished Name).\r\n\r\n",
38 "type": "string",
39 "maxLength": 128
40 },
41 "issuerKeyHash": {
42 "description": "Hashed value of the issuers public key\r\n",
43 "type": "string",
44 "maxLength": 128
45 },
46 "serialNumber": {
47 "description": "The serial number of the certificate.\r\n",
48 "type": "string",
49 "maxLength": 40
50 }
51 },
52 "required": ["hashAlgorithm", "issuerNameHash", "issuerKeyHash", "serialNumber"]
53 }
54 },
55 "type": "object",
56 "additionalProperties": false,
57 "properties": {
58 "customData": {
59 "$ref": "#/definitions/CustomDataType"
60 },
61 "certificateHashData": {
62 "$ref": "#/definitions/CertificateHashDataType"
63 }
64 },
65 "required": ["certificateHashData"]
66 }