Docs › OCPP 1.6 › SecurityEventNotification

SecurityEventNotification OCPP 1.6

Der Simulator antwortet mit NotSupported, prüft die Nachricht aber gegen das Schema.

Auch in: OCPP 2.0.1, OCPP 2.1

Request

FeldTypEinschränkungen / Beschreibung
typestringPflichtmaxLength 50
timestampstringPflichtformat date-time
techInfostringmaxLength 255
JSON-Schema (Request)
{
  "$schema": "http://json-schema.org/draft-06/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"
  ]
}

Response

Leeres Objekt {}.

JSON-Schema (Response)
{
  "$schema": "http://json-schema.org/draft-06/schema#",
  "$id": "urn:OCPP:Cp:1.6:2020:3:SecurityEventNotification.conf",
  "type": "object",
  "additionalProperties": false
}

Quelle: Open Charge Alliance, OCPP 1.6 – JSON-Schemas, unverändert wiedergegeben. © Open Charge Alliance. Lizenz: CC BY-ND 4.0. Die vollständige Spezifikation gibt es bei der Open Charge Alliance. ocpp-sim ist nicht mit der OCA verbunden.