Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 53 additions & 9 deletions schema/ProvideChargingInformationRequest.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,43 @@
"$ref": "#/definitions/DepotInfo"
},
"additionalProperties": false
},
"rejectedChargingRequestInfoList": {
"type": "array",
"items": {
"$ref": "#/definitions/RejectedChargingRequestInfo"
},
"additionalProperties": false
}
},
"required": [
"depotInfoList"
],
"additionalProperties": false,
"definitions": {
"RejectedChargingRequestInfo": {
"description": "This type represents information about charging requests rejected by a load management system.",
"type": "object",
"properties": {
"presystemId": {
"$ref": "#/definitions/UniqueIdentifier"
},
"chargingRequestId": {
"$ref": "#/definitions/UniqueIdentifier"
},
"reason": {
"description": "This type represents reason why the charging requests was rejected by the load management system.",
"type": "string",
"additionalProperties": false
}
},
"required": [
"presystemId",
"chargingRequestId",
"reason"
],
"additionalProperties": false
},
"VehicleIdentifier": {
"description": "This type represents an unique vehicle identifier associated with VDV261.",
"type": "string",
Expand Down Expand Up @@ -163,10 +193,10 @@
"description": "Condensed health status of the traction battery.",
"type": "string",
"additionalProperties": false,
"enum": [
"OK",
"NOK",
"NA"
"enum": [
"OK",
"NOK",
"NA"
]
}
},
Expand All @@ -180,16 +210,15 @@
"description": "Condensed health status of the H2 tank.",
"type": "string",
"additionalProperties": false,
"enum": [
"OK",
"NOK",
"NA"
"enum": [
"OK",
"NOK",
"NA"
]
}
},
"additionalProperties": false
},

"VehicleStatusInfo": {
"description": "This type represents status information regarding a vehicle.",
"type": "object",
Expand Down Expand Up @@ -397,10 +426,22 @@
],
"additionalProperties": false
},
"ChargingPredictionDataStatus": {
"description": "This type represents information regarding the status of a charging process forecast.",
"type": "string",
"additionalProperties": false,
"enum": [
"Ongoing",
"Finished"
]
},
"ChargingPredictionData": {
"description": "This type represents information regarding a charging process forecast.",
"type": "object",
"properties": {
"chargingPredictionDataStatus": {
"$ref": "#/definitions/ChargingPredictionDataStatus"
},
"chargingPredictionDataMinSoc": {
"$ref": "#/definitions/ChargingPredictionDataMinSoc"
},
Expand All @@ -411,6 +452,9 @@
"$ref": "#/definitions/ChargingPredictionDataDepartureTime"
}
},
"required": [
"chargingPredictionDataStatus"
],
"additionalProperties": false
},
"ChargingPredictionDataMinSoc": {
Expand Down