pre>
|
|
709
|
+class ReservationStatus(str, Enum):
|
|
|
710
|
+ """
|
|
|
711
|
+ Status in ReserveNow.conf.
|
|
|
712
|
+ """
|
|
|
713
|
+
|
|
|
714
|
+ accepted = "Accepted"
|
|
|
715
|
+ faulted = "Faulted"
|
|
|
716
|
+ occupied = "Occupied"
|
|
|
717
|
+ rejected = "Rejected"
|
|
|
718
|
+ unavailable = "Unavailable"
|
|
|
719
|
+
|
|
|
720
|
+
|
|
|
721
|
+class ResetStatus(str, Enum):
|
|
|
722
|
+ """
|
|
|
723
|
+ Result of Reset.req
|
|
|
724
|
+ """
|
|
|
725
|
+
|
|
|
726
|
+ accepted = "Accepted"
|
|
|
727
|
+ rejected = "Rejected"
|
|
|
728
|
+
|
|
|
729
|
+
|
|
|
730
|
+class ResetType(str, Enum):
|
|
|
731
|
+ """
|
|
|
732
|
+ Type of reset requested by Reset.req
|
|
|
733
|
+ """
|
|
|
734
|
+
|
|
|
735
|
+ hard = "Hard"
|
|
|
736
|
+ soft = "Soft"
|
|
|
737
|
+
|
|
|
738
|
+
|
|
|
739
|
+class TriggerMessageStatus(str, Enum):
|
|
|
740
|
+ """
|
|
|
741
|
+ Status in TriggerMessage.conf.
|
|
|
742
|
+ """
|
|
|
743
|
+
|
|
|
744
|
+ accepted = "Accepted"
|
|
|
745
|
+ rejected = "Rejected"
|
|
|
746
|
+ not_implemented = "NotImplemented"
|
|
|
747
|
+
|
|
|
748
|
+ # Soon to be deprecated enums
|
|
|
749
|
+ notImplemented = "NotImplemented"
|
|
|
750
|
+
|
|
|
751
|
+
|
|
|
752
|
+class UnitOfMeasure(str, Enum):
|
|
|
753
|
+ """
|
|
|
754
|
+ Allowable values of the optional "unit" field of a Value element, as used
|
|
|
755
|
+ in MeterValues.req and StopTransaction.req messages. Default value of
|
|
|
756
|
+ "unit" is always "Wh".
|
|
|
757
|
+ """
|
|
|
758
|
+
|
|
|
759
|
+ wh = "Wh"
|
|
|
760
|
+ kwh = "kWh"
|
|
|
761
|
+ varh = "varh"
|
|
|
762
|
+ kvarh = "kvarh"
|
|
|
763
|
+ w = "W"
|
|
|
764
|
+ kw = "kW"
|
|
|
765
|
+ va = "VA"
|
|
|
766
|
+ kva = "kVA"
|
|
|
767
|
+ var = "var"
|
|
|
768
|
+ kvar = "kvar"
|
|
|
769
|
+ a = "A"
|
|
|
770
|
+ v = "V"
|
|
|
771
|
+ celsius = "Celsius"
|
|
|
772
|
+ fahrenheit = "Fahrenheit"
|
|
|
773
|
+ k = "K"
|
|
|
774
|
+ percent = "Percent"
|
|
|
775
|
+ hertz = "Hertz"
|
|
|
776
|
+
|
|
|
777
|
+
|
|
|
778
|
+class UnlockStatus(str, Enum):
|
|
|
779
|
+ """
|
|
|
780
|
+ Status in response to UnlockConnector.req.
|
|
|
781
|
+ """
|
|
|
782
|
+
|
|
|
783
|
+ unlocked = "Unlocked"
|
|
|
784
|
+ unlock_failed = "UnlockFailed"
|
|
|
785
|
+ not_supported = "NotSupported"
|
|
|
786
|
+
|
|
|
787
|
+ # Soon to be deprecated enums
|
|
|
788
|
+ unlockFailed = "UnlockFailed"
|
|
|
789
|
+ notSupported = "NotSupported"
|
|
|
790
|
+
|
|
|
791
|
+
|
|
|
792
|
+class UpdateFirmwareStatus(str, Enum):
|
|
|
793
|
+ """
|
|
|
794
|
+ UpdateFirmwareStatusEnumType is used by: SignedUpdateFirmware.conf
|
|
|
795
|
+ """
|
|
|
796
|
+
|
|
|
797
|
+ accepted = "Accepted"
|
|
|
798
|
+ rejected = "Rejected"
|
|
|
799
|
+ accepted_canceled = "AcceptedCanceled"
|
|
|
800
|
+ invalid_certificate = "InvalidCertificate"
|
|
|
801
|
+ revoked_certificate = "RevokedCertificate"
|
|
|
802
|
+
|
|
|
803
|
+
|
|
|
804
|
+class UploadLogStatus(str, Enum):
|
|
|
805
|
+ """
|
|
|
806
|
+ UploadLogStatusEnumType is used by: LogStatusNotification.req
|
|
|
807
|
+ """
|
|
|
808
|
+
|
|
|
809
|
+ bad_message = "BadMessage"
|
|
|
810
|
+ idle = "Idle"
|
|
|
811
|
+ not_supported_operation = "NotSupportedOperation"
|
|
|
812
|
+ permission_denied = "PermissionDenied"
|
|
|
813
|
+ uploaded = "Uploaded"
|
|
|
814
|
+ upload_failure = "UploadFailure"
|
|
|
815
|
+ uploading = "Uploading"
|
|
|
816
|
+
|
|
|
817
|
+
|
|
|
818
|
+class UpdateStatus(str, Enum):
|
|
|
819
|
+ """
|
|
|
820
|
+ Type of update for a SendLocalList.req.
|
|
|
821
|
+ """
|
|
|
822
|
+
|
|
|
823
|
+ accepted = "Accepted"
|
|
|
824
|
+ failed = "Failed"
|
|
|
825
|
+ not_supported = "NotSupported"
|
|
|
826
|
+ version_mismatch = "VersionMismatch"
|
|
|
827
|
+
|
|
|
828
|
+ # Soon to be deprecated enums
|
|
|
829
|
+ notSupported = "NotSupported"
|
|
|
830
|
+ versionMismatch = "VersionMismatch"
|
|
|
831
|
+
|
|
|
832
|
+
|
|
|
833
|
+class UpdateType(str, Enum):
|
|
|
834
|
+ """
|
|
|
835
|
+ Type of update for a SendLocalList.req.
|
|
|
836
|
+ """
|
|
|
837
|
+
|
|
|
838
|
+ differential = "Differential"
|
|
|
839
|
+ full = "Full"
|
|
|
840
|
+
|
|
|
841
|
+
|
|
|
842
|
+class ValueFormat(str, Enum):
|
|
|
843
|
+ """
|
|
|
844
|
+ Format that specifies how the value element in SampledValue is to be
|
|
|
845
|
+ interpreted.
|
|
|
846
|
+ """
|
|
|
847
|
+
|
|
|
848
|
+ raw = "Raw"
|
|
|
849
|
+ signed_data = "SignedData"
|
|
|
850
|
+
|
|
|
851
|
+ # Soon to be deprecated enums
|
|
|
852
|
+ signedData = "SignedData"
|
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+{
|
|
|
2
|
+ "$schema": "http://json-schema.org/draft-04/schema#",
|
|
|
3
|
+ "title": "AuthorizeRequest",
|
|
|
4
|
+ "type": "object",
|
|
|
5
|
+ "properties": {
|
|
|
6
|
+ "idTag": {
|
|
|
7
|
+ "type": "string",
|
|
|
8
|
+ "maxLength": 20
|
|
|
9
|
+ }
|
|
|
10
|
+ },
|
|
|
11
|
+ "additionalProperties": false,
|
|
|
12
|
+ "required": [
|
|
|
13
|
+ "idTag"
|
|
|
14
|
+ ]
|
|
|
15
|
+}
|
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+{
|
|
|
2
|
+ "$schema": "http://json-schema.org/draft-04/schema#",
|
|
|
3
|
+ "title": "AuthorizeResponse",
|
|
|
4
|
+ "type": "object",
|
|
|
5
|
+ "properties": {
|
|
|
6
|
+ "idTagInfo": {
|
|
|
7
|
+ "type": "object",
|
|
|
8
|
+ "properties": {
|
|
|
9
|
+ "expiryDate": {
|
|
|
10
|
+ "type": "string",
|
|
|
11
|
+ "format": "date-time"
|
|
|
12
|
+ },
|
|
|
13
|
+ "parentIdTag": {
|
|
|
14
|
+ "type": "string",
|
|
|
15
|
+ "maxLength": 20
|
|
|
16
|
+ },
|
|
|
17
|
+ "status": {
|
|
|
18
|
+ "type": "string",
|
|
|
19
|
+ "additionalProperties": false,
|
|
|
20
|
+ "enum": [
|
|
|
21
|
+ "Accepted",
|
|
|
22
|
+ "Blocked",
|
|
|
23
|
+ "Expired",
|
|
|
24
|
+ "Invalid",
|
|
|
25
|
+ "ConcurrentTx"
|
|
|
26
|
+ ]
|
|
|
27
|
+ }
|
|
|
28
|
+ },
|
|
|
29
|
+ "additionalProperties": false,
|
|
|
30
|
+ "required": [
|
|
|
31
|
+ "status"
|
|
|
32
|
+ ]
|
|
|
33
|
+ }
|
|
|
34
|
+ },
|
|
|
35
|
+ "additionalProperties": false,
|
|
|
36
|
+ "required": [
|
|
|
37
|
+ "idTagInfo"
|
|
|
38
|
+ ]
|
|
|
39
|
+}
|
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+{
|
|
|
2
|
+ "$schema": "http://json-schema.org/draft-04/schema#",
|
|
|
3
|
+ "title": "BootNotificationRequest",
|
|
|
4
|
+ "type": "object",
|
|
|
5
|
+ "properties": {
|
|
|
6
|
+ "chargePointVendor": {
|
|
|
7
|
+ "type": "string",
|
|
|
8
|
+ "maxLength": 20
|
|
|
9
|
+ },
|
|
|
10
|
+ "chargePointModel": {
|
|
|
11
|
+ "type": "string",
|
|
|
12
|
+ "maxLength": 20
|
|
|
13
|
+ },
|
|
|
14
|
+ "chargePointSerialNumber": {
|
|
|
15
|
+ "type": "string",
|
|
|
16
|
+ "maxLength": 25
|
|
|
17
|
+ },
|
|
|
18
|
+ "chargeBoxSerialNumber": {
|
|
|
19
|
+ "type": "string",
|
|
|
20
|
+ "maxLength": 25
|
|
|
21
|
+ },
|
|
|
22
|
+ "firmwareVersion": {
|
|
|
23
|
+ "type": "string",
|
|
|
24
|
+ "maxLength": 50
|
|
|
25
|
+ },
|
|
|
26
|
+ "iccid": {
|
|
|
27
|
+ "type": "string",
|
|
|
28
|
+ "maxLength": 20
|
|
|
29
|
+ },
|
|
|
30
|
+ "imsi": {
|
|
|
31
|
+ "type": "string",
|
|
|
32
|
+ "maxLength": 20
|
|
|
33
|
+ },
|
|
|
34
|
+ "meterType": {
|
|
|
35
|
+ "type": "string",
|
|
|
36
|
+ "maxLength": 25
|
|
|
37
|
+ },
|
|
|
38
|
+ "meterSerialNumber": {
|
|
|
39
|
+ "type": "string",
|
|
|
40
|
+ "maxLength": 25
|
|
|
41
|
+ }
|
|
|
42
|
+ },
|
|
|
43
|
+ "additionalProperties": false,
|
|
|
44
|
+ "required": [
|
|
|
45
|
+ "chargePointVendor",
|
|
|
46
|
+ "chargePointModel"
|
|
|
47
|
+ ]
|
|
|
48
|
+}
|
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+{
|
|
|
2
|
+ "$schema": "http://json-schema.org/draft-04/schema#",
|
|
|
3
|
+ "title": "BootNotificationResponse",
|
|
|
4
|
+ "type": "object",
|
|
|
5
|
+ "properties": {
|
|
|
6
|
+ "status": {
|
|
|
7
|
+ "type": "string",
|
|
|
8
|
+ "additionalProperties": false,
|
|
|
9
|
+ "enum": [
|
|
|
10
|
+ "Accepted",
|
|
|
11
|
+ "Pending",
|
|
|
12
|
+ "Rejected"
|
|
|
13
|
+ ]
|
|
|
14
|
+ },
|
|
|
15
|
+ "currentTime": {
|
|
|
16
|
+ "type": "string",
|
|
|
17
|
+ "format": "date-time"
|
|
|
18
|
+ },
|
|
|
19
|
+ "interval": {
|
|
|
20
|
+ "type": "integer"
|
|
|
21
|
+ }
|
|
|
22
|
+ },
|
|
|
23
|
+ "additionalProperties": false,
|
|
|
24
|
+ "required": [
|
|
|
25
|
+ "status",
|
|
|
26
|
+ "currentTime",
|
|
|
27
|
+ "interval"
|
|
|
28
|
+ ]
|
|
|
29
|
+}
|
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+{
|
|
|
2
|
+ "$schema": "http://json-schema.org/draft-04/schema#",
|
|
|
3
|
+ "title": "CancelReservationRequest",
|
|
|
4
|
+ "type": "object",
|
|
|
5
|
+ "properties": {
|
|
|
6
|
+ "reservationId": {
|
|
|
7
|
+ "type": "integer"
|
|
|
8
|
+ }
|
|
|
9
|
+ },
|
|
|
10
|
+ "additionalProperties": false,
|
|
|
11
|
+ "required": [
|
|
|
12
|
+ "reservationId"
|
|
|
13
|
+ ]
|
|
|
14
|
+}
|
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+{
|
|
|
2
|
+ "$schema": "http://json-schema.org/draft-04/schema#",
|
|
|
3
|
+ "title": "CancelReservationResponse",
|
|
|
4
|
+ "type": "object",
|
|
|
5
|
+ "properties": {
|
|
|
6
|
+ "status": {
|
|
|
7
|
+ "type": "string",
|
|
|
8
|
+ "additionalProperties": false,
|
|
|
9
|
+ "enum": [
|
|
|
10
|
+ "Accepted",
|
|
|
11
|
+ "Rejected"
|
|
|
12
|
+ ]
|
|
|
13
|
+ }
|
|
|
14
|
+ },
|
|
|
15
|
+ "additionalProperties": false,
|
|
|
16
|
+ "required": [
|
|
|
17
|
+ "status"
|
|
|
18
|
+ ]
|
|
|
19
|
+}
|
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+{
|
|
|
2
|
+ "$schema": "http://json-schema.org/draft-06/schema#",
|
|
|
3
|
+ "$id": "urn:OCPP:Cp:1.6:2020:3:CertificateSigned.req",
|
|
|
4
|
+ "type": "object",
|
|
|
5
|
+ "properties": {
|
|
|
6
|
+ "certificateChain": {
|
|
|
7
|
+ "type": "string",
|
|
|
8
|
+ "maxLength": 10000
|
|
|
9
|
+ }
|
|
|
10
|
+ },
|
|
|
11
|
+ "additionalProperties": false,
|
|
|
12
|
+ "required": [
|
|
|
13
|
+ "certificateChain"
|
|
|
14
|
+ ]
|
|
|
15
|
+}
|
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+{
|
|
|
2
|
+ "$schema": "http://json-schema.org/draft-06/schema#",
|
|
|
3
|
+ "$id": "urn:OCPP:Cp:1.6:2020:3:CertificateSigned.conf",
|
|
|
4
|
+ "definitions": {
|
|
|
5
|
+ "CertificateSignedStatusEnumType": {
|
|
|
6
|
+ "type": "string",
|
|
|
7
|
+ "additionalProperties": false,
|
|
|
8
|
+ "enum": [
|
|
|
9
|
+ "Accepted",
|
|
|
10
|
+ "Rejected"
|
|
|
11
|
+ ]
|
|
|
12
|
+ }
|
|
|
13
|
+ },
|
|
|
14
|
+ "type": "object",
|
|
|
15
|
+ "additionalProperties": false,
|
|
|
16
|
+ "properties": {
|
|
|
17
|
+ "status": {
|
|
|
18
|
+ "$ref": "#/definitions/CertificateSignedStatusEnumType"
|
|
|
19
|
+ }
|
|
|
20
|
+ },
|
|
|
21
|
+ "required": [
|
|
|
22
|
+ "status"
|
|
|
23
|
+ ]
|
|
|
24
|
+}
|
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+{
|
|
|
2
|
+ "$schema": "http://json-schema.org/draft-04/schema#",
|
|
|
3
|
+ "title": "ChangeAvailabilityRequest",
|
|
|
4
|
+ "type": "object",
|
|
|
5
|
+ "properties": {
|
|
|
6
|
+ "connectorId": {
|
|
|
7
|
+ "type": "integer"
|
|
|
8
|
+ },
|
|
|
9
|
+ "type": {
|
|
|
10
|
+ "type": "string",
|
|
|
11
|
+ "additionalProperties": false,
|
|
|
12
|
+ "enum": [
|
|
|
13
|
+ "Inoperative",
|
|
|
14
|
+ "Operative"
|
|
|
15
|
+ ]
|
|
|
16
|
+ }
|
|
|
17
|
+ },
|
|
|
18
|
+ "additionalProperties": false,
|
|
|
19
|
+ "required": [
|
|
|
20
|
+ "connectorId",
|
|
|
21
|
+ "type"
|
|
|
22
|
+ ]
|
|
|
23
|
+}
|
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+{
|
|
|
2
|
+ "$schema": "http://json-schema.org/draft-04/schema#",
|
|
|
3
|
+ "title": "ChangeAvailabilityResponse",
|
|
|
4
|
+ "type": "object",
|
|
|
5
|
+ "properties": {
|
|
|
6
|
+ "status": {
|
|
|
7
|
+ "type": "string",
|
|
|
8
|
+ "additionalProperties": false,
|
|
|
9
|
+ "enum": [
|
|
|
10
|
+ "Accepted",
|
|
|
11
|
+ "Rejected",
|
|
|
12
|
+ "Scheduled"
|
|
|
13
|
+ ]
|
|
|
14
|
+ }
|
|
|
15
|
+ },
|
|
|
16
|
+ "additionalProperties": false,
|
|
|
17
|
+ "required": [
|
|
|
18
|
+ "status"
|
|
|
19
|
+ ]
|
|
|
20
|
+}
|
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+{
|
|
|
2
|
+ "$schema": "http://json-schema.org/draft-04/schema#",
|
|
|
3
|
+ "title": "ChangeConfigurationRequest",
|
|
|
4
|
+ "type": "object",
|
|
|
5
|
+ "properties": {
|
|
|
6
|
+ "key": {
|
|
|
7
|
+ "type": "string",
|
|
|
8
|
+ "maxLength": 50
|
|
|
9
|
+ },
|
|
|
10
|
+ "value": {
|
|
|
11
|
+ "type": "string",
|
|
|
12
|
+ "maxLength": 500
|
|
|
13
|
+ }
|
|
|
14
|
+ },
|
|
|
15
|
+ "additionalProperties": false,
|
|
|
16
|
+ "required": [
|
|
|
17
|
+ "key",
|
|
|
18
|
+ "value"
|
|
|
19
|
+ ]
|
|
|
20
|
+}
|
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+{
|
|
|
2
|
+ "$schema": "http://json-schema.org/draft-04/schema#",
|
|
|
3
|
+ "title": "ChangeConfigurationResponse",
|
|
|
4
|
+ "type": "object",
|
|
|
5
|
+ "properties": {
|
|
|
6
|
+ "status": {
|
|
|
7
|
+ "type": "string",
|
|
|
8
|
+ "additionalProperties": false,
|
|
|
9
|
+ "enum": [
|
|
|
10
|
+ "Accepted",
|
|
|
11
|
+ "Rejected",
|
|
|
12
|
+ "RebootRequired",
|
|
|
13
|
+ "NotSupported"
|
|
|
14
|
+ ]
|
|
|
15
|
+ }
|
|
|
16
|
+ },
|
|
|
17
|
+ "additionalProperties": false,
|
|
|
18
|
+ "required": [
|
|
|
19
|
+ "status"
|
|
|
20
|
+ ]
|
|
|
21
|
+}
|
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+{
|
|
|
2
|
+ "$schema": "http://json-schema.org/draft-04/schema#",
|
|
|
3
|
+ "title": "ClearCacheRequest",
|
|
|
4
|
+ "type": "object",
|
|
|
5
|
+ "properties": {},
|
|
|
6
|
+ "additionalProperties": false
|
|
|
7
|
+}
|
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+{
|
|
|
2
|
+ "$schema": "http://json-schema.org/draft-04/schema#",
|
|
|
3
|
+ "title": "ClearCacheResponse",
|
|
|
4
|
+ "type": "object",
|
|
|
5
|
+ "properties": {
|
|
|
6
|
+ "status": {
|
|
|
7
|
+ "type": "string",
|
|
|
8
|
+ "additionalProperties": false,
|
|
|
9
|
+ "enum": [
|
|
|
10
|
+ "Accepted",
|
|
|
11
|
+ "Rejected"
|
|
|
12
|
+ ]
|
|
|
13
|
+ }
|
|
|
14
|
+ },
|
|
|
15
|
+ "additionalProperties": false,
|
|
|
16
|
+ "required": [
|
|
|
17
|
+ "status"
|
|
|
18
|
+ ]
|
|
|
19
|
+}
|
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+{
|
|
|
2
|
+ "$schema": "http://json-schema.org/draft-04/schema#",
|
|
|
3
|
+ "title": "ClearChargingProfileRequest",
|
|
|
4
|
+ "type": "object",
|
|
|
5
|
+ "properties": {
|
|
|
6
|
+ "id": {
|
|
|
7
|
+ "type": "integer"
|
|
|
8
|
+ },
|
|
|
9
|
+ "connectorId": {
|
|
|
10
|
+ "type": "integer"
|
|
|
11
|
+ },
|
|
|
12
|
+ "chargingProfilePurpose": {
|
|
|
13
|
+ "type": "string",
|
|
|
14
|
+ "additionalProperties": false,
|
|
|
15
|
+ "enum": [
|
|
|
16
|
+ "ChargePointMaxProfile",
|
|
|
17
|
+ "TxDefaultProfile",
|
|
|
18
|
+ "TxProfile"
|
|
|
19
|
+ ]
|
|
|
20
|
+ },
|
|
|
21
|
+ "stackLevel": {
|
|
|
22
|
+ "type": "integer"
|
|
|
23
|
+ }
|
|
|
24
|
+ },
|
|
|
25
|
+ "additionalProperties": false
|
|
|
26
|
+}
|
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+{
|
|
|
2
|
+ "$schema": "http://json-schema.org/draft-04/schema#",
|
|
|
3
|
+ "title": "ClearChargingProfileResponse",
|
|
|
4
|
+ "type": "object",
|
|
|
5
|
+ "properties": {
|
|
|
6
|
+ "status": {
|
|
|
7
|
+ "type": "string",
|
|
|
8
|
+ "additionalProperties": false,
|
|
|
9
|
+ "enum": [
|
|
|
10
|
+ "Accepted",
|
|
|
11
|
+ "Unknown"
|
|
|
12
|
+ ]
|
|
|
13
|
+ }
|
|
|
14
|
+ },
|
|
|
15
|
+ "additionalProperties": false,
|
|
|
16
|
+ "required": [
|
|
|
17
|
+ "status"
|
|
|
18
|
+ ]
|
|
|
19
|
+}
|
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+{
|
|
|
2
|
+ "$schema": "http://json-schema.org/draft-04/schema#",
|
|
|
3
|
+ "title": "DataTransferRequest",
|
|
|
4
|
+ "type": "object",
|
|
|
5
|
+ "properties": {
|
|
|
6
|
+ "vendorId": {
|
|
|
7
|
+ "type": "string",
|
|
|
8
|
+ "maxLength": 255
|
|
|
9
|
+ },
|
|
|
10
|
+ "messageId": {
|
|
|
11
|
+ "type": "string",
|
|
|
12
|
+ "maxLength": 50
|
|
|
13
|
+ },
|
|
|
14
|
+ "data": {
|
|
|
15
|
+ "type": "string"
|
|
|
16
|
+ }
|
|
|
17
|
+ },
|
|
|
18
|
+ "additionalProperties": false,
|
|
|
19
|
+ "required": [
|
|
|
20
|
+ "vendorId"
|
|
|
21
|
+ ]
|
|
|
22
|
+}
|
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+{
|
|
|
2
|
+ "$schema": "http://json-schema.org/draft-04/schema#",
|
|
|
3
|
+ "title": "DataTransferResponse",
|
|
|
4
|
+ "type": "object",
|
|
|
5
|
+ "properties": {
|
|
|
6
|
+ "status": {
|
|
|
7
|
+ "type": "string",
|
|
|
8
|
+ "additionalProperties": false,
|
|
|
9
|
+ "enum": [
|
|
|
10
|
+ "Accepted",
|
|
|
11
|
+ "Rejected",
|
|
|
12
|
+ "UnknownMessageId",
|
|
|
13
|
+ "UnknownVendorId"
|
|
|
14
|
+ ]
|
|
|
15
|
+ },
|
|
|
16
|
+ "data": {
|
|
|
17
|
+ "type": "string"
|
|
|
18
|
+ }
|
|
|
19
|
+ },
|
|
|
20
|
+ "additionalProperties": false,
|
|
|
21
|
+ "required": [
|
|
|
22
|
+ "status"
|
|
|
23
|
+ ]
|
|
|
24
|
+}
|
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+{
|
|
|
2
|
+ "$schema": "http://json-schema.org/draft-06/schema#",
|
|
|
3
|
+ "$id": "urn:OCPP:Cp:1.6:2020:3:DeleteCertificate.req",
|
|
|
4
|
+ "definitions": {
|
|
|
5
|
+ "HashAlgorithmEnumType": {
|
|
|
6
|
+ "type": "string",
|
|
|
7
|
+ "additionalProperties": false,
|
|
|
8
|
+ "enum": [
|
|
|
9
|
+ "SHA256",
|
|
|
10
|
+ "SHA384",
|
|
|
11
|
+ "SHA512"
|
|
|
12
|
+ ]
|
|
|
13
|
+ },
|
|
|
14
|
+ "CertificateHashDataType": {
|
|
|
15
|
+ "type": "object",
|
|
|
16
|
+ "additionalProperties": false,
|
|
|
17
|
+ "properties": {
|
|
|
18
|
+ "hashAlgorithm": {
|
|
|
19
|
+ "$ref": "#/definitions/HashAlgorithmEnumType"
|
|
|
20
|
+ },
|
|
|
21
|
+ "issuerNameHash": {
|
|
|
22
|
+ "type": "string",
|
|
|
23
|
+ "maxLength": 128
|
|
|
24
|
+ },
|
|
|
25
|
+ "issuerKeyHash": {
|
|
|
26
|
+ "type": "string",
|
|
|
27
|
+ "maxLength": 128
|
|
|
28
|
+ },
|
|
|
29
|
+ "serialNumber": {
|
|
|
30
|
+ "type": "string",
|
|
|
31
|
+ "maxLength": 40
|
|
|
32
|
+ }
|
|
|
33
|
+ },
|
|
|
34
|
+ "required": [
|
|
|
35
|
+ "hashAlgorithm",
|
|
|
36
|
+ "issuerNameHash",
|
|
|
37
|
+ "issuerKeyHash",
|
|
|
38
|
+ "serialNumber"
|
|
|
39
|
+ ]
|
|
|
40
|
+ }
|
|
|
41
|
+ },
|
|
|
42
|
+ "type": "object",
|
|
|
43
|
+ "additionalProperties": false,
|
|
|
44
|
+ "properties": {
|
|
|
45
|
+ "certificateHashData": {
|
|
|
46
|
+ "$ref": "#/definitions/CertificateHashDataType"
|
|
|
47
|
+ }
|
|
|
48
|
+ },
|
|
|
49
|
+ "required": [
|
|
|
50
|
+ "certificateHashData"
|
|
|
51
|
+ ]
|
|
|
52
|
+}
|
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+{
|
|
|
2
|
+ "$schema": "http://json-schema.org/draft-06/schema#",
|
|
|
3
|
+ "$id": "urn:OCPP:Cp:1.6:2020:3:DeleteCertificate.conf",
|
|
|
4
|
+ "definitions": {
|
|
|
5
|
+ "DeleteCertificateStatusEnumType": {
|
|
|
6
|
+ "type": "string",
|
|
|
7
|
+ "additionalProperties": false,
|
|
|
8
|
+ "enum": [
|
|
|
9
|
+ "Accepted",
|
|
|
10
|
+ "Failed",
|
|
|
11
|
+ "NotFound"
|
|
|
12
|
+ ]
|
|
|
13
|
+ }
|
|
|
14
|
+ },
|
|
|
15
|
+ "type": "object",
|
|
|
16
|
+ "additionalProperties": false,
|
|
|
17
|
+ "properties": {
|
|
|
18
|
+ "status": {
|
|
|
19
|
+ "$ref": "#/definitions/DeleteCertificateStatusEnumType"
|
|
|
20
|
+ }
|
|
|
21
|
+ },
|
|
|
22
|
+ "required": [
|
|
|
23
|
+ "status"
|
|
|
24
|
+ ]
|
|
|
25
|
+}
|
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+{
|
|
|
2
|
+ "$schema": "http://json-schema.org/draft-04/schema#",
|
|
|
3
|
+ "title": "DiagnosticsStatusNotificationRequest",
|
|
|
4
|
+ "type": "object",
|
|
|
5
|
+ "properties": {
|
|
|
6
|
+ "status": {
|
|
|
7
|
+ "type": "string",
|
|
|
8
|
+ "additionalProperties": false,
|
|
|
9
|
+ "enum": [
|
|
|
10
|
+ "Idle",
|
|
|
11
|
+ "Uploaded",
|
|
|
12
|
+ "UploadFailed",
|
|
|
13
|
+ "Uploading"
|
|
|
14
|
+ ]
|
|
|
15
|
+ }
|
|
|
16
|
+ },
|
|
|
17
|
+ "additionalProperties": false,
|
|
|
18
|
+ "required": [
|
|
|
19
|
+ "status"
|
|
|
20
|
+ ]
|
|
|
21
|
+}
|
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+{
|
|
|
2
|
+ "$schema": "http://json-schema.org/draft-04/schema#",
|
|
|
3
|
+ "title": "DiagnosticsStatusNotificationResponse",
|
|
|
4
|
+ "type": "object",
|
|
|
5
|
+ "properties": {},
|
|
|
6
|
+ "additionalProperties": false
|
|
|
7
|
+}
|
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+{
|
|
|
2
|
+ "$schema": "http://json-schema.org/draft-06/schema#",
|
|
|
3
|
+ "$id": "urn:OCPP:Cp:1.6:2020:3:ExtendedTriggerMessage.req",
|
|
|
4
|
+ "definitions": {
|
|
|
5
|
+ "MessageTriggerEnumType": {
|
|
|
6
|
+ "type": "string",
|
|
|
7
|
+ "additionalProperties": false,
|
|
|
8
|
+ "enum": [
|
|
|
9
|
+ "BootNotification",
|
|
|
10
|
+ "LogStatusNotification",
|
|
|
11
|
+ "FirmwareStatusNotification",
|
|
|
12
|
+ "Heartbeat",
|
|
|
13
|
+ "MeterValues",
|
|
|
14
|
+ "SignChargePointCertificate",
|
|
|
15
|
+ "StatusNotification"
|
|
|
16
|
+ ]
|
|
|
17
|
+ }
|
|
|
18
|
+ },
|
|
|
19
|
+ "type": "object",
|
|
|
20
|
+ "additionalProperties": false,
|
|
|
21
|
+ "properties": {
|
|
|
22
|
+ "requestedMessage": {
|
|
|
23
|
+ "$ref": "#/definitions/MessageTriggerEnumType"
|
|
|
24
|
+ },
|
|
|
25
|
+ "connectorId": {
|
|
|
26
|
+ "type": "integer"
|
|
|
27
|
+ }
|
|
|
28
|
+ },
|
|
|
29
|
+ "required": [
|
|
|
30
|
+ "requestedMessage"
|
|
|
31
|
+ ]
|
|
|
32
|
+}
|
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+{
|
|
|
2
|
+ "$schema": "http://json-schema.org/draft-06/schema#",
|
|
|
3
|
+ "$id": "urn:OCPP:Cp:1.6:2020:3:ExtendedTriggerMessage.conf",
|
|
|
4
|
+ "definitions": {
|
|
|
5
|
+ "TriggerMessageStatusEnumType": {
|
|
|
6
|
+ "type": "string",
|
|
|
7
|
+ "additionalProperties": false,
|
|
|
8
|
+ "enum": [
|
|
|
9
|
+ "Accepted",
|
|
|
10
|
+ "Rejected",
|
|
|
11
|
+ "NotImplemented"
|
|
|
12
|
+ ]
|
|
|
13
|
+ }
|
|
|
14
|
+ },
|
|
|
15
|
+ "type": "object",
|
|
|
16
|
+ "additionalProperties": false,
|
|
|
17
|
+ "properties": {
|
|
|
18
|
+ "status": {
|
|
|
19
|
+ "$ref": "#/definitions/TriggerMessageStatusEnumType"
|
|
|
20
|
+ }
|
|
|
21
|
+ },
|
|
|
22
|
+ "required": [
|
|
|
23
|
+ "status"
|
|
|
24
|
+ ]
|
|
|
25
|
+}
|
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+{
|
|
|
2
|
+ "$schema": "http://json-schema.org/draft-04/schema#",
|
|
|
3
|
+ "title": "FirmwareStatusNotificationRequest",
|
|
|
4
|
+ "type": "object",
|
|
|
5
|
+ "properties": {
|
|
|
6
|
+ "status": {
|
|
|
7
|
+ "type": "string",
|
|
|
8
|
+ "additionalProperties": false,
|
|
|
9
|
+ "enum": [
|
|
|
10
|
+ "Downloaded",
|
|
|
11
|
+ "DownloadFailed",
|
|
|
12
|
+ "Downloading",
|
|
|
13
|
+ "Idle",
|
|
|
14
|
+ "InstallationFailed",
|
|
|
15
|
+ "Installing",
|
|
|
16
|
+ "Installed"
|
|
|
17
|
+ ]
|
|
|
18
|
+ }
|
|
|
19
|
+ },
|
|
|
20
|
+ "additionalProperties": false,
|
|
|
21
|
+ "required": [
|
|
|
22
|
+ "status"
|
|
|
23
|
+ ]
|
|
|
24
|
+}
|
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+{
|
|
|
2
|
+ "$schema": "http://json-schema.org/draft-04/schema#",
|
|
|
3
|
+ "title": "FirmwareStatusNotificationResponse",
|
|
|
4
|
+ "type": "object",
|
|
|
5
|
+ "properties": {},
|
|
|
6
|
+ "additionalProperties": false
|
|
|
7
|
+}
|
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+{
|
|
|
2
|
+ "$schema": "http://json-schema.org/draft-04/schema#",
|
|
|
3
|
+ "title": "GetCompositeScheduleRequest",
|
|
|
4
|
+ "type": "object",
|
|
|
5
|
+ "properties": {
|
|
|
6
|
+ "connectorId": {
|
|
|
7
|
+ "type": "integer"
|
|
|
8
|
+ },
|
|
|
9
|
+ "duration": {
|
|
|
10
|
+ "type": "integer"
|
|
|
11
|
+ },
|
|
|
12
|
+ "chargingRateUnit": {
|
|
|
13
|
+ "type": "string",
|
|
|
14
|
+ "additionalProperties": false,
|
|
|
15
|
+ "enum": [
|
|
|
16
|
+ "A",
|
|
|
17
|
+ "W"
|
|
|
18
|
+ ]
|
|
|
19
|
+ }
|
|
|
20
|
+ },
|
|
|
21
|
+ "additionalProperties": false,
|
|
|
22
|
+ "required": [
|
|
|
23
|
+ "connectorId",
|
|
|
24
|
+ "duration"
|
|
|
25
|
+ ]
|
|
|
26
|
+}
|
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+{
|
|
|
2
|
+ "$schema": "http://json-schema.org/draft-04/schema#",
|
|
|
3
|
+ "title": "GetCompositeScheduleResponse",
|
|
|
4
|
+ "type": "object",
|
|
|
5
|
+ "properties": {
|
|
|
6
|
+ "status": {
|
|
|
7
|
+ "type": "string",
|
|
|
8
|
+ "additionalProperties": false,
|
|
|
9
|
+ "enum": [
|
|
|
10
|
+ "Accepted",
|
|
|
11
|
+ "Rejected"
|
|
|
12
|
+ ]
|
|
|
13
|
+ },
|
|
|
14
|
+ "connectorId": {
|
|
|
15
|
+ "type": "integer"
|
|
|
16
|
+ },
|
|
|
17
|
+ "scheduleStart": {
|
|
|
18
|
+ "type": "string",
|
|
|
19
|
+ "format": "date-time"
|
|
|
20
|
+ },
|
|
|
21
|
+ "chargingSchedule": {
|
|
|
22
|
+ "type": "object",
|
|
|
23
|
+ "properties": {
|
|
|
24
|
+ "duration": {
|
|
|
25
|
+ "type": "integer"
|
|
|
26
|
+ },
|
|
|
27
|
+ "startSchedule": {
|
|
|
28
|
+ "type": "string",
|
|
|
29
|
+ "format": "date-time"
|
|
|
30
|
+ },
|
|
|
31
|
+ "chargingRateUnit": {
|
|
|
32
|
+ "type": "string",
|
|
|
33
|
+ "additionalProperties": false,
|
|
|
34
|
+ "enum": [
|
|
|
35
|
+ "A",
|
|
|
36
|
+ "W"
|
|
|
37
|
+ ]
|
|
|
38
|
+ },
|
|
|
39
|
+ "chargingSchedulePeriod": {
|
|
|
40
|
+ "type": "array",
|
|
|
41
|
+ "items": {
|
|
|
42
|
+ "type": "object",
|
|
|
43
|
+ "properties": {
|
|
|
44
|
+ "startPeriod": {
|
|
|
45
|
+ "type": "integer"
|
|
|
46
|
+ },
|
|
|
47
|
+ "limit": {
|
|
|
48
|
+ "type": "number",
|
|
|
49
|
+ "multipleOf" : 0.1
|
|
|
50
|
+ },
|
|
|
51
|
+ "numberPhases": {
|
|
|
52
|
+ "type": "integer"
|
|
|
53
|
+ }
|
|
|
54
|
+ },
|
|
|
55
|
+ "additionalProperties": false,
|
|
|
56
|
+ "required": [
|
|
|
57
|
+ "startPeriod",
|
|
|
58
|
+ "limit"
|
|
|
59
|
+ ]
|
|
|
60
|
+ }
|
|
|
61
|
+ },
|
|
|
62
|
+ "minChargingRate": {
|
|
|
63
|
+ "type": "number",
|
|
|
64
|
+ "multipleOf" : 0.1
|
|
|
65
|
+ }
|
|
|
66
|
+ },
|
|
|
67
|
+ "additionalProperties": false,
|
|
|
68
|
+ "required": [
|
|
|
69
|
+ "chargingRateUnit",
|
|
|
70
|
+ "chargingSchedulePeriod"
|
|
|
71
|
+ ]
|
|
|
72
|
+ }
|
|
|
73
|
+ },
|
|
|
74
|
+ "additionalProperties": false,
|
|
|
75
|
+ "required": [
|
|
|
76
|
+ "status"
|
|
|
77
|
+ ]
|
|
|
78
|
+}
|
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+{
|
|
|
2
|
+ "$schema": "http://json-schema.org/draft-04/schema#",
|
|
|
3
|
+ "title": "GetConfigurationRequest",
|
|
|
4
|
+ "type": "object",
|
|
|
5
|
+ "properties": {
|
|
|
6
|
+ "key": {
|
|
|
7
|
+ "type": "array",
|
|
|
8
|
+ "items": {
|
|
|
9
|
+ "type": "string",
|
|
|
10
|
+ "maxLength": 50
|
|
|
11
|
+ }
|
|
|
12
|
+ }
|
|
|
13
|
+ },
|
|
|
14
|
+ "additionalProperties": false
|
|
|
15
|
+}
|
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+{
|
|
|
2
|
+ "$schema": "http://json-schema.org/draft-04/schema#",
|
|
|
3
|
+ "title": "GetConfigurationResponse",
|
|
|
4
|
+ "type": "object",
|
|
|
5
|
+ "properties": {
|
|
|
6
|
+ "configurationKey": {
|
|
|
7
|
+ "type": "array",
|
|
|
8
|
+ "items": {
|
|
|
9
|
+ "type": "object",
|
|
|
10
|
+ "properties": {
|
|
|
11
|
+ "key": {
|
|
|
12
|
+ "type": "string",
|
|
|
13
|
+ "maxLength": 50
|
|
|
14
|
+ },
|
|
|
15
|
+ "readonly": {
|
|
|
16
|
+ "type": "boolean"
|
|
|
17
|
+ },
|
|
|
18
|
+ "value": {
|
|
|
19
|
+ "type": "string",
|
|
|
20
|
+ "maxLength": 500
|
|
|
21
|
+ }
|
|
|
22
|
+ },
|
|
|
23
|
+ "additionalProperties": false,
|
|
|
24
|
+ "required": [
|
|
|
25
|
+ "key",
|
|
|
26
|
+ "readonly"
|
|
|
27
|
+ ]
|
|
|
28
|
+ }
|
|
|
29
|
+ },
|
|
|
30
|
+ "unknownKey": {
|
|
|
31
|
+ "type": "array",
|
|
|
32
|
+ "items": {
|
|
|
33
|
+ "type": "string",
|
|
|
34
|
+ "maxLength": 50
|
|
|
35
|
+ }
|
|
|
36
|
+ }
|
|
|
37
|
+ },
|
|
|
38
|
+ "additionalProperties": false
|
|
|
39
|
+}
|
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+{
|
|
|
2
|
+ "$schema": "http://json-schema.org/draft-04/schema#",
|
|
|
3
|
+ "title": "GetDiagnosticsRequest",
|
|
|
4
|
+ "type": "object",
|
|
|
5
|
+ "properties": {
|
|
|
6
|
+ "location": {
|
|
|
7
|
+ "type": "string",
|
|
|
8
|
+ "format": "uri"
|
|
|
9
|
+ },
|
|
|
10
|
+ "retries": {
|
|
|
11
|
+ "type": "integer"
|
|
|
12
|
+ },
|
|
|
13
|
+ "retryInterval": {
|
|
|
14
|
+ "type": "integer"
|
|
|
15
|
+ },
|
|
|
16
|
+ "startTime": {
|
|
|
17
|
+ "type": "string",
|
|
|
18
|
+ "format": "date-time"
|
|
|
19
|
+ },
|
|
|
20
|
+ "stopTime": {
|
|
|
21
|
+ "type": "string",
|
|
|
22
|
+ "format": "date-time"
|
|
|
23
|
+ }
|
|
|
24
|
+ },
|
|
|
25
|
+ "additionalProperties": false,
|
|
|
26
|
+ "required": [
|
|
|
27
|
+ "location"
|
|
|
28
|
+ ]
|
|
|
29
|
+}
|
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+{
|
|
|
2
|
+ "$schema": "http://json-schema.org/draft-04/schema#",
|
|
|
3
|
+ "title": "GetDiagnosticsResponse",
|
|
|
4
|
+ "type": "object",
|
|
|
5
|
+ "properties": {
|
|
|
6
|
+ "fileName": {
|
|
|
7
|
+ "type": "string",
|
|
|
8
|
+ "maxLength": 255
|
|
|
9
|
+ }
|
|
|
10
|
+ },
|
|
|
11
|
+ "additionalProperties": false
|
|
|
12
|
+}
|
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+{
|
|
|
2
|
+ "$schema": "http://json-schema.org/draft-06/schema#",
|
|
|
3
|
+ "$id": "urn:OCPP:Cp:1.6:2020:3:GetInstalledCertificateIds.req",
|
|
|
4
|
+ "definitions": {
|
|
|
5
|
+ "CertificateUseEnumType": {
|
|
|
6
|
+ "type": "string",
|
|
|
7
|
+ "additionalProperties": false,
|
|
|
8
|
+ "enum": [
|
|
|
9
|
+ "CentralSystemRootCertificate",
|
|
|
10
|
+ "ManufacturerRootCertificate"
|
|
|
11
|
+ ]
|
|
|
12
|
+ }
|
|
|
13
|
+ },
|
|
|
14
|
+ "type": "object",
|
|
|
15
|
+ "additionalProperties": false,
|
|
|
16
|
+ "properties": {
|
|
|
17
|
+ "certificateType": {
|
|
|
18
|
+ "$ref": "#/definitions/CertificateUseEnumType"
|
|
|
19
|
+ }
|
|
|
20
|
+ },
|
|
|
21
|
+ "required": [
|
|
|
22
|
+ "certificateType"
|
|
|
23
|
+ ]
|
|
|
24
|
+}
|
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+{
|
|
|
2
|
+ "$schema": "http://json-schema.org/draft-06/schema#",
|
|
|
3
|
+ "$id": "urn:OCPP:Cp:1.6:2020:3:GetInstalledCertificateIds.conf",
|
|
|
4
|
+ "definitions": {
|
|
|
5
|
+ "GetInstalledCertificateStatusEnumType": {
|
|
|
6
|
+ "type": "string",
|
|
|
7
|
+ "additionalProperties": false,
|
|
|
8
|
+ "enum": [
|
|
|
9
|
+ "Accepted",
|
|
|
10
|
+ "NotFound"
|
|
|
11
|
+ ]
|
|
|
12
|
+ },
|
|
|
13
|
+ "HashAlgorithmEnumType": {
|
|
|
14
|
+ "type": "string",
|
|
|
15
|
+ "additionalProperties": false,
|
|
|
16
|
+ "enum": [
|
|
|
17
|
+ "SHA256",
|
|
|
18
|
+ "SHA384",
|
|
|
19
|
+ "SHA512"
|
|
|
20
|
+ ]
|
|
|
21
|
+ },
|
|
|
22
|
+ "CertificateHashDataType": {
|
|
|
23
|
+ "javaType": "CertificateHashData",
|
|
|
24
|
+ "type": "object",
|
|
|
25
|
+ "additionalProperties": false,
|
|
|
26
|
+ "properties": {
|
|
|
27
|
+ "hashAlgorithm": {
|
|
|
28
|
+ "$ref": "#/definitions/HashAlgorithmEnumType"
|
|
|
29
|
+ },
|
|
|
30
|
+ "issuerNameHash": {
|
|
|
31
|
+ "type": "string",
|
|
|
32
|
+ "maxLength": 128
|
|
|
33
|
+ },
|
|
|
34
|
+ "issuerKeyHash": {
|
|
|
35
|
+ "type": "string",
|
|
|
36
|
+ "maxLength": 128
|
|
|
37
|
+ },
|
|
|
38
|
+ "serialNumber": {
|
|
|
39
|
+ "type": "string",
|
|
|
40
|
+ "maxLength": 40
|
|
|
41
|
+ }
|
|
|
42
|
+ },
|
|
|
43
|
+ "required": [
|
|
|
44
|
+ "hashAlgorithm",
|
|
|
45
|
+ "issuerNameHash",
|
|
|
46
|
+ "issuerKeyHash",
|
|
|
47
|
+ "serialNumber"
|
|
|
48
|
+ ]
|
|
|
49
|
+ }
|
|
|
50
|
+ },
|
|
|
51
|
+ "type": "object",
|
|
|
52
|
+ "additionalProperties": false,
|
|
|
53
|
+ "properties": {
|
|
|
54
|
+ "certificateHashData": {
|
|
|
55
|
+ "type": "array",
|
|
|
56
|
+ "additionalItems": false,
|
|
|
57
|
+ "items": {
|
|
|
58
|
+ "$ref": "#/definitions/CertificateHashDataType"
|
|
|
59
|
+ },
|
|
|
60
|
+ "minItems": 1
|
|
|
61
|
+ },
|
|
|
62
|
+ "status": {
|
|
|
63
|
+ "$ref": "#/definitions/GetInstalledCertificateStatusEnumType"
|
|
|
64
|
+ }
|
|
|
65
|
+ },
|
|
|
66
|
+ "required": [
|
|
|
67
|
+ "status"
|
|
|
68
|
+ ]
|
|
|
69
|
+}
|
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+{
|
|
|
2
|
+ "$schema": "http://json-schema.org/draft-04/schema#",
|
|
|
3
|
+ "title": "GetLocalListVersionRequest",
|
|
|
4
|
+ "type": "object",
|
|
|
5
|
+ "properties": {},
|
|
|
6
|
+ "additionalProperties": false
|
|
|
7
|
+}
|
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+{
|
|
|
2
|
+ "$schema": "http://json-schema.org/draft-04/schema#",
|
|
|
3
|
+ "title": "GetLocalListVersionResponse",
|
|
|
4
|
+ "type": "object",
|
|
|
5
|
+ "properties": {
|
|
|
6
|
+ "listVersion": {
|
|
|
7
|
+ "type": "integer"
|
|
|
8
|
+ }
|
|
|
9
|
+ },
|
|
|
10
|
+ "additionalProperties": false,
|
|
|
11
|
+ "required": [
|
|
|
12
|
+ "listVersion"
|
|
|
13
|
+ ]
|
|
|
14
|
+}
|
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+{
|
|
|
2
|
+ "$schema": "http://json-schema.org/draft-06/schema#",
|
|
|
3
|
+ "$id": "urn:OCPP:Cp:1.6:2020:3:GetLog.req",
|
|
|
4
|
+ "definitions": {
|
|
|
5
|
+ "LogEnumType": {
|
|
|
6
|
+ "type": "string",
|
|
|
7
|
+ "additionalProperties": false,
|
|
|
8
|
+ "enum": [
|
|
|
9
|
+ "DiagnosticsLog",
|
|
|
10
|
+ "SecurityLog"
|
|
|
11
|
+ ]
|
|
|
12
|
+ },
|
|
|
13
|
+ "LogParametersType": {
|
|
|
14
|
+ "type": "object",
|
|
|
15
|
+ "additionalProperties": false,
|
|
|
16
|
+ "properties": {
|
|
|
17
|
+ "remoteLocation": {
|
|
|
18
|
+ "type": "string",
|
|
|
19
|
+ "maxLength": 512
|
|
|
20
|
+ },
|
|
|
21
|
+ "oldestTimestamp": {
|
|
|
22
|
+ "type": "string",
|
|
|
23
|
+ "format": "date-time"
|
|
|
24
|
+ },
|
|
|
25
|
+ "latestTimestamp": {
|
|
|
26
|
+ "type": "string",
|
|
|
27
|
+ "format": "date-time"
|
|
|
28
|
+ }
|
|
|
29
|
+ },
|
|
|
30
|
+ "required": [
|
|
|
31
|
+ "remoteLocation"
|
|
|
32
|
+ ]
|
|
|
33
|
+ }
|
|
|
34
|
+ },
|
|
|
35
|
+ "type": "object",
|
|
|
36
|
+ "additionalProperties": false,
|
|
|
37
|
+ "properties": {
|
|
|
38
|
+ "log": {
|
|
|
39
|
+ "$ref": "#/definitions/LogParametersType"
|
|
|
40
|
+ },
|
|
|
41
|
+ "logType": {
|
|
|
42
|
+ "$ref": "#/definitions/LogEnumType"
|
|
|
43
|
+ },
|
|
|
44
|
+ "requestId": {
|
|
|
45
|
+ "type": "integer"
|
|
|
46
|
+ },
|
|
|
47
|
+ "retries": {
|
|
|
48
|
+ "type": "integer"
|
|
|
49
|
+ },
|
|
|
50
|
+ "retryInterval": {
|
|
|
51
|
+ "type": "integer"
|
|
|
52
|
+ }
|
|
|
53
|
+ },
|
|
|
54
|
+ "required": [
|
|
|
55
|
+ "logType",
|
|
|
56
|
+ "requestId",
|
|
|
57
|
+ "log"
|
|
|
58
|
+ ]
|
|
|
59
|
+}
|
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+{
|
|
|
2
|
+ "$schema": "http://json-schema.org/draft-06/schema#",
|
|
|
3
|
+ "$id": "urn:OCPP:Cp:1.6:2020:3:GetLog.conf",
|
|
|
4
|
+ "definitions": {
|
|
|
5
|
+ "LogStatusEnumType": {
|
|
|
6
|
+ "type": "string",
|
|
|
7
|
+ "additionalProperties": false,
|
|
|
8
|
+ "enum": [
|
|
|
9
|
+ "Accepted",
|
|
|
10
|
+ "Rejected",
|
|
|
11
|
+ "AcceptedCanceled"
|
|
|
12
|
+ ]
|
|
|
13
|
+ }
|
|
|
14
|
+ },
|
|
|
15
|
+ "type": "object",
|
|
|
16
|
+ "additionalProperties": false,
|
|
|
17
|
+ "properties": {
|
|
|
18
|
+ "status": {
|
|
|
19
|
+ "$ref": "#/definitions/LogStatusEnumType"
|
|
|
20
|
+ },
|
|
|
21
|
+ "filename": {
|
|
|
22
|
+ "type": "string",
|
|
|
23
|
+ "maxLength": 255
|
|
|
24
|
+ }
|
|
|
25
|
+ },
|
|
|
26
|
+ "required": [
|
|
|
27
|
+ "status"
|
|
|
28
|
+ ]
|
|
|
29
|
+}
|
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+{
|
|
|
2
|
+ "$schema": "http://json-schema.org/draft-04/schema#",
|
|
|
3
|
+ "title": "HeartbeatRequest",
|
|
|
4
|
+ "type": "object",
|
|
|
5
|
+ "properties": {},
|
|
|
6
|
+ "additionalProperties": false
|
|
|
7
|
+}
|
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+{
|
|
|
2
|
+ "$schema": "http://json-schema.org/draft-04/schema#",
|
|
|
3
|
+ "title": "HeartbeatResponse",
|
|
|
4
|
+ "type": "object",
|
|
|
5
|
+ "properties": {
|
|
|
6
|
+ "currentTime": {
|
|
|
7
|
+ "type": "string",
|
|
|
8
|
+ "format": "date-time"
|
|
|
9
|
+ }
|
|
|
10
|
+ },
|
|
|
11
|
+ "additionalProperties": false,
|
|
|
12
|
+ "required": [
|
|
|
13
|
+ "currentTime"
|
|
|
14
|
+ ]
|
|
|
15
|
+}
|
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+{
|
|
|
2
|
+ "$schema": "http://json-schema.org/draft-06/schema#",
|
|
|
3
|
+ "$id": "urn:OCPP:Cp:1.6:2020:3:InstallCertificate.req",
|
|
|
4
|
+ "definitions": {
|
|
|
5
|
+ "CertificateUseEnumType": {
|
|
|
6
|
+ "type": "string",
|
|
|
7
|
+ "additionalProperties": false,
|
|
|
8
|
+ "enum": [
|
|
|
9
|
+ "CentralSystemRootCertificate",
|
|
|
10
|
+ "ManufacturerRootCertificate"
|
|
|
11
|
+ ]
|
|
|
12
|
+ }
|
|
|
13
|
+ },
|
|
|
14
|
+ "type": "object",
|
|
|
15
|
+ "additionalProperties": false,
|
|
|
16
|
+ "properties": {
|
|
|
17
|
+ "certificateType": {
|
|
|
18
|
+ "$ref": "#/definitions/CertificateUseEnumType"
|
|
|
19
|
+ },
|
|
|
20
|
+ "certificate": {
|
|
|
21
|
+ "type": "string",
|
|
|
22
|
+ "maxLength": 5500
|
|
|
23
|
+ }
|
|
|
24
|
+ },
|
|
|
25
|
+ "required": [
|
|
|
26
|
+ "certificateType",
|
|
|
27
|
+ "certificate"
|
|
|
28
|
+ ]
|
|
|
29
|
+}
|
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+{
|
|
|
2
|
+ "$schema": "http://json-schema.org/draft-06/schema#",
|
|
|
3
|
+ "$id": "urn:OCPP:Cp:1.6:2020:3:InstallCertificate.conf",
|
|
|
4
|
+ "definitions": {
|
|
|
5
|
+ "InstallCertificateStatusEnumType": {
|
|
|
6
|
+ "type": "string",
|
|
|
7
|
+ "additionalProperties": false,
|
|
|
8
|
+ "enum": [
|
|
|
9
|
+ "Accepted",
|
|
|
10
|
+ "Failed",
|
|
|
11
|
+ "Rejected"
|
|
|
12
|
+ ]
|
|
|
13
|
+ }
|
|
|
14
|
+ },
|
|
|
15
|
+ "type": "object",
|
|
|
16
|
+ "additionalProperties": false,
|
|
|
17
|
+ "properties": {
|
|
|
18
|
+ "status": {
|
|
|
19
|
+ "$ref": "#/definitions/InstallCertificateStatusEnumType"
|
|
|
20
|
+ }
|
|
|
21
|
+ },
|
|
|
22
|
+ "required": [
|
|
|
23
|
+ "status"
|
|
|
24
|
+ ]
|
|
|
25
|
+}
|
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+{
|
|
|
2
|
+ "$schema": "http://json-schema.org/draft-06/schema#",
|
|
|
3
|
+ "$id": "urn:OCPP:Cp:1.6:2020:3:LogStatusNotification.req",
|
|
|
4
|
+ "definitions": {
|
|
|
5
|
+ "UploadLogStatusEnumType": {
|
|
|
6
|
+ "type": "string",
|
|
|
7
|
+ "additionalProperties": false,
|
|
|
8
|
+ "enum": [
|
|
|
9
|
+ "BadMessage",
|
|
|
10
|
+ "Idle",
|
|
|
11
|
+ "NotSupportedOperation",
|
|
|
12
|
+ "PermissionDenied",
|
|
|
13
|
+ "Uploaded",
|
|
|
14
|
+ "UploadFailure",
|
|
|
15
|
+ "Uploading"
|
|
|
16
|
+ ]
|
|
|
17
|
+ }
|
|
|
18
|
+ },
|
|
|
19
|
+ "type": "object",
|
|
|
20
|
+ "additionalProperties": false,
|
|
|
21
|
+ "properties": {
|
|
|
22
|
+ "status": {
|
|
|
23
|
+ "$ref": "#/definitions/UploadLogStatusEnumType"
|
|
|
24
|
+ },
|
|
|
25
|
+ "requestId": {
|
|
|
26
|
+ "type": "integer"
|
|
|
27
|
+ }
|
|
|
28
|
+ },
|
|
|
29
|
+ "required": [
|
|
|
30
|
+ "status"
|
|
|
31
|
+ ]
|
|
|
32
|
+}
|
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+{
|
|
|
2
|
+ "$schema": "http://json-schema.org/draft-06/schema#",
|
|
|
3
|
+ "$id": "urn:OCPP:Cp:1.6:2020:3:LogStatusNotification.conf",
|
|
|
4
|
+ "type": "object",
|
|
|
5
|
+ "additionalProperties": false
|
|
|
6
|
+}
|
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+{
|
|
|
2
|
+ "$schema": "http://json-schema.org/draft-04/schema#",
|
|
|
3
|
+ "title": "MeterValuesRequest",
|
|
|
4
|
+ "type": "object",
|
|
|
5
|
+ "properties": {
|
|
|
6
|
+ "connectorId": {
|
|
|
7
|
+ "type": "integer"
|
|
|
8
|
+ },
|
|
|
9
|
+ "transactionId": {
|
|
|
10
|
+ "type": "integer"
|
|
|
11
|
+ },
|
|
|
12
|
+ "meterValue": {
|
|
|
13
|
+ "type": "array",
|
|
|
14
|
+ "minItems": 1,
|
|
|
15
|
+ "items": {
|
|
|
16
|
+ "type": "object",
|
|
|
17
|
+ "properties": {
|
|
|
18
|
+ "timestamp": {
|
|
|
19
|
+ "type": "string",
|
|
|
20
|
+ "format": "date-time"
|
|
|
21
|
+ },
|
|
|
22
|
+ "sampledValue": {
|
|
|
23
|
+ "type": "array",
|
|
|
24
|
+ "minItems": 1,
|
|
|
25
|
+ "items": {
|
|
|
26
|
+ "type": "object",
|
|
|
27
|
+ "properties": {
|
|
|
28
|
+ "value": {
|
|
|
29
|
+ "type": "string"
|
|
|
30
|
+ },
|
|
|
31
|
+ "context": {
|
|
|
32
|
+ "type": "string",
|
|
|
33
|
+ "additionalProperties": false,
|
|
|
34
|
+ "enum": [
|
|
|
35
|
+ "Interruption.Begin",
|
|
|
36
|
+ "Interruption.End",
|
|
|
37
|
+ "Sample.Clock",
|
|
|
38
|
+ "Sample.Periodic",
|
|
|
39
|
+ "Transaction.Begin",
|
|
|
40
|
+ "Transaction.End",
|
|
|
41
|
+ "Trigger",
|
|
|
42
|
+ "Other"
|
|
|
43
|
+ ]
|
|
|
44
|
+ },
|
|
|
45
|
+ "format": {
|
|
|
46
|
+ "type": "string",
|
|
|
47
|
+ "additionalProperties": false,
|
|
|
48
|
+ "enum": [
|
|
|
49
|
+ "Raw",
|
|
|
50
|
+ "SignedData"
|
|
|
51
|
+ ]
|
|
|
52
|
+ },
|
|
|
53
|
+ "measurand": {
|
|
|
54
|
+ "type": "string",
|
|
|
55
|
+ "additionalProperties": false,
|
|
|
56
|
+ "enum": [
|
|
|
57
|
+ "Energy.Active.Export.Register",
|
|
|
58
|
+ "Energy.Active.Import.Register",
|
|
|
59
|
+ "Energy.Reactive.Export.Register",
|
|
|
60
|
+ "Energy.Reactive.Import.Register",
|
|
|
61
|
+ "Energy.Active.Export.Interval",
|
|
|
62
|
+ "Energy.Active.Import.Interval",
|
|
|
63
|
+ "Energy.Reactive.Export.Interval",
|
|
|
64
|
+ "Energy.Reactive.Import.Interval",
|
|
|
65
|
+ "Power.Active.Export",
|
|
|
66
|
+ "Power.Active.Import",
|
|
|
67
|
+ "Power.Offered",
|
|
|
68
|
+ "Power.Reactive.Export",
|
|
|
69
|
+ "Power.Reactive.Import",
|
|
|
70
|
+ "Power.Factor",
|
|
|
71
|
+ "Current.Import",
|
|
|
72
|
+ "Current.Export",
|
|
|
73
|
+ "Current.Offered",
|
|
|
74
|
+ "Voltage",
|
|
|
75
|
+ "Frequency",
|
|
|
76
|
+ "Temperature",
|
|
|
77
|
+ "SoC",
|
|
|
78
|
+ "RPM"
|
|
|
79
|
+ ]
|
|
|
80
|
+ },
|
|
|
81
|
+ "phase": {
|
|
|
82
|
+ "type": "string",
|
|
|
83
|
+ "additionalProperties": false,
|
|
|
84
|
+ "enum": [
|
|
|
85
|
+ "L1",
|
|
|
86
|
+ "L2",
|
|
|
87
|
+ "L3",
|
|
|
88
|
+ "N",
|
|
|
89
|
+ "L1-N",
|
|
|
90
|
+ "L2-N",
|
|
|
91
|
+ "L3-N",
|
|
|
92
|
+ "L1-L2",
|
|
|
93
|
+ "L2-L3",
|
|
|
94
|
+ "L3-L1"
|
|
|
95
|
+ ]
|
|
|
96
|
+ },
|
|
|
97
|
+ "location": {
|
|
|
98
|
+ "type": "string",
|
|
|
99
|
+ "additionalProperties": false,
|
|
|
100
|
+ "enum": [
|
|
|
101
|
+ "Cable",
|
|
|
102
|
+ "EV",
|
|
|
103
|
+ "Inlet",
|
|
|
104
|
+ "Outlet",
|
|
|
105
|
+ "Body"
|
|
|
106
|
+ ]
|
|
|
107
|
+ },
|
|
|
108
|
+ "unit": {
|
|
|
109
|
+ "type": "string",
|
|
|
110
|
+ "additionalProperties": false,
|
|
|
111
|
+ "enum": [
|
|
|
112
|
+ "Wh",
|
|
|
113
|
+ "kWh",
|
|
|
114
|
+ "varh",
|
|
|
115
|
+ "kvarh",
|
|
|
116
|
+ "W",
|
|
|
117
|
+ "kW",
|
|
|
118
|
+ "VA",
|
|
|
119
|
+ "kVA",
|
|
|
120
|
+ "var",
|
|
|
121
|
+ "kvar",
|
|
|
122
|
+ "A",
|
|
|
123
|
+ "V",
|
|
|
124
|
+ "K",
|
|
|
125
|
+ "Celcius",
|
|
|
126
|
+ "Celsius",
|
|
|
127
|
+ "Fahrenheit",
|
|
|
128
|
+ "Percent",
|
|
|
129
|
+ "Hertz"
|
|
|
130
|
+ ]
|
|
|
131
|
+ }
|
|
|
132
|
+ },
|
|
|
133
|
+ "additionalProperties": false,
|
|
|
134
|
+ "required": [
|
|
|
135
|
+ "value"
|
|
|
136
|
+ ]
|
|
|
137
|
+ }
|
|
|
138
|
+ }
|
|
|
139
|
+ },
|
|
|
140
|
+ "additionalProperties": false,
|
|
|
141
|
+ "required": [
|
|
|
142
|
+ "timestamp",
|
|
|
143
|
+ "sampledValue"
|
|
|
144
|
+ ]
|
|
|
145
|
+ }
|
|
|
146
|
+ }
|
|
|
147
|
+ },
|
|
|
148
|
+ "additionalProperties": false,
|
|
|
149
|
+ "required": [
|
|
|
150
|
+ "connectorId",
|
|
|
151
|
+ "meterValue"
|
|
|
152
|
+ ]
|
|
|
153
|
+}
|
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+{
|
|
|
2
|
+ "$schema": "http://json-schema.org/draft-04/schema#",
|
|
|
3
|
+ "title": "MeterValuesResponse",
|
|
|
4
|
+ "type": "object",
|
|
|
5
|
+ "properties": {},
|
|
|
6
|
+ "additionalProperties": false
|
|
|
7
|
+}
|
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+{
|
|
|
2
|
+ "$schema": "http://json-schema.org/draft-04/schema#",
|
|
|
3
|
+ "title": "RemoteStartTransactionRequest",
|
|
|
4
|
+ "type": "object",
|
|
|
5
|
+ "properties": {
|
|
|
6
|
+ "connectorId": {
|
|
|
7
|
+ "type": "integer"
|
|
|
8
|
+ },
|
|
|
9
|
+ "idTag": {
|
|
|
10
|
+ "type": "string",
|
|
|
11
|
+ "maxLength": 20
|
|
|
12
|
+ },
|
|
|
13
|
+ "chargingProfile": {
|
|
|
14
|
+ "type": "object",
|
|
|
15
|
+ "properties": {
|
|
|
16
|
+ "chargingProfileId": {
|
|
|
17
|
+ "type": "integer"
|
|
|
18
|
+ },
|
|
|
19
|
+ "transactionId": {
|
|
|
20
|
+ "type": "integer"
|
|
|
21
|
+ },
|
|
|
22
|
+ "stackLevel": {
|
|
|
23
|
+ "type": "integer"
|
|
|
24
|
+ },
|
|
|
25
|
+ "chargingProfilePurpose": {
|
|
|
26
|
+ "type": "string",
|
|
|
27
|
+ "additionalProperties": false,
|
|
|
28
|
+ "enum": [
|
|
|
29
|
+ "ChargePointMaxProfile",
|
|
|
30
|
+ "TxDefaultProfile",
|
|
|
31
|
+ "TxProfile"
|
|
|
32
|
+ ]
|
|
|
33
|
+ },
|
|
|
34
|
+ "chargingProfileKind": {
|
|
|
35
|
+ "type": "string",
|
|
|
36
|
+ "additionalProperties": false,
|
|
|
37
|
+ "enum": [
|
|
|
38
|
+ "Absolute",
|
|
|
39
|
+ "Recurring",
|
|
|
40
|
+ "Relative"
|
|
|
41
|
+ ]
|
|
|
42
|
+ },
|
|
|
43
|
+ "recurrencyKind": {
|
|
|
44
|
+ "type": "string",
|
|
|
45
|
+ "additionalProperties": false,
|
|
|
46
|
+ "enum": [
|
|
|
47
|
+ "Daily",
|
|
|
48
|
+ "Weekly"
|
|
|
49
|
+ ]
|
|
|
50
|
+ },
|
|
|
51
|
+ "validFrom": {
|
|
|
52
|
+ "type": "string",
|
|
|
53
|
+ "format": "date-time"
|
|
|
54
|
+ },
|
|
|
55
|
+ "validTo": {
|
|
|
56
|
+ "type": "string",
|
|
|
57
|
+ "format": "date-time"
|
|
|
58
|
+ },
|
|
|
59
|
+ "chargingSchedule": {
|
|
|
60
|
+ "type": "object",
|
|
|
61
|
+ "properties": {
|
|
|
62
|
+ "duration": {
|
|
|
63
|
+ "type": "integer"
|
|
|
64
|
+ },
|
|
|
65
|
+ "startSchedule": {
|
|
|
66
|
+ "type": "string",
|
|
|
67
|
+ "format": "date-time"
|
|
|
68
|
+ },
|
|
|
69
|
+ "chargingRateUnit": {
|
|
|
70
|
+ "type": "string",
|
|
|
71
|
+ "additionalProperties": false,
|
|
|
72
|
+ "enum": [
|
|
|
73
|
+ "A",
|
|
|
74
|
+ "W"
|
|
|
75
|
+ ]
|
|
|
76
|
+ },
|
|
|
77
|
+ "chargingSchedulePeriod": {
|
|
|
78
|
+ "type": "array",
|
|
|
79
|
+ "items": {
|
|
|
80
|
+ "type": "object",
|
|
|
81
|
+ "properties": {
|
|
|
82
|
+ "startPeriod": {
|
|
|
83
|
+ "type": "integer"
|
|
|
84
|
+ },
|
|
|
85
|
+ "limit": {
|
|
|
86
|
+ "type": "number",
|
|
|
87
|
+ "multipleOf" : 0.1
|
|
|
88
|
+ },
|
|
|
89
|
+ "numberPhases": {
|
|
|
90
|
+ "type": "integer"
|
|
|
91
|
+ }
|
|
|
92
|
+ },
|
|
|
93
|
+ "additionalProperties": false,
|
|
|
94
|
+ "required": [
|
|
|
95
|
+ "startPeriod",
|
|
|
96
|
+ "limit"
|
|
|
97
|
+ ]
|
|
|
98
|
+ }
|
|
|
99
|
+ },
|
|
|
100
|
+ "minChargingRate": {
|
|
|
101
|
+ "type": "number",
|
|
|
102
|
+ "multipleOf" : 0.1
|
|
|
103
|
+ }
|
|
|
104
|
+ },
|
|
|
105
|
+ "additionalProperties": false,
|
|
|
106
|
+ "required": [
|
|
|
107
|
+ "chargingRateUnit",
|
|
|
108
|
+ "chargingSchedulePeriod"
|
|
|
109
|
+ ]
|
|
|
110
|
+ }
|
|
|
111
|
+ },
|
|
|
112
|
+ "additionalProperties": false,
|
|
|
113
|
+ "required": [
|
|
|
114
|
+ "chargingProfileId",
|
|
|
115
|
+ "stackLevel",
|
|
|
116
|
+ "chargingProfilePurpose",
|
|
|
117
|
+ "chargingProfileKind",
|
|
|
118
|
+ "chargingSchedule"
|
|
|
119
|
+ ]
|
|
|
120
|
+ }
|
|
|
121
|
+ },
|
|
|
122
|
+ "additionalProperties": false,
|
|
|
123
|
+ "required": [
|
|
|
124
|
+ "idTag"
|
|
|
125
|
+ ]
|
|
|
126
|
+}
|
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+{
|
|
|
2
|
+ "$schema": "http://json-schema.org/draft-04/schema#",
|
|
|
3
|
+ "title": "RemoteStartTransactionResponse",
|
|
|
4
|
+ "type": "object",
|
|
|
5
|
+ "properties": {
|
|
|
6
|
+ "status": {
|
|
|
7
|
+ "type": "string",
|
|
|
8
|
+ "additionalProperties": false,
|
|
|
9
|
+ "enum": [
|
|
|
10
|
+ "Accepted",
|
|
|
11
|
+ "Rejected"
|
|
|
12
|
+ ]
|
|
|
13
|
+ }
|
|
|
14
|
+ },
|
|
|
15
|
+ "additionalProperties": false,
|
|
|
16
|
+ "required": [
|
|
|
17
|
+ "status"
|
|
|
18
|
+ ]
|
|
|
19
|
+}
|
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+{
|
|
|
2
|
+ "$schema": "http://json-schema.org/draft-04/schema#",
|
|
|
3
|
+ "title": "RemoteStopTransactionRequest",
|
|
|
4
|
+ "type": "object",
|
|
|
5
|
+ "properties": {
|
|
|
6
|
+ "transactionId": {
|
|
|
7
|
+ "type": "integer"
|
|
|
8
|
+ }
|
|
|
9
|
+ },
|
|
|
10
|
+ "additionalProperties": false,
|
|
|
11
|
+ "required": [
|
|
|
12
|
+ "transactionId"
|
|
|
13
|
+ ]
|
|
|
14
|
+}
|
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+{
|
|
|
2
|
+ "$schema": "http://json-schema.org/draft-04/schema#",
|
|
|
3
|
+ "title": "RemoteStopTransactionResponse",
|
|
|
4
|
+ "type": "object",
|
|
|
5
|
+ "properties": {
|
|
|
6
|
+ "status": {
|
|
|
7
|
+ "type": "string",
|
|
|
8
|
+ "additionalProperties": false,
|
|
|
9
|
+ "enum": [
|
|
|
10
|
+ "Accepted",
|
|
|
11
|
+ "Rejected"
|
|
|
12
|
+ ]
|
|
|
13
|
+ }
|
|
|
14
|
+ },
|
|
|
15
|
+ "additionalProperties": false,
|
|
|
16
|
+ "required": [
|
|
|
17
|
+ "status"
|
|
|
18
|
+ ]
|
|
|
19
|
+}
|
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+{
|
|
|
2
|
+ "$schema": "http://json-schema.org/draft-04/schema#",
|
|
|
3
|
+ "title": "ReserveNowRequest",
|
|
|
4
|
+ "type": "object",
|
|
|
5
|
+ "properties": {
|
|
|
6
|
+ "connectorId": {
|
|
|
7
|
+ "type": "integer"
|
|
|
8
|
+ },
|
|
|
9
|
+ "expiryDate": {
|
|
|
10
|
+ "type": "string",
|
|
|
11
|
+ "format": "date-time"
|
|
|
12
|
+ },
|
|
|
13
|
+ "idTag": {
|
|
|
14
|
+ "type": "string",
|
|
|
15
|
+ "maxLength": 20
|
|
|
16
|
+ },
|
|
|
17
|
+ "parentIdTag": {
|
|
|
18
|
+ "type": "string",
|
|
|
19
|
+ "maxLength": 20
|
|
|
20
|
+ },
|
|
|
21
|
+ "reservationId": {
|
|
|
22
|
+ "type": "integer"
|
|
|
23
|
+ }
|
|
|
24
|
+ },
|
|
|
25
|
+ "additionalProperties": false,
|
|
|
26
|
+ "required": [
|
|
|
27
|
+ "connectorId",
|
|
|
28
|
+ "expiryDate",
|
|
|
29
|
+ "idTag",
|
|
|
30
|
+ "reservationId"
|
|
|
31
|
+ ]
|
|
|
32
|
+}
|
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+{
|
|
|
2
|
+ "$schema": "http://json-schema.org/draft-04/schema#",
|
|
|
3
|
+ "title": "ReserveNowResponse",
|
|
|
4
|
+ "type": "object",
|
|
|
5
|
+ "properties": {
|
|
|
6
|
+ "status": {
|
|
|
7
|
+ "type": "string",
|
|
|
8
|
+ "additionalProperties": false,
|
|
|
9
|
+ "enum": [
|
|
|
10
|
+ "Accepted",
|
|
|
11
|
+ "Faulted",
|
|
|
12
|
+ "Occupied",
|
|
|
13
|
+ "Rejected",
|
|
|
14
|
+ "Unavailable"
|
|
|
15
|
+ ]
|
|
|
16
|
+ }
|
|
|
17
|
+ },
|
|
|
18
|
+ "additionalProperties": false,
|
|
|
19
|
+ "required": [
|
|
|
20
|
+ "status"
|
|
|
21
|
+ ]
|
|
|
22
|
+}
|
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+{
|
|
|
2
|
+ "$schema": "http://json-schema.org/draft-04/schema#",
|
|
|
3
|
+ "title": "ResetRequest",
|
|
|
4
|
+ "type": "object",
|
|
|
5
|
+ "properties": {
|
|
|
6
|
+ "type": {
|
|
|
7
|
+ "type": "string",
|
|
|
8
|
+ "additionalProperties": false,
|
|
|
9
|
+ "enum": [
|
|
|
10
|
+ "Hard",
|
|
|
11
|
+ "Soft"
|
|
|
12
|
+ ]
|
|
|
13
|
+ }
|
|
|
14
|
+ },
|
|
|
15
|
+ "additionalProperties": false,
|
|
|
16
|
+ "required": [
|
|
|
17
|
+ "type"
|
|
|
18
|
+ ]
|
|
|
19
|
+}
|
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+{
|
|
|
2
|
+ "$schema": "http://json-schema.org/draft-04/schema#",
|
|
|
3
|
+ "title": "ResetResponse",
|
|
|
4
|
+ "type": "object",
|
|
|
5
|
+ "properties": {
|
|
|
6
|
+ "status": {
|
|
|
7
|
+ "type": "string",
|
|
|
8
|
+ "additionalProperties": false,
|
|
|
9
|
+ "enum": [
|
|
|
10
|
+ "Accepted",
|
|
|
11
|
+ "Rejected"
|
|
|
12
|
+ ]
|
|
|
13
|
+ }
|
|
|
14
|
+ },
|
|
|
15
|
+ "additionalProperties": false,
|
|
|
16
|
+ "required": [
|
|
|
17
|
+ "status"
|
|
|
18
|
+ ]
|
|
|
19
|
+}
|