<< Click to Display Table of Contents >> Navigation: Support > Reconfigurable Rulebook > Definition Types > ATTRIBUTE VALUE |
Description
Attribute Value are dictionaries that store name (key) value pairs, containing the data from an ATTRIBUTE.
Definition
The Name and Type of data stored in AVData is based on the definition of the corresponding ATTRIBUTE.
Attribute Name |
Type |
Description |
The 'name' refers to the FieldName from the corresponding ATTRIBUTE's Field list. |
string |
Required. |
The 'value' is the value assigned to this FieldName. |
The data type is the ValueType as specified in the AttributeField. |
Validation rules, and default values are specified in the AttributeField. Required. |
Example
{
"SetName" : "v1.0:orion:Air Rifle Type",
"HierarchicalName" : "orion:Air Rifle Type",
"DisplayName" : "Air Rifle Type",
"Version": "1.1",
"Type" : "ATTRIBUTE",
"Owner" : "OrionAcct000001",
"Fields" : [
{
"FieldName" : "Three-Position Air Rifle Type",
"ValueType" : "STRING",
"FieldType" : "CLOSED",
"DefaultValue" : "Sporter",
"Values" : [
{
"Name" : "Sporter",
"Value" : "Sporter",
},
{
"Name" : "Precision",
"Value" : "Precision"
}
]
}
]
}
{
"attribute-def" : "v1.0:orion:Simple Email",
"attribute-value" :
{ "Three-Position Air Rifle Type" : "Precision" }
"visibility" : "PRIVATE"
}
Note:
The Reconfigurable Rulebook and functionality will be fully implemented in the 3.0 release of Orion Scoring System. Athena and Rezults both 100% implement the Reconfigurable Rulebook.