Commit | Line | Data |
---|---|---|
d270cc87 | 1 | { |
98fc1389 | 2 | "$schema": "http://json-schema.org/draft-07/schema#", |
d270cc87 | 3 | "$id": "urn:OCPP:Cp:2:2020:3:ChangeAvailabilityRequest", |
98fc1389 | 4 | "$comment": "OCPP 2.0.1 FINAL", |
d270cc87 JB |
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 | "OperationalStatusEnumType": { | |
19 | "description": "This contains the type of availability change that the Charging Station should perform.\r\n\r\n", | |
20 | "javaType": "OperationalStatusEnum", | |
21 | "type": "string", | |
22 | "additionalProperties": false, | |
23 | "enum": ["Inoperative", "Operative"] | |
24 | }, | |
25 | "EVSEType": { | |
26 | "description": "EVSE\r\nurn:x-oca:ocpp:uid:2:233123\r\nElectric Vehicle Supply Equipment\r\n", | |
27 | "javaType": "EVSE", | |
28 | "type": "object", | |
29 | "additionalProperties": false, | |
30 | "properties": { | |
31 | "customData": { | |
32 | "$ref": "#/definitions/CustomDataType" | |
33 | }, | |
34 | "id": { | |
35 | "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", | |
36 | "type": "integer" | |
37 | }, | |
38 | "connectorId": { | |
39 | "description": "An id to designate a specific connector (on an EVSE) by connector index number.\r\n", | |
40 | "type": "integer" | |
41 | } | |
42 | }, | |
43 | "required": ["id"] | |
44 | } | |
45 | }, | |
46 | "type": "object", | |
47 | "additionalProperties": false, | |
48 | "properties": { | |
49 | "customData": { | |
50 | "$ref": "#/definitions/CustomDataType" | |
51 | }, | |
52 | "evse": { | |
53 | "$ref": "#/definitions/EVSEType" | |
54 | }, | |
55 | "operationalStatus": { | |
56 | "$ref": "#/definitions/OperationalStatusEnumType" | |
57 | } | |
58 | }, | |
59 | "required": ["operationalStatus"] | |
60 | } |