Debian Codegraph @

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