◷ Reading Time: 1 minute
Glossary
A glossary is a dictionary that defines all of the business terms and their domains. Or it references a Glossary source within other rule documents.
Parameters
- name
- Description: Sets the name for a glossary to reference
- Mandatory: Yes (when it is the container for defining Terms)
- Type: String
Internal Commands
Term, GlossarySource
Sample
<Glossary name="Rating">
<Term name="Price" expression="car.Price" domain="Numeric" />
<Term name="Car is listed in HTPA" expression="probList.Contains(car.Made+'-'+car.Model)" domain="Boolean" />
<Term name="Theft Rating" expression="car.TheftCategory=$value" domain="Options">
<Option value="High" />
<Option value="Low" />
<Option value="Moderate" />
</Term>
<Term name="Car is Convertible" expression="car.Convertible" domain="Boolean" />
</Glossary>