Debian Codegraph @

ocpp/v201/schemas/ReserveNowRequest.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 "ConnectorEnumType": {
20 "description": "This field specifies the connector type.\r\n",
21 "javaType": "ConnectorEnum",
22 "type": "string",
23 "additionalProperties": false,
24 "enum": [
25 "cCCS1",
26 "cCCS2",
27 "cG105",
28 "cTesla",
29 "cType1",
30 "cType2",
31 "s309-1P-16A",
32 "s309-1P-32A",
33 "s309-3P-16A",
34 "s309-3P-32A",
35 "sBS1361",
36 "sCEE-7-7",
37 "sType2",
38 "sType3",
39 "Other1PhMax16A",
40 "Other1PhOver16A",
41 "Other3Ph",
42 "Pan",
43 "wInductive",
44 "wResonant",
45 "Undetermined",
46 "Unknown"
47 ]
48 },
49 "IdTokenEnumType": {
50 "description": "Enumeration of possible idToken types.\r\n",
51 "javaType": "IdTokenEnum",
52 "type": "string",
53 "additionalProperties": false,
54 "enum": [
55 "Central",
56 "eMAID",
57 "ISO14443",
58 "ISO15693",
59 "KeyCode",
60 "Local",
61 "MacAddress",
62 "NoAuthorization"
63 ]
64 },
65 "AdditionalInfoType": {
66 "description": "Contains a case insensitive identifier to use for the authorization and the type of authorization to support multiple forms of identifiers.\r\n",
67 "javaType": "AdditionalInfo",
68 "type": "object",
69 "additionalProperties": false,
70 "properties": {
71 "customData": {
72 "$ref": "#/definitions/CustomDataType"
73 },
74 "additionalIdToken": {
75 "description": "This field specifies the additional IdToken.\r\n",
76 "type": "string",
77 "maxLength": 36
78 },
79 "type": {
80 "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",
81 "type": "string",
82 "maxLength": 50
83 }
84 },
85 "required": [
86 "additionalIdToken",
87 "type"
88 ]
89 },
90 "IdTokenType": {
91 "description": "Contains a case insensitive identifier to use for the authorization and the type of authorization to support multiple forms of identifiers.\r\n",
92 "javaType": "IdToken",
93 "type": "object",
94 "additionalProperties": false,
95 "properties": {
96 "customData": {
97 "$ref": "#/definitions/CustomDataType"
98 },
99 "additionalInfo": {
100 "type": "array",
101 "additionalItems": false,
102 "items": {
103 "$ref": "#/definitions/AdditionalInfoType"
104 },
105 "minItems": 1
106 },
107 "idToken": {
108 "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 "type": "string",
110 "maxLength": 36
111 },
112 "type": {
113 "$ref": "#/definitions/IdTokenEnumType"
114 }
115 },
116 "required": [
117 "idToken",
118 "type"
119 ]
120 }
121 },
122 "type": "object",
123 "additionalProperties": false,
124 "properties": {
125 "customData": {
126 "$ref": "#/definitions/CustomDataType"
127 },
128 "id": {
129 "description": "Id of reservation.\r\n",
130 "type": "integer"
131 },
132 "expiryDateTime": {
133 "description": "Date and time at which the reservation expires.\r\n",
134 "type": "string",
135 "format": "date-time"
136 },
137 "connectorType": {
138 "$ref": "#/definitions/ConnectorEnumType"
139 },
140 "idToken": {
141 "$ref": "#/definitions/IdTokenType"
142 },
143 "evseId": {
144 "description": "This contains ID of the evse to be reserved.\r\n",
145 "type": "integer"
146 },
147 "groupIdToken": {
148 "$ref": "#/definitions/IdTokenType"
149 }
150 },
151 "required": [
152 "id",
153 "expiryDateTime",
154 "idToken"
155 ]
156 }