Era.Common.DataDefinition.Common.TimeZoneSelection

Description

Time zone selection.

Properties

Name JsonSchemaType Description
time_zone reference to Era.Common.DataDefinition.Common.TimeZoneSelection_TimeZone Time zone which may automatically use daylight saving.
utc_offset reference to Era.Common.DataDefinition.Common.TimeZoneSelection_UtcOffset Static UTC offset.

Dual message (request/response)

No dual message.

Referenced in messages

Era.Common.DataDefinition.Task.Server.SendNotification

JsonSchema

{
    "title": "Era.Common.DataDefinition.Common.TimeZoneSelection",
    "type": "object",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "required": [
        "Era.Common.DataDefinition.Common.TimeZoneSelection"
    ],
    "properties": {
        "Era.Common.DataDefinition.Common.TimeZoneSelection": {
            "$ref": "#/definitions/TimeZoneSelection"
        }
    },
    "definitions": {
        "TimeZoneSelection": {
            "oneOf": [
                {
                    "required": [
                        "time_zone"
                    ]
                },
                {
                    "required": [
                        "utc_offset"
                    ]
                }
            ],
            "additionalProperties": false,
            "type": "object",
            "properties": {
                "time_zone": {
                    "$ref": "Era.Common.DataDefinition.Common.TimeZoneSelection_TimeZone#/definitions/TimeZoneSelection_TimeZone"
                },
                "utc_offset": {
                    "$ref": "Era.Common.DataDefinition.Common.TimeZoneSelection_UtcOffset#/definitions/TimeZoneSelection_UtcOffset"
                }
            }
        }
    }
}