Debian Codegraph @

ocpp/v201/schemas/SecurityEventNotificationRequest.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 },
20 "type": "object",
21 "additionalProperties": false,
22 "properties": {
23 "customData": {
24 "$ref": "#/definitions/CustomDataType"
25 },
26 "type": {
27 "description": "Type of the security event. This value should be taken from the Security events list.\r\n",
28 "type": "string",
29 "maxLength": 50
30 },
31 "timestamp": {
32 "description": "Date and time at which the event occurred.\r\n",
33 "type": "string",
34 "format": "date-time"
35 },
36 "techInfo": {
37 "description": "Additional information about the occurred security event.\r\n",
38 "type": "string",
39 "maxLength": 255
40 }
41 },
42 "required": [
43 "type",
44 "timestamp"
45 ]
46 }