Debian Codegraph @

ocpp/v201/schemas/GetBaseReportResponse.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 "GenericDeviceModelStatusEnumType": {
20 "description": "This indicates whether the Charging Station is able to accept this request.\r\n",
21 "javaType": "GenericDeviceModelStatusEnum",
22 "type": "string",
23 "additionalProperties": false,
24 "enum": [
25 "Accepted",
26 "Rejected",
27 "NotSupported",
28 "EmptyResultSet"
29 ]
30 },
31 "StatusInfoType": {
32 "description": "Element providing more information about the status.\r\n",
33 "javaType": "StatusInfo",
34 "type": "object",
35 "additionalProperties": false,
36 "properties": {
37 "customData": {
38 "$ref": "#/definitions/CustomDataType"
39 },
40 "reasonCode": {
41 "description": "A predefined code for the reason why the status is returned in this response. The string is case-insensitive.\r\n",
42 "type": "string",
43 "maxLength": 20
44 },
45 "additionalInfo": {
46 "description": "Additional text to provide detailed information.\r\n",
47 "type": "string",
48 "maxLength": 512
49 }
50 },
51 "required": [
52 "reasonCode"
53 ]
54 }
55 },
56 "type": "object",
57 "additionalProperties": false,
58 "properties": {
59 "customData": {
60 "$ref": "#/definitions/CustomDataType"
61 },
62 "status": {
63 "$ref": "#/definitions/GenericDeviceModelStatusEnumType"
64 },
65 "statusInfo": {
66 "$ref": "#/definitions/StatusInfoType"
67 }
68 },
69 "required": [
70 "status"
71 ]
72 }