Era.Common.NetworkMessage.ConsoleApi.Scheduler.RpcGetTimeZoneDetailsRequest

Description

Translates [targetTime] into given time zone.

Properties

Name JsonSchemaType Description
isTargetTimeUtc boolean True if the [targetTime] is in UTS, false if the [targetTime] is in the [timeZone].
targetTime reference to Era.Common.DataDefinition.Common.UTCTime The time to be translated.
timeZone string Target time zone ID, as defined in [TimeZoneDetails.TimeZoneRegion.time_zone_ids] obtained via [RpcGetAllTimeZoneDetailsResponse].

Dual message (request/response)

Era.Common.NetworkMessage.ConsoleApi.Scheduler.RpcGetTimeZoneDetailsResponse

Referenced in messages

No references.

JsonSchema

{
    "title": "Era.Common.NetworkMessage.ConsoleApi.Scheduler.RpcGetTimeZoneDetailsRequest",
    "type": "object",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "required": [
        "Era.Common.NetworkMessage.ConsoleApi.Scheduler.RpcGetTimeZoneDetailsRequest"
    ],
    "properties": {
        "Era.Common.NetworkMessage.ConsoleApi.Scheduler.RpcGetTimeZoneDetailsRequest": {
            "$ref": "#/definitions/RpcGetTimeZoneDetailsRequest"
        }
    },
    "definitions": {
        "RpcGetTimeZoneDetailsRequest": {
            "additionalProperties": false,
            "required": [
                "isTargetTimeUtc",
                "targetTime",
                "timeZone"
            ],
            "type": "object",
            "properties": {
                "isTargetTimeUtc": {
                    "type": "boolean"
                },
                "targetTime": {
                    "$ref": "Era.Common.DataDefinition.Common.UTCTime#/definitions/UTCTime"
                },
                "timeZone": {
                    "pattern": "\\s*.{1,}\\s*",
                    "type": "string"
                }
            }
        }
    }
}