Docs › OCPP 2.1 › NotifyReport

NotifyReport OCPP 2.1

Der Simulator sendet diese Nachricht als Ladepunkt.

Auch in: OCPP 2.0.1

Request

FeldTypEinschränkungen / Beschreibung
requestIdintegerPflichtThe id of the GetReportRequest or GetBaseReportRequest that requested this report
generatedAtstringPflichtformat date-time
Timestamp of the moment this message was generated at the Charging Station.
reportDataarray<object>minItems 1
reportData[].componentobjectPflichtA physical or logical component
reportData[].component.evseobjectElectric Vehicle Supply Equipment
reportData[].component.evse.idintegerPflichtminimum 0.0
EVSE Identifier. This contains a number (&gt; 0) designating an EVSE of the Charging Station.
reportData[].component.evse.connectorIdintegerminimum 0.0
An id to designate a specific connector (on an EVSE) by connector index number.
reportData[].component.namestringPflichtmaxLength 50
Name of the component. Name should be taken from the list of standardized component names whenever possible. Case Insensitive. strongly advised to use Camel Case.
reportData[].component.instancestringmaxLength 50
Name of instance in case the component exists as multiple instances. Case Insensitive. strongly advised to use Camel Case.
reportData[].variableobjectPflichtReference key to a component-variable.
reportData[].variable.namestringPflichtmaxLength 50
Name of the variable. Name should be taken from the list of standardized variable names whenever possible. Case Insensitive. strongly advised to use Camel Case.
reportData[].variable.instancestringmaxLength 50
Name of instance in case the variable exists as multiple instances. Case Insensitive. strongly advised to use Camel Case.
reportData[].variableAttributearray<object>PflichtminItems 1; maxItems 4
reportData[].variableAttribute[].typestringenum: Actual, Target, MinSet, MaxSet
Attribute: Actual, MinSet, MaxSet, etc. Defaults to Actual if absent.
reportData[].variableAttribute[].valuestringmaxLength 2500
Value of the attribute. May only be omitted when mutability is set to 'WriteOnly'. The Configuration Variable &lt;&lt;configkey-reporting-value-size,ReportingValueSize&gt;&gt; can be used to limit GetVariableResult.attributeValue, VariableAttribute.value and EventData.actualValue. The max size of these values will always remain equal.
reportData[].variableAttribute[].mutabilitystringenum: ReadOnly, WriteOnly, ReadWrite
Defines the mutability of this attribute. Default is ReadWrite when omitted.
reportData[].variableAttribute[].persistentbooleanIf true, value will be persistent across system reboots or power down. Default when omitted is false.
reportData[].variableAttribute[].constantbooleanIf true, value that will never be changed by the Charging Station at runtime. Default when omitted is false.
reportData[].variableCharacteristicsobjectFixed read-only parameters of a variable.
reportData[].variableCharacteristics.unitstringmaxLength 16
Unit of the variable. When the transmitted value has a unit, this field SHALL be included.
reportData[].variableCharacteristics.dataTypestringPflichtenum: string, decimal, integer, dateTime, boolean, OptionList, SequenceList, MemberList
Data type of this variable.
reportData[].variableCharacteristics.minLimitnumberMinimum possible value of this variable.
reportData[].variableCharacteristics.maxLimitnumberMaximum possible value of this variable. When the datatype of this Variable is String, OptionList, SequenceList or MemberList, this field defines the maximum length of the (CSV) string.
reportData[].variableCharacteristics.maxElementsintegerminimum 1.0
*(2.1)* Maximum number of elements from _valuesList_ that are supported as _attributeValue_.
reportData[].variableCharacteristics.valuesListstringmaxLength 1000
Mandatory when _dataType_ = OptionList, MemberList or SequenceList. In that case _valuesList_ specifies the allowed values for the type. The length of this field can be limited by DeviceDataCtrlr.ConfigurationValueSize. * OptionList: The (Actual) Variable value must be a single value from the reported (CSV) enumeration list. * MemberList: The (Actual) Variable value may be an (unordered) (sub-)set of the reported (CSV) valid values list. * SequenceList: The (Actual) Variable value may be an ordered (priority, etc) (sub-)set of the reported (CSV) valid values. This is a comma separated list. The Configuration Variable &lt;&lt;configkey-configuration-value-size,ConfigurationValueSize&gt;&gt; can be used to limit SetVariableData.attributeValue and VariableCharacteristics.valuesList. The max size of these values will always remain equal.
reportData[].variableCharacteristics.supportsMonitoringbooleanPflichtFlag indicating if this variable supports monitoring.
tbcboolean“to be continued” indicator. Indicates whether another part of the report follows in an upcoming notifyReportRequest message. Default value when omitted is false.
seqNointegerPflichtminimum 0.0
Sequence number of this message. First message starts at 0.
JSON-Schema (Request)
{
  "$schema": "http://json-schema.org/draft-06/schema#",
  "$id": "urn:OCPP:Cp:2:2025:1:NotifyReportRequest",
  "comment": "OCPP 2.1 Edition 1 (c) OCA, Creative Commons Attribution-NoDerivatives 4.0 International Public License",
  "definitions": {
    "AttributeEnumType": {
      "description": "Attribute: Actual, MinSet, MaxSet, etc.\r\nDefaults to Actual if absent.\r\n",
      "javaType": "AttributeEnum",
      "type": "string",
      "default": "Actual",
      "additionalProperties": false,
      "enum": [
        "Actual",
        "Target",
        "MinSet",
        "MaxSet"
      ]
    },
    "DataEnumType": {
      "description": "Data type of this variable.\r\n",
      "javaType": "DataEnum",
      "type": "string",
      "additionalProperties": false,
      "enum": [
        "string",
        "decimal",
        "integer",
        "dateTime",
        "boolean",
        "OptionList",
        "SequenceList",
        "MemberList"
      ]
    },
    "MutabilityEnumType": {
      "description": "Defines the mutability of this attribute. Default is ReadWrite when omitted.\r\n",
      "javaType": "MutabilityEnum",
      "type": "string",
      "default": "ReadWrite",
      "additionalProperties": false,
      "enum": [
        "ReadOnly",
        "WriteOnly",
        "ReadWrite"
      ]
    },
    "ComponentType": {
      "description": "A physical or logical component\r\n",
      "javaType": "Component",
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "evse": {
          "$ref": "#/definitions/EVSEType"
        },
        "name": {
          "description": "Name of the component. Name should be taken from the list of standardized component names whenever possible. Case Insensitive. strongly advised to use Camel Case.\r\n",
          "type": "string",
          "maxLength": 50
        },
        "instance": {
          "description": "Name of instance in case the component exists as multiple instances. Case Insensitive. strongly advised to use Camel Case.\r\n",
          "type": "string",
          "maxLength": 50
        },
        "customData": {
          "$ref": "#/definitions/CustomDataType"
        }
      },
      "required": [
        "name"
      ]
    },
    "EVSEType": {
      "description": "Electric Vehicle Supply Equipment\r\n",
      "javaType": "EVSE",
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "id": {
          "description": "EVSE Identifier. This contains a number (&gt; 0) designating an EVSE of the Charging Station.\r\n",
          "type": "integer",
          "minimum": 0.0
        },
        "connectorId": {
          "description": "An id to designate a specific connector (on an EVSE) by connector index number.\r\n",
          "type": "integer",
          "minimum": 0.0
        },
        "customData": {
          "$ref": "#/definitions/CustomDataType"
        }
      },
      "required": [
        "id"
      ]
    },
    "ReportDataType": {
      "description": "Class to report components, variables and variable attributes and characteristics.\r\n",
      "javaType": "ReportData",
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "component": {
          "$ref": "#/definitions/ComponentType"
        },
        "variable": {
          "$ref": "#/definitions/VariableType"
        },
        "variableAttribute": {
          "type": "array",
          "additionalItems": false,
          "items": {
            "$ref": "#/definitions/VariableAttributeType"
          },
          "minItems": 1,
          "maxItems": 4
        },
        "variableCharacteristics": {
          "$ref": "#/definitions/VariableCharacteristicsType"
        },
        "customData": {
          "$ref": "#/definitions/CustomDataType"
        }
      },
      "required": [
        "component",
        "variable",
        "variableAttribute"
      ]
    },
    "VariableAttributeType": {
      "description": "Attribute data of a variable.\r\n",
      "javaType": "VariableAttribute",
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "type": {
          "$ref": "#/definitions/AttributeEnumType"
        },
        "value": {
          "description": "Value of the attribute. May only be omitted when mutability is set to 'WriteOnly'.\r\n\r\nThe Configuration Variable &lt;&lt;configkey-reporting-value-size,ReportingValueSize&gt;&gt; can be used to limit GetVariableResult.attributeValue, VariableAttribute.value and EventData.actualValue. The max size of these values will always remain equal. \r\n",
          "type": "string",
          "maxLength": 2500
        },
        "mutability": {
          "$ref": "#/definitions/MutabilityEnumType"
        },
        "persistent": {
          "description": "If true, value will be persistent across system reboots or power down. Default when omitted is false.\r\n",
          "type": "boolean",
          "default": false
        },
        "constant": {
          "description": "If true, value that will never be changed by the Charging Station at runtime. Default when omitted is false.\r\n",
          "type": "boolean",
          "default": false
        },
        "customData": {
          "$ref": "#/definitions/CustomDataType"
        }
      }
    },
    "VariableCharacteristicsType": {
      "description": "Fixed read-only parameters of a variable.\r\n",
      "javaType": "VariableCharacteristics",
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "unit": {
          "description": "Unit of the variable. When the transmitted value has a unit, this field SHALL be included.\r\n",
          "type": "string",
          "maxLength": 16
        },
        "dataType": {
          "$ref": "#/definitions/DataEnumType"
        },
        "minLimit": {
          "description": "Minimum possible value of this variable.\r\n",
          "type": "number"
        },
        "maxLimit": {
          "description": "Maximum possible value of this variable. When the datatype of this Variable is String, OptionList, SequenceList or MemberList, this field defines the maximum length of the (CSV) string.\r\n",
          "type": "number"
        },
        "maxElements": {
          "description": "*(2.1)* Maximum number of elements from _valuesList_ that are supported as _attributeValue_.\r\n",
          "type": "integer",
          "minimum": 1.0
        },
        "valuesList": {
          "description": "Mandatory when _dataType_ = OptionList, MemberList or SequenceList. In that case _valuesList_ specifies the allowed values for the type.\r\n\r\nThe length of this field can be limited by DeviceDataCtrlr.ConfigurationValueSize.\r\n\r\n* OptionList: The (Actual) Variable value must be a single value from the reported (CSV) enumeration list.\r\n\r\n* MemberList: The (Actual) Variable value  may be an (unordered) (sub-)set of the reported (CSV) valid values list.\r\n\r\n* SequenceList: The (Actual) Variable value  may be an ordered (priority, etc)  (sub-)set of the reported (CSV) valid values.\r\n\r\nThis is a comma separated list.\r\n\r\nThe Configuration Variable &lt;&lt;configkey-configuration-value-size,ConfigurationValueSize&gt;&gt; can be used to limit SetVariableData.attributeValue and VariableCharacteristics.valuesList. The max size of these values will always remain equal. \r\n\r\n\r\n",
          "type": "string",
          "maxLength": 1000
        },
        "supportsMonitoring": {
          "description": "Flag indicating if this variable supports monitoring. \r\n",
          "type": "boolean"
        },
        "customData": {
          "$ref": "#/definitions/CustomDataType"
        }
      },
      "required": [
        "dataType",
        "supportsMonitoring"
      ]
    },
    "VariableType": {
      "description": "Reference key to a component-variable.\r\n",
      "javaType": "Variable",
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "name": {
          "description": "Name of the variable. Name should be taken from the list of standardized variable names whenever possible. Case Insensitive. strongly advised to use Camel Case.\r\n",
          "type": "string",
          "maxLength": 50
        },
        "instance": {
          "description": "Name of instance in case the variable exists as multiple instances. Case Insensitive. strongly advised to use Camel Case.\r\n",
          "type": "string",
          "maxLength": 50
        },
        "customData": {
          "$ref": "#/definitions/CustomDataType"
        }
      },
      "required": [
        "name"
      ]
    },
    "CustomDataType": {
      "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.",
      "javaType": "CustomData",
      "type": "object",
      "properties": {
        "vendorId": {
          "type": "string",
          "maxLength": 255
        }
      },
      "required": [
        "vendorId"
      ]
    }
  },
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "requestId": {
      "description": "The id of the GetReportRequest  or GetBaseReportRequest that requested this report\r\n",
      "type": "integer"
    },
    "generatedAt": {
      "description": "Timestamp of the moment this message was generated at the Charging Station.\r\n",
      "type": "string",
      "format": "date-time"
    },
    "reportData": {
      "type": "array",
      "additionalItems": false,
      "items": {
        "$ref": "#/definitions/ReportDataType"
      },
      "minItems": 1
    },
    "tbc": {
      "description": "“to be continued” indicator. Indicates whether another part of the report follows in an upcoming notifyReportRequest message. Default value when omitted is false.\r\n\r\n",
      "type": "boolean",
      "default": false
    },
    "seqNo": {
      "description": "Sequence number of this message. First message starts at 0.\r\n",
      "type": "integer",
      "minimum": 0.0
    },
    "customData": {
      "$ref": "#/definitions/CustomDataType"
    }
  },
  "required": [
    "requestId",
    "generatedAt",
    "seqNo"
  ]
}

Response

Leeres Objekt {}.

JSON-Schema (Response)
{
  "$schema": "http://json-schema.org/draft-06/schema#",
  "$id": "urn:OCPP:Cp:2:2025:1:NotifyReportResponse",
  "comment": "OCPP 2.1 Edition 1 (c) OCA, Creative Commons Attribution-NoDerivatives 4.0 International Public License",
  "definitions": {
    "CustomDataType": {
      "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.",
      "javaType": "CustomData",
      "type": "object",
      "properties": {
        "vendorId": {
          "type": "string",
          "maxLength": 255
        }
      },
      "required": [
        "vendorId"
      ]
    }
  },
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "customData": {
      "$ref": "#/definitions/CustomDataType"
    }
  }
}

Quelle: Open Charge Alliance, OCPP 2.1 – 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.