<< Click to Display Table of Contents >> Navigation: Support > Reconfigurable Rulebook > Definition Types > ATTRIBUTE |
An Attribute is a property that helps describes a participant in a match. For example the type of rifle a participant is using (e.g. Sporter vs Precision air rifle) or an age group the participant is a member of (e.g. Junior, Open, Senior).
Attributes are highly configurable. Each Attribute will have one or more fields. Each field may be configured to be any value the user types in, a value from a pre-configured list, or a combination.
There are two types of Attributes. Attributes that rely on user input (described below) and Derived Attributes that get their value from one or more other attributes. An example of a Derived Attribute is an age group that gets its value from an athlete’s date of birth.
An Attribute Value represents the data that is stored.
A ‘Simple Attribute’ is a special type of Attribute. It is when MultipleValues is false, there is only one AttributeField in Fields, and that one AttributeField has MultipleValues set to false.
The ATTRIBUTE definition includes the Common Properties.
Property Name |
Type |
Description |
DisplayName |
string |
In applications where ATTRIBUTE VALUEs are set, this is the name given to the ATTRIBUTE that is displayed to the user. Not required. The default value is the Proper Name portion of the HierarchicalName value. |
Fields |
List of AttributeField |
A list of AttributeFields that describe the make-up of this ATTRIBUTE. Required, and must have at least one AttributeField object in the list. |
Designation |
List of strings formatted as Designation |
The type of participant, teams, or clubs that this Attribute may be applied to. Field is not required. however if it is not included all designations, except HIDDEN, are assumed. |
MultipleValues |
boolean |
Indicates if multiple field values may be assigned in the resulting ATTRIBUTE VALUEs. Not required, Default if false. |
MaxVisibility |
String formatted as a Privacy |
The maximum visibility the user can set for the ATTRIBUTE VALUE. Not required. Default is PRIVATE |
DefaultVisibility |
String formatted as a Privacy |
The default visibility for a new ATTRIBUTE VALUE. Must be a Privacy value equal to or greater than the MaxVisibility. Not required. Default is the value from MaxVisibility. |
Note:
The Reconfigurable Rulebook and functionality will be implemented with the release of Orion Scoring System v. 3.0 (TBA)