As with Other Dynamic Evidence Rule Set types, Dynamic Evidence has certain expectations for the required structure of Calculated Attributes Rule Sets in terms of the Rule Classes and Attributes that they should contain. As such, the following restrictions are enforced on such Rule Sets:
- The Calculated Attributes Rule Set must contain one Concrete Rule Class which extends from the DefaultCalculatedAttributes Rule Class in the EvidenceCalculatedAttributesRuleSet Rule Set.
- This Rule Class must contain a Rule Attribute named "evidence". The type of this Rule Attribute must be the generated Processing Rule Class and the derivation of this Attribute should use the "specified" expression. The "specified" expression is the default derivation when an Attribute is defined in the CER Editor. So, for example, if the logical name of a Dynamic Evidence Type is "Alien", a Rule Set named "AlienRuleSet" with a Rule Class named "Alien" will be generated. As such, the concrete Rule Class in the Calculated Rule Set for this Dynamic Evidence Type must contain an Attribute named "evidence" whose type is the "Alien" Rule Class in the "AlienRuleSet".
- This Rule Class must contain a Rule Attribute corresponding to each Calculated Attribute defined in the Dynamic Evidence Type Version. The name and type of these Rule Attributes must match those of the corresponding Calculated Attribute.