Debian Codegraph @

ocpp/v201/schemas/StatusNotificationRequest.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 "ConnectorStatusEnumType": {
20 "description": "This contains the current status of the Connector.\r\n",
21 "javaType": "ConnectorStatusEnum",
22 "type": "string",
23 "additionalProperties": false,
24 "enum": [
25 "Available",
26 "Occupied",
27 "Reserved",
28 "Unavailable",
29 "Faulted"
30 ]
31 }
32 },
33 "type": "object",
34 "additionalProperties": false,
35 "properties": {
36 "customData": {
37 "$ref": "#/definitions/CustomDataType"
38 },
39 "timestamp": {
40 "description": "The time for which the status is reported. If absent time of receipt of the message will be assumed.\r\n",
41 "type": "string",
42 "format": "date-time"
43 },
44 "connectorStatus": {
45 "$ref": "#/definitions/ConnectorStatusEnumType"
46 },
47 "evseId": {
48 "description": "The id of the EVSE to which the connector belongs for which the the status is reported.\r\n",
49 "type": "integer"
50 },
51 "connectorId": {
52 "description": "The id of the connector within the EVSE for which the status is reported.\r\n",
53 "type": "integer"
54 }
55 },
56 "required": [
57 "timestamp",
58 "connectorStatus",
59 "evseId",
60 "connectorId"
61 ]
62 }