Debian Codegraph @

ocpp/v201/schemas/TriggerMessageRequest.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 "MessageTriggerEnumType": {
20 "description": "Type of message to be triggered.\r\n",
21 "javaType": "MessageTriggerEnum",
22 "type": "string",
23 "additionalProperties": false,
24 "enum": [
25 "BootNotification",
26 "LogStatusNotification",
27 "FirmwareStatusNotification",
28 "Heartbeat",
29 "MeterValues",
30 "SignChargingStationCertificate",
31 "SignV2GCertificate",
32 "StatusNotification",
33 "TransactionEvent",
34 "SignCombinedCertificate",
35 "PublishFirmwareStatusNotification"
36 ]
37 },
38 "EVSEType": {
39 "description": "EVSE\r\nurn:x-oca:ocpp:uid:2:233123\r\nElectric Vehicle Supply Equipment\r\n",
40 "javaType": "EVSE",
41 "type": "object",
42 "additionalProperties": false,
43 "properties": {
44 "customData": {
45 "$ref": "#/definitions/CustomDataType"
46 },
47 "id": {
48 "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",
49 "type": "integer"
50 },
51 "connectorId": {
52 "description": "An id to designate a specific connector (on an EVSE) by connector index number.\r\n",
53 "type": "integer"
54 }
55 },
56 "required": [
57 "id"
58 ]
59 }
60 },
61 "type": "object",
62 "additionalProperties": false,
63 "properties": {
64 "customData": {
65 "$ref": "#/definitions/CustomDataType"
66 },
67 "evse": {
68 "$ref": "#/definitions/EVSEType"
69 },
70 "requestedMessage": {
71 "$ref": "#/definitions/MessageTriggerEnumType"
72 }
73 },
74 "required": [
75 "requestedMessage"
76 ]
77 }