2 "$schema": "http://json-schema.org/draft-07/schema#",
3 "$id": "urn:OCPP:Cp:2:2020:3:ReserveNowRequest",
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 "ConnectorEnumType": {
19 "description": "This field specifies the connector type.\r\n",
20 "javaType": "ConnectorEnum",
22 "additionalProperties": false,
49 "description": "Enumeration of possible idToken types.\r\n",
50 "javaType": "IdTokenEnum",
52 "additionalProperties": false,
64 "AdditionalInfoType": {
65 "description": "Contains a case insensitive identifier to use for the authorization and the type of authorization to support multiple forms of identifiers.\r\n",
66 "javaType": "AdditionalInfo",
68 "additionalProperties": false,
71 "$ref": "#/definitions/CustomDataType"
73 "additionalIdToken": {
74 "description": "This field specifies the additional IdToken.\r\n",
79 "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",
84 "required": ["additionalIdToken", "type"]
87 "description": "Contains a case insensitive identifier to use for the authorization and the type of authorization to support multiple forms of identifiers.\r\n",
88 "javaType": "IdToken",
90 "additionalProperties": false,
93 "$ref": "#/definitions/CustomDataType"
97 "additionalItems": false,
99 "$ref": "#/definitions/AdditionalInfoType"
104 "description": "IdToken is case insensitive. Might hold the hidden id of an RFID tag, but can for example also contain a UUID.\r\n",
109 "$ref": "#/definitions/IdTokenEnumType"
112 "required": ["idToken", "type"]
116 "additionalProperties": false,
119 "$ref": "#/definitions/CustomDataType"
122 "description": "Id of reservation.\r\n",
126 "description": "Date and time at which the reservation expires.\r\n",
128 "format": "date-time"
131 "$ref": "#/definitions/ConnectorEnumType"
134 "$ref": "#/definitions/IdTokenType"
137 "description": "This contains ID of the evse to be reserved.\r\n",
141 "$ref": "#/definitions/IdTokenType"
144 "required": ["id", "expiryDateTime", "idToken"]