Debian Codegraph @

ocpp/v201/schemas/ChangeAvailabilityRequest.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 "OperationalStatusEnumType": {
20 "description": "This contains the type of availability change that the Charging Station should perform.\r\n\r\n",
21 "javaType": "OperationalStatusEnum",
22 "type": "string",
23 "additionalProperties": false,
24 "enum": [
25 "Inoperative",
26 "Operative"
27 ]
28 },
29 "EVSEType": {
30 "description": "EVSE\r\nurn:x-oca:ocpp:uid:2:233123\r\nElectric Vehicle Supply Equipment\r\n",
31 "javaType": "EVSE",
32 "type": "object",
33 "additionalProperties": false,
34 "properties": {
35 "customData": {
36 "$ref": "#/definitions/CustomDataType"
37 },
38 "id": {
39 "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",
40 "type": "integer"
41 },
42 "connectorId": {
43 "description": "An id to designate a specific connector (on an EVSE) by connector index number.\r\n",
44 "type": "integer"
45 }
46 },
47 "required": [
48 "id"
49 ]
50 }
51 },
52 "type": "object",
53 "additionalProperties": false,
54 "properties": {
55 "customData": {
56 "$ref": "#/definitions/CustomDataType"
57 },
58 "evse": {
59 "$ref": "#/definitions/EVSEType"
60 },
61 "operationalStatus": {
62 "$ref": "#/definitions/OperationalStatusEnumType"
63 }
64 },
65 "required": [
66 "operationalStatus"
67 ]
68 }