Debian Codegraph @

ocpp/v201/schemas/InstallCertificateRequest.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 "InstallCertificateUseEnumType": {
20 "description": "Indicates the certificate type that is sent.\r\n",
21 "javaType": "InstallCertificateUseEnum",
22 "type": "string",
23 "additionalProperties": false,
24 "enum": [
25 "V2GRootCertificate",
26 "MORootCertificate",
27 "CSMSRootCertificate",
28 "ManufacturerRootCertificate"
29 ]
30 }
31 },
32 "type": "object",
33 "additionalProperties": false,
34 "properties": {
35 "customData": {
36 "$ref": "#/definitions/CustomDataType"
37 },
38 "certificateType": {
39 "$ref": "#/definitions/InstallCertificateUseEnumType"
40 },
41 "certificate": {
42 "description": "A PEM encoded X.509 certificate.\r\n",
43 "type": "string",
44 "maxLength": 5500
45 }
46 },
47 "required": [
48 "certificateType",
49 "certificate"
50 ]
51 }