Debian Codegraph @

ocpp/v201/schemas/RequestStartTransactionResponse.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 "RequestStartStopStatusEnumType": {
20 "description": "Status indicating whether the Charging Station accepts the request to start a transaction.\r\n",
21 "javaType": "RequestStartStopStatusEnum",
22 "type": "string",
23 "additionalProperties": false,
24 "enum": [
25 "Accepted",
26 "Rejected"
27 ]
28 },
29 "StatusInfoType": {
30 "description": "Element providing more information about the status.\r\n",
31 "javaType": "StatusInfo",
32 "type": "object",
33 "additionalProperties": false,
34 "properties": {
35 "customData": {
36 "$ref": "#/definitions/CustomDataType"
37 },
38 "reasonCode": {
39 "description": "A predefined code for the reason why the status is returned in this response. The string is case-insensitive.\r\n",
40 "type": "string",
41 "maxLength": 20
42 },
43 "additionalInfo": {
44 "description": "Additional text to provide detailed information.\r\n",
45 "type": "string",
46 "maxLength": 512
47 }
48 },
49 "required": [
50 "reasonCode"
51 ]
52 }
53 },
54 "type": "object",
55 "additionalProperties": false,
56 "properties": {
57 "customData": {
58 "$ref": "#/definitions/CustomDataType"
59 },
60 "status": {
61 "$ref": "#/definitions/RequestStartStopStatusEnumType"
62 },
63 "statusInfo": {
64 "$ref": "#/definitions/StatusInfoType"
65 },
66 "transactionId": {
67 "description": "When the transaction was already started by the Charging Station before the RequestStartTransactionRequest was received, for example: cable plugged in first. This contains the transactionId of the already started transaction.\r\n",
68 "type": "string",
69 "maxLength": 36
70 }
71 },
72 "required": [
73 "status"
74 ]
75 }