fix: fix permissions
[e-mobility-charging-stations-simulator.git] / src / assets / json-schemas / ocpp / 2.0 / StatusNotificationRequest.json
1 {
2 "$schema": "http://json-schema.org/draft-07/schema#",
3 "$id": "urn:OCPP:Cp:2:2020:3:StatusNotificationRequest",
4 "$comment": "OCPP 2.0.1 FINAL",
5 "definitions": {
6 "CustomDataType": {
7 "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.",
8 "javaType": "CustomData",
9 "type": "object",
10 "properties": {
11 "vendorId": {
12 "type": "string",
13 "maxLength": 255
14 }
15 },
16 "required": ["vendorId"]
17 },
18 "ConnectorStatusEnumType": {
19 "description": "This contains the current status of the Connector.\r\n",
20 "javaType": "ConnectorStatusEnum",
21 "type": "string",
22 "additionalProperties": false,
23 "enum": ["Available", "Occupied", "Reserved", "Unavailable", "Faulted"]
24 }
25 },
26 "type": "object",
27 "additionalProperties": false,
28 "properties": {
29 "customData": {
30 "$ref": "#/definitions/CustomDataType"
31 },
32 "timestamp": {
33 "description": "The time for which the status is reported. If absent time of receipt of the message will be assumed.\r\n",
34 "type": "string",
35 "format": "date-time"
36 },
37 "connectorStatus": {
38 "$ref": "#/definitions/ConnectorStatusEnumType"
39 },
40 "evseId": {
41 "description": "The id of the EVSE to which the connector belongs for which the the status is reported.\r\n",
42 "type": "integer"
43 },
44 "connectorId": {
45 "description": "The id of the connector within the EVSE for which the status is reported.\r\n",
46 "type": "integer"
47 }
48 },
49 "required": ["timestamp", "connectorStatus", "evseId", "connectorId"]
50 }