Era.Common.DataDefinition.Reports.Sorting

Description

Definition of sorting of a report column, identified by symbol ID. Typically, this is used before the report is generated, to indicate, which columns will be used for sorting.

Properties

Name JsonSchemaType Description
ascending boolean True for ascending sorting, false for descending.
symbol_id integer Symbol ID by which sorting should be done.

Dual message (request/response)

No dual message.

Referenced in messages

Era.Common.DataDefinition.Reports.ReportTemplate_Data
Era.Common.DataDefinition.Reports.Report_Drilldown_DrilldownItem

JsonSchema

{
    "title": "Era.Common.DataDefinition.Reports.Sorting",
    "type": "object",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "required": [
        "Era.Common.DataDefinition.Reports.Sorting"
    ],
    "properties": {
        "Era.Common.DataDefinition.Reports.Sorting": {
            "$ref": "#/definitions/Sorting"
        }
    },
    "definitions": {
        "Sorting": {
            "additionalProperties": false,
            "required": [
                "symbol_id"
            ],
            "type": "object",
            "properties": {
                "ascending": {
                    "type": "boolean"
                },
                "symbol_id": {
                    "type": "integer"
                }
            }
        }
    }
}