Era.Common.DataDefinition.Reports.ColumnSorting

Description

Definition of sorting of a report column, identified by column ID. Typically, this is used after the report is generated, to indicate, which columns were used for sorting.

Properties

Name JsonSchemaType Description
ascending boolean True for ascending sorting, false for descending.
column_id integer ID of column by which sorting was done.

Dual message (request/response)

No dual message.

Referenced in messages

Era.Common.DataDefinition.Reports.Report_Data

JsonSchema

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