Debian Codegraph @

ocpp/v201/schemas/GetReportRequest.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 "ComponentCriterionEnumType": {
20 "javaType": "ComponentCriterionEnum",
21 "type": "string",
22 "additionalProperties": false,
23 "enum": [
24 "Active",
25 "Available",
26 "Enabled",
27 "Problem"
28 ]
29 },
30 "ComponentType": {
31 "description": "A physical or logical component\r\n",
32 "javaType": "Component",
33 "type": "object",
34 "additionalProperties": false,
35 "properties": {
36 "customData": {
37 "$ref": "#/definitions/CustomDataType"
38 },
39 "evse": {
40 "$ref": "#/definitions/EVSEType"
41 },
42 "name": {
43 "description": "Name of the component. Name should be taken from the list of standardized component names whenever possible. Case Insensitive. strongly advised to use Camel Case.\r\n",
44 "type": "string",
45 "maxLength": 50
46 },
47 "instance": {
48 "description": "Name of instance in case the component exists as multiple instances. Case Insensitive. strongly advised to use Camel Case.\r\n",
49 "type": "string",
50 "maxLength": 50
51 }
52 },
53 "required": [
54 "name"
55 ]
56 },
57 "ComponentVariableType": {
58 "description": "Class to report components, variables and variable attributes and characteristics.\r\n",
59 "javaType": "ComponentVariable",
60 "type": "object",
61 "additionalProperties": false,
62 "properties": {
63 "customData": {
64 "$ref": "#/definitions/CustomDataType"
65 },
66 "component": {
67 "$ref": "#/definitions/ComponentType"
68 },
69 "variable": {
70 "$ref": "#/definitions/VariableType"
71 }
72 },
73 "required": [
74 "component"
75 ]
76 },
77 "EVSEType": {
78 "description": "EVSE\r\nurn:x-oca:ocpp:uid:2:233123\r\nElectric Vehicle Supply Equipment\r\n",
79 "javaType": "EVSE",
80 "type": "object",
81 "additionalProperties": false,
82 "properties": {
83 "customData": {
84 "$ref": "#/definitions/CustomDataType"
85 },
86 "id": {
87 "description": "Identified_ Object. MRID. Numeric_ Identifier\r\nurn:x-enexis:ecdm:uid:1:569198\r\nEVSE Identifier. This contains a number (> 0) designating an EVSE of the Charging Station.\r\n",
88 "type": "integer"
89 },
90 "connectorId": {
91 "description": "An id to designate a specific connector (on an EVSE) by connector index number.\r\n",
92 "type": "integer"
93 }
94 },
95 "required": [
96 "id"
97 ]
98 },
99 "VariableType": {
100 "description": "Reference key to a component-variable.\r\n",
101 "javaType": "Variable",
102 "type": "object",
103 "additionalProperties": false,
104 "properties": {
105 "customData": {
106 "$ref": "#/definitions/CustomDataType"
107 },
108 "name": {
109 "description": "Name of the variable. Name should be taken from the list of standardized variable names whenever possible. Case Insensitive. strongly advised to use Camel Case.\r\n",
110 "type": "string",
111 "maxLength": 50
112 },
113 "instance": {
114 "description": "Name of instance in case the variable exists as multiple instances. Case Insensitive. strongly advised to use Camel Case.\r\n",
115 "type": "string",
116 "maxLength": 50
117 }
118 },
119 "required": [
120 "name"
121 ]
122 }
123 },
124 "type": "object",
125 "additionalProperties": false,
126 "properties": {
127 "customData": {
128 "$ref": "#/definitions/CustomDataType"
129 },
130 "componentVariable": {
131 "type": "array",
132 "additionalItems": false,
133 "items": {
134 "$ref": "#/definitions/ComponentVariableType"
135 },
136 "minItems": 1
137 },
138 "requestId": {
139 "description": "The Id of the request.\r\n",
140 "type": "integer"
141 },
142 "componentCriteria": {
143 "description": "This field contains criteria for components for which a report is requested\r\n",
144 "type": "array",
145 "additionalItems": false,
146 "items": {
147 "$ref": "#/definitions/ComponentCriterionEnumType"
148 },
149 "minItems": 1,
150 "maxItems": 4
151 }
152 },
153 "required": [
154 "requestId"
155 ]
156 }