--- /dev/null
+{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "$id": "urn:OCPP:Cp:1.6:2020:3:CertificateSigned.req",
+ "type": "object",
+ "properties": {
+ "certificateChain": {
+ "type": "string",
+ "maxLength": 10000
+ }
+ },
+ "additionalProperties": false,
+ "required": ["certificateChain"]
+}
--- /dev/null
+{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "$id": "urn:OCPP:Cp:1.6:2020:3:CertificateSigned.conf",
+ "definitions": {
+ "CertificateSignedStatusEnumType": {
+ "type": "string",
+ "additionalProperties": false,
+ "enum": ["Accepted", "Rejected"]
+ }
+ },
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "status": {
+ "$ref": "#/definitions/CertificateSignedStatusEnumType"
+ }
+ },
+ "required": ["status"]
+}
--- /dev/null
+{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "$id": "urn:OCPP:Cp:1.6:2020:3:DeleteCertificate.req",
+ "definitions": {
+ "HashAlgorithmEnumType": {
+ "type": "string",
+ "additionalProperties": false,
+ "enum": ["SHA256", "SHA384", "SHA512"]
+ },
+ "CertificateHashDataType": {
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "hashAlgorithm": {
+ "$ref": "#/definitions/HashAlgorithmEnumType"
+ },
+ "issuerNameHash": {
+ "type": "string",
+ "maxLength": 128
+ },
+ "issuerKeyHash": {
+ "type": "string",
+ "maxLength": 128
+ },
+ "serialNumber": {
+ "type": "string",
+ "maxLength": 40
+ }
+ },
+ "required": ["hashAlgorithm", "issuerNameHash", "issuerKeyHash", "serialNumber"]
+ }
+ },
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "certificateHashData": {
+ "$ref": "#/definitions/CertificateHashDataType"
+ }
+ },
+ "required": ["certificateHashData"]
+}
--- /dev/null
+{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "$id": "urn:OCPP:Cp:1.6:2020:3:DeleteCertificate.conf",
+ "definitions": {
+ "DeleteCertificateStatusEnumType": {
+ "type": "string",
+ "additionalProperties": false,
+ "enum": ["Accepted", "Failed", "NotFound"]
+ }
+ },
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "status": {
+ "$ref": "#/definitions/DeleteCertificateStatusEnumType"
+ }
+ },
+ "required": ["status"]
+}
--- /dev/null
+{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "$id": "urn:OCPP:Cp:1.6:2020:3:ExtendedTriggerMessage.req",
+ "definitions": {
+ "MessageTriggerEnumType": {
+ "type": "string",
+ "additionalProperties": false,
+ "enum": [
+ "BootNotification",
+ "LogStatusNotification",
+ "FirmwareStatusNotification",
+ "Heartbeat",
+ "MeterValues",
+ "SignChargePointCertificate",
+ "StatusNotification"
+ ]
+ }
+ },
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "requestedMessage": {
+ "$ref": "#/definitions/MessageTriggerEnumType"
+ },
+ "connectorId": {
+ "type": "integer"
+ }
+ },
+ "required": ["requestedMessage"]
+}
--- /dev/null
+{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "$id": "urn:OCPP:Cp:1.6:2020:3:ExtendedTriggerMessage.conf",
+ "definitions": {
+ "TriggerMessageStatusEnumType": {
+ "type": "string",
+ "additionalProperties": false,
+ "enum": ["Accepted", "Rejected", "NotImplemented"]
+ }
+ },
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "status": {
+ "$ref": "#/definitions/TriggerMessageStatusEnumType"
+ }
+ },
+ "required": ["status"]
+}
--- /dev/null
+{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "$id": "urn:OCPP:Cp:1.6:2020:3:GetInstalledCertificateIds.req",
+ "definitions": {
+ "CertificateUseEnumType": {
+ "type": "string",
+ "additionalProperties": false,
+ "enum": ["CentralSystemRootCertificate", "ManufacturerRootCertificate"]
+ }
+ },
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "certificateType": {
+ "$ref": "#/definitions/CertificateUseEnumType"
+ }
+ },
+ "required": ["certificateType"]
+}
--- /dev/null
+{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "$id": "urn:OCPP:Cp:1.6:2020:3:GetInstalledCertificateIds.conf",
+ "definitions": {
+ "GetInstalledCertificateStatusEnumType": {
+ "type": "string",
+ "additionalProperties": false,
+ "enum": ["Accepted", "NotFound"]
+ },
+ "HashAlgorithmEnumType": {
+ "type": "string",
+ "additionalProperties": false,
+ "enum": ["SHA256", "SHA384", "SHA512"]
+ },
+ "CertificateHashDataType": {
+ "javaType": "CertificateHashData",
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "hashAlgorithm": {
+ "$ref": "#/definitions/HashAlgorithmEnumType"
+ },
+ "issuerNameHash": {
+ "type": "string",
+ "maxLength": 128
+ },
+ "issuerKeyHash": {
+ "type": "string",
+ "maxLength": 128
+ },
+ "serialNumber": {
+ "type": "string",
+ "maxLength": 40
+ }
+ },
+ "required": ["hashAlgorithm", "issuerNameHash", "issuerKeyHash", "serialNumber"]
+ }
+ },
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "certificateHashData": {
+ "type": "array",
+ "additionalItems": false,
+ "items": {
+ "$ref": "#/definitions/CertificateHashDataType"
+ },
+ "minItems": 1
+ },
+ "status": {
+ "$ref": "#/definitions/GetInstalledCertificateStatusEnumType"
+ }
+ },
+ "required": ["status"]
+}
--- /dev/null
+{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "$id": "urn:OCPP:Cp:1.6:2020:3:GetLog.req",
+ "definitions": {
+ "LogEnumType": {
+ "type": "string",
+ "additionalProperties": false,
+ "enum": ["DiagnosticsLog", "SecurityLog"]
+ },
+ "LogParametersType": {
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "remoteLocation": {
+ "type": "string",
+ "maxLength": 512
+ },
+ "oldestTimestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "latestTimestamp": {
+ "type": "string",
+ "format": "date-time"
+ }
+ },
+ "required": ["remoteLocation"]
+ }
+ },
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "log": {
+ "$ref": "#/definitions/LogParametersType"
+ },
+ "logType": {
+ "$ref": "#/definitions/LogEnumType"
+ },
+ "requestId": {
+ "type": "integer"
+ },
+ "retries": {
+ "type": "integer"
+ },
+ "retryInterval": {
+ "type": "integer"
+ }
+ },
+ "required": ["logType", "requestId", "log"]
+}
--- /dev/null
+{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "$id": "urn:OCPP:Cp:1.6:2020:3:GetLog.conf",
+ "definitions": {
+ "LogStatusEnumType": {
+ "type": "string",
+ "additionalProperties": false,
+ "enum": ["Accepted", "Rejected", "AcceptedCanceled"]
+ }
+ },
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "status": {
+ "$ref": "#/definitions/LogStatusEnumType"
+ },
+ "filename": {
+ "type": "string",
+ "maxLength": 255
+ }
+ },
+ "required": ["status"]
+}
--- /dev/null
+{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "$id": "urn:OCPP:Cp:1.6:2020:3:InstallCertificate.req",
+ "definitions": {
+ "CertificateUseEnumType": {
+ "type": "string",
+ "additionalProperties": false,
+ "enum": ["CentralSystemRootCertificate", "ManufacturerRootCertificate"]
+ }
+ },
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "certificateType": {
+ "$ref": "#/definitions/CertificateUseEnumType"
+ },
+ "certificate": {
+ "type": "string",
+ "maxLength": 5500
+ }
+ },
+ "required": ["certificateType", "certificate"]
+}
--- /dev/null
+{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "$id": "urn:OCPP:Cp:1.6:2020:3:InstallCertificate.conf",
+ "definitions": {
+ "InstallCertificateStatusEnumType": {
+ "type": "string",
+ "additionalProperties": false,
+ "enum": ["Accepted", "Failed", "Rejected"]
+ }
+ },
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "status": {
+ "$ref": "#/definitions/InstallCertificateStatusEnumType"
+ }
+ },
+ "required": ["status"]
+}
--- /dev/null
+{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "$id": "urn:OCPP:Cp:1.6:2020:3:LogStatusNotification.req",
+ "definitions": {
+ "UploadLogStatusEnumType": {
+ "type": "string",
+ "additionalProperties": false,
+ "enum": [
+ "BadMessage",
+ "Idle",
+ "NotSupportedOperation",
+ "PermissionDenied",
+ "Uploaded",
+ "UploadFailure",
+ "Uploading"
+ ]
+ }
+ },
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "status": {
+ "$ref": "#/definitions/UploadLogStatusEnumType"
+ },
+ "requestId": {
+ "type": "integer"
+ }
+ },
+ "required": ["status"]
+}
--- /dev/null
+{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "$id": "urn:OCPP:Cp:1.6:2020:3:LogStatusNotification.conf",
+ "type": "object",
+ "additionalProperties": false
+}
--- /dev/null
+{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "$id": "urn:OCPP:Cp:1.6:2020:3:SecurityEventNotification.req",
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "type": {
+ "type": "string",
+ "maxLength": 50
+ },
+ "timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "techInfo": {
+ "type": "string",
+ "maxLength": 255
+ }
+ },
+ "required": ["type", "timestamp"]
+}
--- /dev/null
+{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "$id": "urn:OCPP:Cp:1.6:2020:3:SecurityEventNotification.conf",
+ "type": "object",
+ "additionalProperties": false
+}
--- /dev/null
+{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "$id": "urn:OCPP:Cp:1.6:2020:3:SignCertificate.req",
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "csr": {
+ "type": "string",
+ "maxLength": 5500
+ }
+ },
+ "required": ["csr"]
+}
--- /dev/null
+{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "$id": "urn:OCPP:Cp:1.6:2020:3:SignCertificate.conf",
+ "definitions": {
+ "GenericStatusEnumType": {
+ "type": "string",
+ "additionalProperties": false,
+ "enum": ["Accepted", "Rejected"]
+ }
+ },
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "status": {
+ "$ref": "#/definitions/GenericStatusEnumType"
+ }
+ },
+ "required": ["status"]
+}
--- /dev/null
+{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "$id": "urn:OCPP:Cp:1.6:2020:3:SignedFirmwareStatusNotification.req",
+ "definitions": {
+ "FirmwareStatusEnumType": {
+ "type": "string",
+ "additionalProperties": false,
+ "enum": [
+ "Downloaded",
+ "DownloadFailed",
+ "Downloading",
+ "DownloadScheduled",
+ "DownloadPaused",
+ "Idle",
+ "InstallationFailed",
+ "Installing",
+ "Installed",
+ "InstallRebooting",
+ "InstallScheduled",
+ "InstallVerificationFailed",
+ "InvalidSignature",
+ "SignatureVerified"
+ ]
+ }
+ },
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "status": {
+ "$ref": "#/definitions/FirmwareStatusEnumType"
+ },
+ "requestId": {
+ "type": "integer"
+ }
+ },
+ "required": ["status"]
+}
--- /dev/null
+{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "$id": "urn:OCPP:Cp:1.6:2020:3:SignedFirmwareStatusNotification.conf",
+ "type": "object",
+ "additionalProperties": false
+}
--- /dev/null
+{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "$id": "urn:OCPP:Cp:1.6:2020:3:SignedUpdateFirmware.req",
+ "definitions": {
+ "FirmwareType": {
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "location": {
+ "type": "string",
+ "maxLength": 512
+ },
+ "retrieveDateTime": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "installDateTime": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "signingCertificate": {
+ "type": "string",
+ "maxLength": 5500
+ },
+ "signature": {
+ "type": "string",
+ "maxLength": 800
+ }
+ },
+ "required": ["location", "retrieveDateTime", "signingCertificate", "signature"]
+ }
+ },
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "retries": {
+ "type": "integer"
+ },
+ "retryInterval": {
+ "type": "integer"
+ },
+ "requestId": {
+ "type": "integer"
+ },
+ "firmware": {
+ "$ref": "#/definitions/FirmwareType"
+ }
+ },
+ "required": ["requestId", "firmware"]
+}
--- /dev/null
+{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "$id": "urn:OCPP:Cp:1.6:2020:3:SignedUpdateFirmware.conf",
+ "definitions": {
+ "UpdateFirmwareStatusEnumType": {
+ "type": "string",
+ "additionalProperties": false,
+ "enum": [
+ "Accepted",
+ "Rejected",
+ "AcceptedCanceled",
+ "InvalidCertificate",
+ "RevokedCertificate"
+ ]
+ }
+ },
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "status": {
+ "$ref": "#/definitions/UpdateFirmwareStatusEnumType"
+ }
+ },
+ "required": ["status"]
+}