2 "$schema": "http://json-schema.org/draft-07/schema#",
3 "$id": "urn:OCPP:Cp:2:2020:3:CustomerInformationRequest",
4 "$comment": "OCPP 2.0.1 FINAL",
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",
16 "required": ["vendorId"]
18 "HashAlgorithmEnumType": {
19 "description": "Used algorithms for the hashes provided.\r\n",
20 "javaType": "HashAlgorithmEnum",
22 "additionalProperties": false,
23 "enum": ["SHA256", "SHA384", "SHA512"]
26 "description": "Enumeration of possible idToken types.\r\n",
27 "javaType": "IdTokenEnum",
29 "additionalProperties": false,
41 "AdditionalInfoType": {
42 "description": "Contains a case insensitive identifier to use for the authorization and the type of authorization to support multiple forms of identifiers.\r\n",
43 "javaType": "AdditionalInfo",
45 "additionalProperties": false,
48 "$ref": "#/definitions/CustomDataType"
50 "additionalIdToken": {
51 "description": "This field specifies the additional IdToken.\r\n",
56 "description": "This defines the type of the additionalIdToken. This is a custom type, so the implementation needs to be agreed upon by all involved parties.\r\n",
61 "required": ["additionalIdToken", "type"]
63 "CertificateHashDataType": {
64 "javaType": "CertificateHashData",
66 "additionalProperties": false,
69 "$ref": "#/definitions/CustomDataType"
72 "$ref": "#/definitions/HashAlgorithmEnumType"
75 "description": "Hashed value of the Issuer DN (Distinguished Name).\r\n\r\n",
80 "description": "Hashed value of the issuers public key\r\n",
85 "description": "The serial number of the certificate.\r\n",
90 "required": ["hashAlgorithm", "issuerNameHash", "issuerKeyHash", "serialNumber"]
93 "description": "Contains a case insensitive identifier to use for the authorization and the type of authorization to support multiple forms of identifiers.\r\n",
94 "javaType": "IdToken",
96 "additionalProperties": false,
99 "$ref": "#/definitions/CustomDataType"
103 "additionalItems": false,
105 "$ref": "#/definitions/AdditionalInfoType"
110 "description": "IdToken is case insensitive. Might hold the hidden id of an RFID tag, but can for example also contain a UUID.\r\n",
115 "$ref": "#/definitions/IdTokenEnumType"
118 "required": ["idToken", "type"]
122 "additionalProperties": false,
125 "$ref": "#/definitions/CustomDataType"
127 "customerCertificate": {
128 "$ref": "#/definitions/CertificateHashDataType"
131 "$ref": "#/definitions/IdTokenType"
134 "description": "The Id of the request.\r\n\r\n",
138 "description": "Flag indicating whether the Charging Station should return NotifyCustomerInformationRequest messages containing information about the customer referred to.\r\n",
142 "description": "Flag indicating whether the Charging Station should clear all information about the customer referred to.\r\n",
145 "customerIdentifier": {
146 "description": "A (e.g. vendor specific) identifier of the customer this request refers to. This field contains a custom identifier other than IdToken and Certificate.\r\nOne of the possible identifiers (customerIdentifier, customerIdToken or customerCertificate) should be in the request message.\r\n",
151 "required": ["requestId", "report", "clear"]