Debian Codegraph @

ocpp/v201/schemas/NotifyEVChargingNeedsResponse.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 "NotifyEVChargingNeedsStatusEnumType": {
20 "description": "Returns whether the CSMS has been able to process the message successfully. It does not imply that the evChargingNeeds can be met with the current charging profile.\r\n",
21 "javaType": "NotifyEVChargingNeedsStatusEnum",
22 "type": "string",
23 "additionalProperties": false,
24 "enum": [
25 "Accepted",
26 "Rejected",
27 "Processing"
28 ]
29 },
30 "StatusInfoType": {
31 "description": "Element providing more information about the status.\r\n",
32 "javaType": "StatusInfo",
33 "type": "object",
34 "additionalProperties": false,
35 "properties": {
36 "customData": {
37 "$ref": "#/definitions/CustomDataType"
38 },
39 "reasonCode": {
40 "description": "A predefined code for the reason why the status is returned in this response. The string is case-insensitive.\r\n",
41 "type": "string",
42 "maxLength": 20
43 },
44 "additionalInfo": {
45 "description": "Additional text to provide detailed information.\r\n",
46 "type": "string",
47 "maxLength": 512
48 }
49 },
50 "required": [
51 "reasonCode"
52 ]
53 }
54 },
55 "type": "object",
56 "additionalProperties": false,
57 "properties": {
58 "customData": {
59 "$ref": "#/definitions/CustomDataType"
60 },
61 "status": {
62 "$ref": "#/definitions/NotifyEVChargingNeedsStatusEnumType"
63 },
64 "statusInfo": {
65 "$ref": "#/definitions/StatusInfoType"
66 }
67 },
68 "required": [
69 "status"
70 ]
71 }