UNPKG

@citrineos/base

Version:

The base module for OCPP v2.0.1 including all interfaces. This module is not intended to be used directly, but rather as a dependency for other modules.

123 lines (122 loc) 4.63 kB
{ "title": "RemoteStartTransactionRequest", "type": "object", "properties": { "connectorId": { "type": "integer" }, "idTag": { "type": "string", "maxLength": 20 }, "chargingProfile": { "type": "object", "properties": { "chargingProfileId": { "type": "integer" }, "transactionId": { "type": "integer" }, "stackLevel": { "type": "integer" }, "chargingProfilePurpose": { "$ref": "#/definitions/RemoteStartTransactionRequestChargingProfilePurpose" }, "chargingProfileKind": { "$ref": "#/definitions/RemoteStartTransactionRequestChargingProfileKind" }, "recurrencyKind": { "$ref": "#/definitions/RemoteStartTransactionRequestRecurrencyKind" }, "validFrom": { "type": "string", "format": "date-time" }, "validTo": { "type": "string", "format": "date-time" }, "chargingSchedule": { "type": "object", "properties": { "duration": { "type": "integer" }, "startSchedule": { "type": "string", "format": "date-time" }, "chargingRateUnit": { "$ref": "#/definitions/RemoteStartTransactionRequestChargingRateUnit" }, "chargingSchedulePeriod": { "type": "array", "items": { "type": "object", "properties": { "startPeriod": { "type": "integer" }, "limit": { "type": "number", "multipleOf": 0.1 }, "numberPhases": { "type": "integer" } }, "additionalProperties": false, "required": ["startPeriod", "limit"] } }, "minChargingRate": { "type": "number", "multipleOf": 0.1 } }, "additionalProperties": false, "required": ["chargingRateUnit", "chargingSchedulePeriod"] } }, "additionalProperties": false, "required": [ "chargingProfileId", "stackLevel", "chargingProfilePurpose", "chargingProfileKind", "chargingSchedule" ] } }, "additionalProperties": false, "required": ["idTag"], "$id": "RemoteStartTransactionRequest", "definitions": { "RemoteStartTransactionRequestChargingProfilePurpose": { "type": "string", "additionalProperties": false, "enum": ["ChargePointMaxProfile", "TxDefaultProfile", "TxProfile"], "tsEnumNames": ["ChargePointMaxProfile", "TxDefaultProfile", "TxProfile"] }, "RemoteStartTransactionRequestChargingProfileKind": { "type": "string", "additionalProperties": false, "enum": ["Absolute", "Recurring", "Relative"], "tsEnumNames": ["Absolute", "Recurring", "Relative"] }, "RemoteStartTransactionRequestRecurrencyKind": { "type": "string", "additionalProperties": false, "enum": ["Daily", "Weekly"], "tsEnumNames": ["Daily", "Weekly"] }, "RemoteStartTransactionRequestChargingRateUnit": { "type": "string", "additionalProperties": false, "enum": ["A", "W"], "tsEnumNames": ["A", "W"] } } }