RESULT LIST FORMAT

<< Click to Display Table of Contents >>

Navigation:  Support > Reconfigurable Rulebook > Definition Types >

RESULT LIST FORMAT

Description

A RESULT LIST FORMAT describes how to convert a Result List into an intermediate format, defined by columns and rows, for displaying on a screen. The resulting intermediate format is implementation independent, meaning it doesn't know if it will be displayed on a computer screen, mobile phone, or a drawing on the wide of the wall. The columns are programmable, and can be hidden or shown based on a number of factors including screen width, Result List status, or the type of match. Each row represents on ResultEvent from the ResultList.

Definition

The RESULT LIST FORMAT definition includes the Common Properties.

Property Name

Type

Description

ScoreFormatCollectionDef

String, formatted as a SetName

The set name of the ScoreFormatCollection to use when formatting score results.

 

Not required. Defaults to v1.0:orion:Standard Score Formats.

ScoreConfigDefault

String

The ScoreConfigName to use if one is not specified by the Result List.

 

Not required. Defaults to the first ScoreConfigName listed in the SCORE FORMAT COLLECTION.

Fields

List of ResultListFields

A ResultListField describes data that will be displayed in the Resut List Intermediate Format. It specifies where the data will come from.

 

Not required. Defaults to an empty list.

Format

ResultListFormatDetail

Describes the columns, rows, and cells of the Result List Format's commpiled intermediate format.

 

Required.

Example

{

    "ScoreConfigDefault": "Integer",

    "Discontinued": false,

    "Discipline": "RIFLE",

    "Fields": [

        {

            "FieldName": "Aggregate",

            "Source": {

                "ScoreFormat": "Events",

                "Name": "Qualification"

            },

            "Method": "Score"

        },

        {

            "FieldName": "Kneeling",

            "Source": {

                "ScoreFormat": "Events",

                "Name": "Kneeling"

            },

            "Method": "Score"

        },

        {

            "FieldName": "Prone",

            "Source": {

                "ScoreFormat": "Events",

                "Name": "Prone"

            },

            "Method": "Score"

        },

        {

            "FieldName": "Standing",

            "Source": {

                "ScoreFormat": "Events",

                "Name": "Standing"

            },

            "Method": "Score"

        },

        {

            "FieldName": "Gap",

            "Source": {

                "ScoreFormat": "Gap",

                "Value": 1,

                "Name": "Qualification"

            },

            "Method": "Gap"

        }

    ],

    "Description": "Result List Format display file for a 3P individual competition, using K-P-S formatting.",

    "JSONVersion": "2020-03-31",

    "SetName": "v1.0:test:3P Qualification",

    "Type": "RESULT LIST FORMAT",

    "Tags": [],

    "HierarchicalName": "test:3P Qualification",

    "Format": {

        "Columns": [

{

    "Header": "Rank",

    "ClassList": [

        "rlf-col-rank"

    ],

    "Body": "{Rank}",

    "ShowWhen" : {

        "Operation" : "VARIABLE",

        "Condition" : "TRUE",

        "Not" : false

    }

},

{

    "ClassList": [

        "rlf-col-profile"

    ],

    "BodyLinkTo": "PublicProfile",

    "ShowWhen" : {

        "Operation" : "VARIABLE",

        "Condition" : "ENGAGEABLE",

        "Not" : false

    }

},

{

    "BodyLinkTo": "ResultCOF",

    "Header": "Athlete",

    "ClassList": [

        "rlf-col-participant"

    ],

    "Body": "{DisplayName}",

    "ShowWhen" : {                        

        "Operation" : "VARIABLE",

        "Condition": "DIMENSION_LARGE" ,

        "Not" : false                        

    }

},

{

    "BodyLinkTo": "ResultCOF",

    "Header": "Athlete",

    "ClassList": [

        "rlf-col-participant"

    ],

    "Body": "{DisplayNameAbbreviated}",

    "ShowWhen" : {                        

        "Operation" : "VARIABLE",

        "Condition": "DIMENSION_LARGE" ,

        "Not" : true                        

    }

},

{

    "BodyLinkTo": "None",

    "Header": "Location",

    "ClassList": [

        "rlf-col-matchinfo"

    ],

    "Body": "{MatchLocation}",

    "Child" : "{Empty}",

    "ShowWhen" : {

        "Operation" : "EQUATION",

        "Boolean" : "AND",

        "Arguments" : [

            {

                "Operation" : "VARIABLE",

                "Condition": "MATCH_TYPE_VIRTUAL" ,

                "Not" : false

            },

            {

                "Operation" : "VARIABLE",

                "Condition": "DIMENSION_LARGE" ,

                "Not" : false

            }

        ],

        "Not" : false

    }

},

{

    "BodyLinkTo": "None",

    "Header": "Kneeling",

    "ClassList": [

        "rlf-col-stage"

    ],

    "Body": "{Kneeling}",

    "ShowWhen" : {                        

        "Operation" : "VARIABLE",

        "Condition": "DIMENSION_MEDIUM" ,

        "Not" : false                        

    }

},

{

    "BodyLinkTo": "None",

    "Header": "Prone",

    "ClassList": [

        "rlf-col-stage"

    ],

    "Body": "{Prone}",

    "ShowWhen" : {                        

        "Operation" : "VARIABLE",

        "Condition": "DIMENSION_MEDIUM" ,

        "Not" : false                        

    }

},

{

    "BodyLinkTo": "None",

    "Header": "Standing",

    "ClassList": [

        "rlf-col-stage"

    ],

    "Body": "{Standing}",

    "ShowWhen" : {                        

        "Operation" : "VARIABLE",

        "Condition": "DIMENSION_MEDIUM" ,

        "Not" : false                        

    }

},

{

    "BodyLinkTo": "None",

    "Header": "Aggregate",

    "ClassList": [

        "rlf-col-event"

    ],

    "Body": "{Aggregate}",

    "ShowWhen" : {

        "Operation" : "VARIABLE",

        "Condition" : "TRUE",

        "Not" : false

    }

},

{

    "Header": "DFL",

    "ClassList": [

        "rlf-col-gap"

    ],

    "Body": "{Gap}",

    "ShowWhen" : {

        "Operation" : "EQUATION",

        "Boolean" : "OR",

        "Arguments" : [

            {

                "Operation" : "VARIABLE",

                "Condition": "RESULT_STATUS_INTERMEDIATE" ,

                "Not" : false

            },

            {

                "Operation" : "VARIABLE",

                "Condition": "RESULT_STATUS_UNOFFICIAL" ,

                "Not" : false

            }

        ],

        "Not" : false

    }

}

        ],

        "Display": {

            "Footer": {

                "ClassList": [

                    "rlf-row-footer"

                ]

            },

            "Children": {

                "ClassList": [

                    "rlf-row-child"

                ]

            },

            "Header": {

                "ClassList": [

                    "rlf-row-header"

                ]

            },

            "Body": {

                "ClassList": [

                    "rlf-row-athlete"

                ]

            }

        },

        "DisplayForTeam": {

            "Footer": {

                "ClassList": [

                    "rlf-row-footer"

                ]

            },

            "Children": {

                "ClassList": [

                    "rlf-row-child"

                ]

            },

            "Header": {

                "ClassList": [

                    "rlf-row-header"

                ]

            },

            "Body": {

                "ClassList": [

                    "rlf-row-team"

                ]

            }

        }

    },

    "Owner": "OrionAcct000001",

    "Version": "1.15"

}


 

Note:

The Reconfigurable Rulebook and functionality will be implemented with the release of Orion Scoring System v. 3.0 (TBA)