2 "$schema": "http://json-schema.org/draft-07/schema#",
3 "$id": "urn:OCPP:Cp:2:2020:3:AuthorizeRequest",
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"]
64 "description": "Contains a case insensitive identifier to use for the authorization and the type of authorization to support multiple forms of identifiers.\r\n",
65 "javaType": "IdToken",
67 "additionalProperties": false,
70 "$ref": "#/definitions/CustomDataType"
74 "additionalItems": false,
76 "$ref": "#/definitions/AdditionalInfoType"
81 "description": "IdToken is case insensitive. Might hold the hidden id of an RFID tag, but can for example also contain a UUID.\r\n",
86 "$ref": "#/definitions/IdTokenEnumType"
89 "required": ["idToken", "type"]
91 "OCSPRequestDataType": {
92 "javaType": "OCSPRequestData",
94 "additionalProperties": false,
97 "$ref": "#/definitions/CustomDataType"
100 "$ref": "#/definitions/HashAlgorithmEnumType"
103 "description": "Hashed value of the Issuer DN (Distinguished Name).\r\n\r\n",
108 "description": "Hashed value of the issuers public key\r\n",
113 "description": "The serial number of the certificate.\r\n",
118 "description": "This contains the responder URL (Case insensitive). \r\n\r\n",
133 "additionalProperties": false,
136 "$ref": "#/definitions/CustomDataType"
139 "$ref": "#/definitions/IdTokenType"
142 "description": "The X.509 certificated presented by EV and encoded in PEM format.\r\n",
146 "iso15118CertificateHashData": {
148 "additionalItems": false,
150 "$ref": "#/definitions/OCSPRequestDataType"
156 "required": ["idToken"]