Docs › OCPP 2.0.1 › RequestStartTransaction

RequestStartTransaction OCPP 2.0.1

Der Simulator beantwortet diese Anfrage des Backends.

Auch in: OCPP 2.1

Request

FeldTypEinschränkungen / Beschreibung
evseIdintegerNumber of the EVSE on which to start the transaction. EvseId SHALL be > 0
groupIdTokenobjectContains a case insensitive identifier to use for the authorization and the type of authorization to support multiple forms of identifiers.
groupIdToken.additionalInfoarray<object>minItems 1
groupIdToken.additionalInfo[].additionalIdTokenstringPflichtmaxLength 36
This field specifies the additional IdToken.
groupIdToken.additionalInfo[].typestringPflichtmaxLength 50
This defines the type of the additionalIdToken. This is a custom type, so the implementation needs to be agreed upon by all involved parties.
groupIdToken.idTokenstringPflichtmaxLength 36
IdToken is case insensitive. Might hold the hidden id of an RFID tag, but can for example also contain a UUID.
groupIdToken.typestringPflichtenum: Central, eMAID, ISO14443, ISO15693, KeyCode, Local, MacAddress, NoAuthorization
Enumeration of possible idToken types.
idTokenobjectPflichtContains a case insensitive identifier to use for the authorization and the type of authorization to support multiple forms of identifiers.
idToken.additionalInfoarray<object>minItems 1
idToken.additionalInfo[].additionalIdTokenstringPflichtmaxLength 36
This field specifies the additional IdToken.
idToken.additionalInfo[].typestringPflichtmaxLength 50
This defines the type of the additionalIdToken. This is a custom type, so the implementation needs to be agreed upon by all involved parties.
idToken.idTokenstringPflichtmaxLength 36
IdToken is case insensitive. Might hold the hidden id of an RFID tag, but can for example also contain a UUID.
idToken.typestringPflichtenum: Central, eMAID, ISO14443, ISO15693, KeyCode, Local, MacAddress, NoAuthorization
Enumeration of possible idToken types.
remoteStartIdintegerPflichtId given by the server to this start request. The Charging Station might return this in the &lt;&lt;transactioneventrequest, TransactionEventRequest&gt;&gt;, letting the server know which transaction was started for this request. Use to start a transaction.
chargingProfileobjectCharging_ Profile urn:x-oca:ocpp:uid:2:233255 A ChargingProfile consists of ChargingSchedule, describing the amount of power or current that can be delivered per time interval.
chargingProfile.idintegerPflichtIdentified_ Object. MRID. Numeric_ Identifier urn:x-enexis:ecdm:uid:1:569198 Id of ChargingProfile.
chargingProfile.stackLevelintegerPflichtCharging_ Profile. Stack_ Level. Counter urn:x-oca:ocpp:uid:1:569230 Value determining level in hierarchy stack of profiles. Higher values have precedence over lower values. Lowest level is 0.
chargingProfile.chargingProfilePurposestringPflichtenum: ChargingStationExternalConstraints, ChargingStationMaxProfile, TxDefaultProfile, TxProfile
Charging_ Profile. Charging_ Profile_ Purpose. Charging_ Profile_ Purpose_ Code urn:x-oca:ocpp:uid:1:569231 Defines the purpose of the schedule transferred by this profile
chargingProfile.chargingProfileKindstringPflichtenum: Absolute, Recurring, Relative
Charging_ Profile. Charging_ Profile_ Kind. Charging_ Profile_ Kind_ Code urn:x-oca:ocpp:uid:1:569232 Indicates the kind of schedule.
chargingProfile.recurrencyKindstringenum: Daily, Weekly
Charging_ Profile. Recurrency_ Kind. Recurrency_ Kind_ Code urn:x-oca:ocpp:uid:1:569233 Indicates the start point of a recurrence.
chargingProfile.validFromstringformat date-time
Charging_ Profile. Valid_ From. Date_ Time urn:x-oca:ocpp:uid:1:569234 Point in time at which the profile starts to be valid. If absent, the profile is valid as soon as it is received by the Charging Station.
chargingProfile.validTostringformat date-time
Charging_ Profile. Valid_ To. Date_ Time urn:x-oca:ocpp:uid:1:569235 Point in time at which the profile stops to be valid. If absent, the profile is valid until it is replaced by another profile.
chargingProfile.chargingSchedulearray<object>PflichtminItems 1; maxItems 3
chargingProfile.chargingSchedule[].idintegerPflichtIdentifies the ChargingSchedule.
chargingProfile.chargingSchedule[].startSchedulestringformat date-time
Charging_ Schedule. Start_ Schedule. Date_ Time urn:x-oca:ocpp:uid:1:569237 Starting point of an absolute schedule. If absent the schedule will be relative to start of charging.
chargingProfile.chargingSchedule[].durationintegerCharging_ Schedule. Duration. Elapsed_ Time urn:x-oca:ocpp:uid:1:569236 Duration of the charging schedule in seconds. If the duration is left empty, the last period will continue indefinitely or until end of the transaction if chargingProfilePurpose = TxProfile.
chargingProfile.chargingSchedule[].chargingRateUnitstringPflichtenum: W, A
Charging_ Schedule. Charging_ Rate_ Unit. Charging_ Rate_ Unit_ Code urn:x-oca:ocpp:uid:1:569238 The unit of measure Limit is expressed in.
chargingProfile.chargingSchedule[].chargingSchedulePeriodarray<object>PflichtminItems 1; maxItems 1024
chargingProfile.chargingSchedule[].chargingSchedulePeriod[].startPeriodintegerPflichtCharging_ Schedule_ Period. Start_ Period. Elapsed_ Time urn:x-oca:ocpp:uid:1:569240 Start of the period, in seconds from the start of schedule. The value of StartPeriod also defines the stop time of the previous period.
chargingProfile.chargingSchedule[].chargingSchedulePeriod[].limitnumberPflichtCharging_ Schedule_ Period. Limit. Measure urn:x-oca:ocpp:uid:1:569241 Charging rate limit during the schedule period, in the applicable chargingRateUnit, for example in Amperes (A) or Watts (W). Accepts at most one digit fraction (e.g. 8.1).
chargingProfile.chargingSchedule[].chargingSchedulePeriod[].numberPhasesintegerCharging_ Schedule_ Period. Number_ Phases. Counter urn:x-oca:ocpp:uid:1:569242 The number of phases that can be used for charging. If a number of phases is needed, numberPhases=3 will be assumed unless another number is given.
chargingProfile.chargingSchedule[].chargingSchedulePeriod[].phaseToUseintegerValues: 1..3, Used if numberPhases=1 and if the EVSE is capable of switching the phase connected to the EV, i.e. ACPhaseSwitchingSupported is defined and true. It’s not allowed unless both conditions above are true. If both conditions are true, and phaseToUse is omitted, the Charging Station / EVSE will make the selection on its own.
chargingProfile.chargingSchedule[].minChargingRatenumberCharging_ Schedule. Min_ Charging_ Rate. Numeric urn:x-oca:ocpp:uid:1:569239 Minimum charging rate supported by the EV. The unit of measure is defined by the chargingRateUnit. This parameter is intended to be used by a local smart charging algorithm to optimize the power allocation for in the case a charging process is inefficient at lower charging rates. Accepts at most one digit fraction (e.g. 8.1)
chargingProfile.chargingSchedule[].salesTariffobjectSales_ Tariff urn:x-oca:ocpp:uid:2:233272 NOTE: This dataType is based on dataTypes from &lt;&lt;ref-ISOIEC15118-2,ISO 15118-2&gt;&gt;.
chargingProfile.chargingSchedule[].salesTariff.idintegerPflichtIdentified_ Object. MRID. Numeric_ Identifier urn:x-enexis:ecdm:uid:1:569198 SalesTariff identifier used to identify one sales tariff. An SAID remains a unique identifier for one schedule throughout a charging session.
chargingProfile.chargingSchedule[].salesTariff.salesTariffDescriptionstringmaxLength 32
Sales_ Tariff. Sales. Tariff_ Description urn:x-oca:ocpp:uid:1:569283 A human readable title/short description of the sales tariff e.g. for HMI display purposes.
chargingProfile.chargingSchedule[].salesTariff.numEPriceLevelsintegerSales_ Tariff. Num_ E_ Price_ Levels. Counter urn:x-oca:ocpp:uid:1:569284 Defines the overall number of distinct price levels used across all provided SalesTariff elements.
chargingProfile.chargingSchedule[].salesTariff.salesTariffEntryarray<object>PflichtminItems 1; maxItems 1024
chargingProfile.chargingSchedule[].salesTariff.salesTariffEntry[].relativeTimeIntervalobjectPflichtRelative_ Timer_ Interval urn:x-oca:ocpp:uid:2:233270
chargingProfile.chargingSchedule[].salesTariff.salesTariffEntry[].relativeTimeInterval.startintegerPflichtRelative_ Timer_ Interval. Start. Elapsed_ Time urn:x-oca:ocpp:uid:1:569279 Start of the interval, in seconds from NOW.
chargingProfile.chargingSchedule[].salesTariff.salesTariffEntry[].relativeTimeInterval.durationintegerRelative_ Timer_ Interval. Duration. Elapsed_ Time urn:x-oca:ocpp:uid:1:569280 Duration of the interval, in seconds.
chargingProfile.chargingSchedule[].salesTariff.salesTariffEntry[].ePriceLevelintegerminimum 0.0
Sales_ Tariff_ Entry. E_ Price_ Level. Unsigned_ Integer urn:x-oca:ocpp:uid:1:569281 Defines the price level of this SalesTariffEntry (referring to NumEPriceLevels). Small values for the EPriceLevel represent a cheaper TariffEntry. Large values for the EPriceLevel represent a more expensive TariffEntry.
chargingProfile.chargingSchedule[].salesTariff.salesTariffEntry[].consumptionCostarray<object>minItems 1; maxItems 3
chargingProfile.chargingSchedule[].salesTariff.salesTariffEntry[].consumptionCost[].startValuenumberPflichtConsumption_ Cost. Start_ Value. Numeric urn:x-oca:ocpp:uid:1:569246 The lowest level of consumption that defines the starting point of this consumption block. The block interval extends to the start of the next interval.
chargingProfile.chargingSchedule[].salesTariff.salesTariffEntry[].consumptionCost[].costarray<object>PflichtminItems 1; maxItems 3
chargingProfile.chargingSchedule[].salesTariff.salesTariffEntry[].consumptionCost[].cost[].costKindstringPflichtenum: CarbonDioxideEmission, RelativePricePercentage, RenewableGenerationPercentage
Cost. Cost_ Kind. Cost_ Kind_ Code urn:x-oca:ocpp:uid:1:569243 The kind of cost referred to in the message element amount
chargingProfile.chargingSchedule[].salesTariff.salesTariffEntry[].consumptionCost[].cost[].amountintegerPflichtCost. Amount. Amount urn:x-oca:ocpp:uid:1:569244 The estimated or actual cost per kWh
chargingProfile.chargingSchedule[].salesTariff.salesTariffEntry[].consumptionCost[].cost[].amountMultiplierintegerCost. Amount_ Multiplier. Integer urn:x-oca:ocpp:uid:1:569245 Values: -3..3, The amountMultiplier defines the exponent to base 10 (dec). The final value is determined by: amount * 10 ^ amountMultiplier
chargingProfile.transactionIdstringmaxLength 36
SHALL only be included if ChargingProfilePurpose is set to TxProfile. The transactionId is used to match the profile to a specific transaction.
JSON-Schema (Request)
{
  "$schema": "http://json-schema.org/draft-06/schema#",
  "comment": "OCPP 2.0.1 FINAL",
  "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"
      ]
    },
    "ChargingProfileKindEnumType": {
      "description": "Charging_ Profile. Charging_ Profile_ Kind. Charging_ Profile_ Kind_ Code\r\nurn:x-oca:ocpp:uid:1:569232\r\nIndicates the kind of schedule.\r\n",
      "javaType": "ChargingProfileKindEnum",
      "type": "string",
      "additionalProperties": false,
      "enum": [
        "Absolute",
        "Recurring",
        "Relative"
      ]
    },
    "ChargingProfilePurposeEnumType": {
      "description": "Charging_ Profile. Charging_ Profile_ Purpose. Charging_ Profile_ Purpose_ Code\r\nurn:x-oca:ocpp:uid:1:569231\r\nDefines the purpose of the schedule transferred by this profile\r\n",
      "javaType": "ChargingProfilePurposeEnum",
      "type": "string",
      "additionalProperties": false,
      "enum": [
        "ChargingStationExternalConstraints",
        "ChargingStationMaxProfile",
        "TxDefaultProfile",
        "TxProfile"
      ]
    },
    "ChargingRateUnitEnumType": {
      "description": "Charging_ Schedule. Charging_ Rate_ Unit. Charging_ Rate_ Unit_ Code\r\nurn:x-oca:ocpp:uid:1:569238\r\nThe unit of measure Limit is expressed in.\r\n",
      "javaType": "ChargingRateUnitEnum",
      "type": "string",
      "additionalProperties": false,
      "enum": [
        "W",
        "A"
      ]
    },
    "CostKindEnumType": {
      "description": "Cost. Cost_ Kind. Cost_ Kind_ Code\r\nurn:x-oca:ocpp:uid:1:569243\r\nThe kind of cost referred to in the message element amount\r\n",
      "javaType": "CostKindEnum",
      "type": "string",
      "additionalProperties": false,
      "enum": [
        "CarbonDioxideEmission",
        "RelativePricePercentage",
        "RenewableGenerationPercentage"
      ]
    },
    "IdTokenEnumType": {
      "description": "Enumeration of possible idToken types.\r\n",
      "javaType": "IdTokenEnum",
      "type": "string",
      "additionalProperties": false,
      "enum": [
        "Central",
        "eMAID",
        "ISO14443",
        "ISO15693",
        "KeyCode",
        "Local",
        "MacAddress",
        "NoAuthorization"
      ]
    },
    "RecurrencyKindEnumType": {
      "description": "Charging_ Profile. Recurrency_ Kind. Recurrency_ Kind_ Code\r\nurn:x-oca:ocpp:uid:1:569233\r\nIndicates the start point of a recurrence.\r\n",
      "javaType": "RecurrencyKindEnum",
      "type": "string",
      "additionalProperties": false,
      "enum": [
        "Daily",
        "Weekly"
      ]
    },
    "AdditionalInfoType": {
      "description": "Contains a case insensitive identifier to use for the authorization and the type of authorization to support multiple forms of identifiers.\r\n",
      "javaType": "AdditionalInfo",
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "customData": {
          "$ref": "#/definitions/CustomDataType"
        },
        "additionalIdToken": {
          "description": "This field specifies the additional IdToken.\r\n",
          "type": "string",
          "maxLength": 36
        },
        "type": {
          "description": "This defines the type of the additionalIdToken. This is a custom type, so the implementation needs to be agreed upon by all involved parties.\r\n",
          "type": "string",
          "maxLength": 50
        }
      },
      "required": [
        "additionalIdToken",
        "type"
      ]
    },
    "ChargingProfileType": {
      "description": "Charging_ Profile\r\nurn:x-oca:ocpp:uid:2:233255\r\nA ChargingProfile consists of ChargingSchedule, describing the amount of power or current that can be delivered per time interval.\r\n",
      "javaType": "ChargingProfile",
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "customData": {
          "$ref": "#/definitions/CustomDataType"
        },
        "id": {
          "description": "Identified_ Object. MRID. Numeric_ Identifier\r\nurn:x-enexis:ecdm:uid:1:569198\r\nId of ChargingProfile.\r\n",
          "type": "integer"
        },
        "stackLevel": {
          "description": "Charging_ Profile. Stack_ Level. Counter\r\nurn:x-oca:ocpp:uid:1:569230\r\nValue determining level in hierarchy stack of profiles. Higher values have precedence over lower values. Lowest level is 0.\r\n",
          "type": "integer"
        },
        "chargingProfilePurpose": {
          "$ref": "#/definitions/ChargingProfilePurposeEnumType"
        },
        "chargingProfileKind": {
          "$ref": "#/definitions/ChargingProfileKindEnumType"
        },
        "recurrencyKind": {
          "$ref": "#/definitions/RecurrencyKindEnumType"
        },
        "validFrom": {
          "description": "Charging_ Profile. Valid_ From. Date_ Time\r\nurn:x-oca:ocpp:uid:1:569234\r\nPoint in time at which the profile starts to be valid. If absent, the profile is valid as soon as it is received by the Charging Station.\r\n",
          "type": "string",
          "format": "date-time"
        },
        "validTo": {
          "description": "Charging_ Profile. Valid_ To. Date_ Time\r\nurn:x-oca:ocpp:uid:1:569235\r\nPoint in time at which the profile stops to be valid. If absent, the profile is valid until it is replaced by another profile.\r\n",
          "type": "string",
          "format": "date-time"
        },
        "chargingSchedule": {
          "type": "array",
          "additionalItems": false,
          "items": {
            "$ref": "#/definitions/ChargingScheduleType"
          },
          "minItems": 1,
          "maxItems": 3
        },
        "transactionId": {
          "description": "SHALL only be included if ChargingProfilePurpose is set to TxProfile. The transactionId is used to match the profile to a specific transaction.\r\n",
          "type": "string",
          "maxLength": 36
        }
      },
      "required": [
        "id",
        "stackLevel",
        "chargingProfilePurpose",
        "chargingProfileKind",
        "chargingSchedule"
      ]
    },
    "ChargingSchedulePeriodType": {
      "description": "Charging_ Schedule_ Period\r\nurn:x-oca:ocpp:uid:2:233257\r\nCharging schedule period structure defines a time period in a charging schedule.\r\n",
      "javaType": "ChargingSchedulePeriod",
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "customData": {
          "$ref": "#/definitions/CustomDataType"
        },
        "startPeriod": {
          "description": "Charging_ Schedule_ Period. Start_ Period. Elapsed_ Time\r\nurn:x-oca:ocpp:uid:1:569240\r\nStart of the period, in seconds from the start of schedule. The value of StartPeriod also defines the stop time of the previous period.\r\n",
          "type": "integer"
        },
        "limit": {
          "description": "Charging_ Schedule_ Period. Limit. Measure\r\nurn:x-oca:ocpp:uid:1:569241\r\nCharging rate limit during the schedule period, in the applicable chargingRateUnit, for example in Amperes (A) or Watts (W). Accepts at most one digit fraction (e.g. 8.1).\r\n",
          "type": "number"
        },
        "numberPhases": {
          "description": "Charging_ Schedule_ Period. Number_ Phases. Counter\r\nurn:x-oca:ocpp:uid:1:569242\r\nThe number of phases that can be used for charging. If a number of phases is needed, numberPhases=3 will be assumed unless another number is given.\r\n",
          "type": "integer"
        },
        "phaseToUse": {
          "description": "Values: 1..3, Used if numberPhases=1 and if the EVSE is capable of switching the phase connected to the EV, i.e. ACPhaseSwitchingSupported is defined and true. It’s not allowed unless both conditions above are true. If both conditions are true, and phaseToUse is omitted, the Charging Station / EVSE will make the selection on its own.\r\n\r\n",
          "type": "integer"
        }
      },
      "required": [
        "startPeriod",
        "limit"
      ]
    },
    "ChargingScheduleType": {
      "description": "Charging_ Schedule\r\nurn:x-oca:ocpp:uid:2:233256\r\nCharging schedule structure defines a list of charging periods, as used in: GetCompositeSchedule.conf and ChargingProfile. \r\n",
      "javaType": "ChargingSchedule",
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "customData": {
          "$ref": "#/definitions/CustomDataType"
        },
        "id": {
          "description": "Identifies the ChargingSchedule.\r\n",
          "type": "integer"
        },
        "startSchedule": {
          "description": "Charging_ Schedule. Start_ Schedule. Date_ Time\r\nurn:x-oca:ocpp:uid:1:569237\r\nStarting point of an absolute schedule. If absent the schedule will be relative to start of charging.\r\n",
          "type": "string",
          "format": "date-time"
        },
        "duration": {
          "description": "Charging_ Schedule. Duration. Elapsed_ Time\r\nurn:x-oca:ocpp:uid:1:569236\r\nDuration of the charging schedule in seconds. If the duration is left empty, the last period will continue indefinitely or until end of the transaction if chargingProfilePurpose = TxProfile.\r\n",
          "type": "integer"
        },
        "chargingRateUnit": {
          "$ref": "#/definitions/ChargingRateUnitEnumType"
        },
        "chargingSchedulePeriod": {
          "type": "array",
          "additionalItems": false,
          "items": {
            "$ref": "#/definitions/ChargingSchedulePeriodType"
          },
          "minItems": 1,
          "maxItems": 1024
        },
        "minChargingRate": {
          "description": "Charging_ Schedule. Min_ Charging_ Rate. Numeric\r\nurn:x-oca:ocpp:uid:1:569239\r\nMinimum charging rate supported by the EV. The unit of measure is defined by the chargingRateUnit. This parameter is intended to be used by a local smart charging algorithm to optimize the power allocation for in the case a charging process is inefficient at lower charging rates. Accepts at most one digit fraction (e.g. 8.1)\r\n",
          "type": "number"
        },
        "salesTariff": {
          "$ref": "#/definitions/SalesTariffType"
        }
      },
      "required": [
        "id",
        "chargingRateUnit",
        "chargingSchedulePeriod"
      ]
    },
    "ConsumptionCostType": {
      "description": "Consumption_ Cost\r\nurn:x-oca:ocpp:uid:2:233259\r\n",
      "javaType": "ConsumptionCost",
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "customData": {
          "$ref": "#/definitions/CustomDataType"
        },
        "startValue": {
          "description": "Consumption_ Cost. Start_ Value. Numeric\r\nurn:x-oca:ocpp:uid:1:569246\r\nThe lowest level of consumption that defines the starting point of this consumption block. The block interval extends to the start of the next interval.\r\n",
          "type": "number"
        },
        "cost": {
          "type": "array",
          "additionalItems": false,
          "items": {
            "$ref": "#/definitions/CostType"
          },
          "minItems": 1,
          "maxItems": 3
        }
      },
      "required": [
        "startValue",
        "cost"
      ]
    },
    "CostType": {
      "description": "Cost\r\nurn:x-oca:ocpp:uid:2:233258\r\n",
      "javaType": "Cost",
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "customData": {
          "$ref": "#/definitions/CustomDataType"
        },
        "costKind": {
          "$ref": "#/definitions/CostKindEnumType"
        },
        "amount": {
          "description": "Cost. Amount. Amount\r\nurn:x-oca:ocpp:uid:1:569244\r\nThe estimated or actual cost per kWh\r\n",
          "type": "integer"
        },
        "amountMultiplier": {
          "description": "Cost. Amount_ Multiplier. Integer\r\nurn:x-oca:ocpp:uid:1:569245\r\nValues: -3..3, The amountMultiplier defines the exponent to base 10 (dec). The final value is determined by: amount * 10 ^ amountMultiplier\r\n",
          "type": "integer"
        }
      },
      "required": [
        "costKind",
        "amount"
      ]
    },
    "IdTokenType": {
      "description": "Contains a case insensitive identifier to use for the authorization and the type of authorization to support multiple forms of identifiers.\r\n",
      "javaType": "IdToken",
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "customData": {
          "$ref": "#/definitions/CustomDataType"
        },
        "additionalInfo": {
          "type": "array",
          "additionalItems": false,
          "items": {
            "$ref": "#/definitions/AdditionalInfoType"
          },
          "minItems": 1
        },
        "idToken": {
          "description": "IdToken is case insensitive. Might hold the hidden id of an RFID tag, but can for example also contain a UUID.\r\n",
          "type": "string",
          "maxLength": 36
        },
        "type": {
          "$ref": "#/definitions/IdTokenEnumType"
        }
      },
      "required": [
        "idToken",
        "type"
      ]
    },
    "RelativeTimeIntervalType": {
      "description": "Relative_ Timer_ Interval\r\nurn:x-oca:ocpp:uid:2:233270\r\n",
      "javaType": "RelativeTimeInterval",
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "customData": {
          "$ref": "#/definitions/CustomDataType"
        },
        "start": {
          "description": "Relative_ Timer_ Interval. Start. Elapsed_ Time\r\nurn:x-oca:ocpp:uid:1:569279\r\nStart of the interval, in seconds from NOW.\r\n",
          "type": "integer"
        },
        "duration": {
          "description": "Relative_ Timer_ Interval. Duration. Elapsed_ Time\r\nurn:x-oca:ocpp:uid:1:569280\r\nDuration of the interval, in seconds.\r\n",
          "type": "integer"
        }
      },
      "required": [
        "start"
      ]
    },
    "SalesTariffEntryType": {
      "description": "Sales_ Tariff_ Entry\r\nurn:x-oca:ocpp:uid:2:233271\r\n",
      "javaType": "SalesTariffEntry",
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "customData": {
          "$ref": "#/definitions/CustomDataType"
        },
        "relativeTimeInterval": {
          "$ref": "#/definitions/RelativeTimeIntervalType"
        },
        "ePriceLevel": {
          "description": "Sales_ Tariff_ Entry. E_ Price_ Level. Unsigned_ Integer\r\nurn:x-oca:ocpp:uid:1:569281\r\nDefines the price level of this SalesTariffEntry (referring to NumEPriceLevels). Small values for the EPriceLevel represent a cheaper TariffEntry. Large values for the EPriceLevel represent a more expensive TariffEntry.\r\n",
          "type": "integer",
          "minimum": 0.0
        },
        "consumptionCost": {
          "type": "array",
          "additionalItems": false,
          "items": {
            "$ref": "#/definitions/ConsumptionCostType"
          },
          "minItems": 1,
          "maxItems": 3
        }
      },
      "required": [
        "relativeTimeInterval"
      ]
    },
    "SalesTariffType": {
      "description": "Sales_ Tariff\r\nurn:x-oca:ocpp:uid:2:233272\r\nNOTE: This dataType is based on dataTypes from &lt;&lt;ref-ISOIEC15118-2,ISO 15118-2&gt;&gt;.\r\n",
      "javaType": "SalesTariff",
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "customData": {
          "$ref": "#/definitions/CustomDataType"
        },
        "id": {
          "description": "Identified_ Object. MRID. Numeric_ Identifier\r\nurn:x-enexis:ecdm:uid:1:569198\r\nSalesTariff identifier used to identify one sales tariff. An SAID remains a unique identifier for one schedule throughout a charging session.\r\n",
          "type": "integer"
        },
        "salesTariffDescription": {
          "description": "Sales_ Tariff. Sales. Tariff_ Description\r\nurn:x-oca:ocpp:uid:1:569283\r\nA human readable title/short description of the sales tariff e.g. for HMI display purposes.\r\n",
          "type": "string",
          "maxLength": 32
        },
        "numEPriceLevels": {
          "description": "Sales_ Tariff. Num_ E_ Price_ Levels. Counter\r\nurn:x-oca:ocpp:uid:1:569284\r\nDefines the overall number of distinct price levels used across all provided SalesTariff elements.\r\n",
          "type": "integer"
        },
        "salesTariffEntry": {
          "type": "array",
          "additionalItems": false,
          "items": {
            "$ref": "#/definitions/SalesTariffEntryType"
          },
          "minItems": 1,
          "maxItems": 1024
        }
      },
      "required": [
        "id",
        "salesTariffEntry"
      ]
    }
  },
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "customData": {
      "$ref": "#/definitions/CustomDataType"
    },
    "evseId": {
      "description": "Number of the EVSE on which to start the transaction. EvseId SHALL be &gt; 0\r\n",
      "type": "integer"
    },
    "groupIdToken": {
      "$ref": "#/definitions/IdTokenType"
    },
    "idToken": {
      "$ref": "#/definitions/IdTokenType"
    },
    "remoteStartId": {
      "description": "Id given by the server to this start request. The Charging Station might return this in the &lt;&lt;transactioneventrequest, TransactionEventRequest&gt;&gt;, letting the server know which transaction was started for this request. Use to start a transaction.\r\n",
      "type": "integer"
    },
    "chargingProfile": {
      "$ref": "#/definitions/ChargingProfileType"
    }
  },
  "required": [
    "remoteStartId",
    "idToken"
  ]
}

Response

FeldTypEinschränkungen / Beschreibung
statusstringPflichtenum: Accepted, Rejected
Status indicating whether the Charging Station accepts the request to start a transaction.
statusInfoobjectElement providing more information about the status.
statusInfo.reasonCodestringPflichtmaxLength 20
A predefined code for the reason why the status is returned in this response. The string is case-insensitive.
statusInfo.additionalInfostringmaxLength 512
Additional text to provide detailed information.
transactionIdstringmaxLength 36
When the transaction was already started by the Charging Station before the RequestStartTransactionRequest was received, for example: cable plugged in first. This contains the transactionId of the already started transaction.
JSON-Schema (Response)
{
  "$schema": "http://json-schema.org/draft-06/schema#",
  "comment": "OCPP 2.0.1 FINAL",
  "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"
      ]
    },
    "RequestStartStopStatusEnumType": {
      "description": "Status indicating whether the Charging Station accepts the request to start a transaction.\r\n",
      "javaType": "RequestStartStopStatusEnum",
      "type": "string",
      "additionalProperties": false,
      "enum": [
        "Accepted",
        "Rejected"
      ]
    },
    "StatusInfoType": {
      "description": "Element providing more information about the status.\r\n",
      "javaType": "StatusInfo",
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "customData": {
          "$ref": "#/definitions/CustomDataType"
        },
        "reasonCode": {
          "description": "A predefined code for the reason why the status is returned in this response. The string is case-insensitive.\r\n",
          "type": "string",
          "maxLength": 20
        },
        "additionalInfo": {
          "description": "Additional text to provide detailed information.\r\n",
          "type": "string",
          "maxLength": 512
        }
      },
      "required": [
        "reasonCode"
      ]
    }
  },
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "customData": {
      "$ref": "#/definitions/CustomDataType"
    },
    "status": {
      "$ref": "#/definitions/RequestStartStopStatusEnumType"
    },
    "statusInfo": {
      "$ref": "#/definitions/StatusInfoType"
    },
    "transactionId": {
      "description": "When the transaction was already started by the Charging Station before the RequestStartTransactionRequest was received, for example: cable plugged in first. This contains the transactionId of the already started transaction.\r\n",
      "type": "string",
      "maxLength": 36
    }
  },
  "required": [
    "status"
  ]
}

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