AVData

<< Click to Display Table of Contents >>

Navigation:  Support > Reconfigurable Rulebook > Definition Objects >

AVData

Description

A member of the ATTRIBUTE VALUE definition, AVData 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.

Attribute

{

  "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 Value

{

  "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 implemented with the release of Orion Scoring System v. 3.0 (TBA)