Era.Common.DataDefinition.Reports.Tendency

Description

Simplified, says, whether larger values of the symbol are "good" or "bad" and where the borders between these values lie.

Properties

Name JsonSchemaType Description
inverted boolean False if larger values are worse (e.g. number of threats). True if larger values are better.
type enum of Era.Common.DataDefinition.Reports.Tendency_Type Type of the tendency.

Dual message (request/response)

No dual message.

Referenced in messages

Era.Common.DataDefinition.Reports.Report_Data_Column_Header
Era.Common.DataDefinition.Symbol.SymbolDefinition

JsonSchema

{
    "title": "Era.Common.DataDefinition.Reports.Tendency",
    "type": "object",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "required": [
        "Era.Common.DataDefinition.Reports.Tendency"
    ],
    "properties": {
        "Era.Common.DataDefinition.Reports.Tendency": {
            "$ref": "#/definitions/Tendency"
        }
    },
    "definitions": {
        "Tendency": {
            "additionalProperties": false,
            "required": [
                "type"
            ],
            "type": "object",
            "properties": {
                "inverted": {
                    "type": "boolean"
                },
                "type": {
                    "enum": [
                        0,
                        1,
                        2,
                        3,
                        4,
                        5
                    ]
                }
            }
        }
    }
}