Era.Common.DataDefinition.Reports.Report_Drilldown_DrilldownItem_Filter

Description

Filter mapping. Information about how to create filters for the drilldown report, based on the original report.

Properties

Name JsonSchemaType Description
aggregation_parameter reference to Era.Common.DataDefinition.Reports.Report_AggregationParameters Aggregation parameters from the original report (e.g. if we need to change interval list to filters selecting one of the intervals).
allowed_operators array of enum Operators, which can be used in the new filter.
from_symbol_id integer Symbol ID of a column in the original report to be used as source of the data for the filter. After clicking on a report row, the data from that row of this column is used to create the filter.
is_repeated boolean True if the filter for the same symbol can be used more times (if there is already a filter in the original report and this parameter is false, new filter can not be added, therefore the drilldown can not be done).
to_symbol_id integer Symbol ID, which should be used in the filter.

Dual message (request/response)

No dual message.

Referenced in messages

Era.Common.DataDefinition.Reports.Report_Drilldown_DrilldownItem

JsonSchema

{
    "title": "Era.Common.DataDefinition.Reports.Report_Drilldown_DrilldownItem_Filter",
    "type": "object",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "required": [
        "Era.Common.DataDefinition.Reports.Report_Drilldown_DrilldownItem_Filter"
    ],
    "properties": {
        "Era.Common.DataDefinition.Reports.Report_Drilldown_DrilldownItem_Filter": {
            "$ref": "#/definitions/Report_Drilldown_DrilldownItem_Filter"
        }
    },
    "definitions": {
        "Report_Drilldown_DrilldownItem_Filter": {
            "additionalProperties": false,
            "required": [
                "aggregation_parameter",
                "from_symbol_id",
                "is_repeated",
                "to_symbol_id"
            ],
            "type": "object",
            "properties": {
                "aggregation_parameter": {
                    "$ref": "Era.Common.DataDefinition.Reports.Report_AggregationParameters#/definitions/Report_AggregationParameters"
                },
                "allowed_operators": {
                    "type": "array",
                    "items": [
                        {
                            "enum": [
                                0,
                                1,
                                2,
                                3,
                                4,
                                5,
                                6,
                                7,
                                8,
                                9,
                                10,
                                11,
                                12,
                                14,
                                15,
                                16,
                                17,
                                18,
                                19
                            ]
                        }
                    ]
                },
                "from_symbol_id": {
                    "type": "integer"
                },
                "is_repeated": {
                    "type": "boolean"
                },
                "to_symbol_id": {
                    "type": "integer"
                }
            }
        }
    }
}