MasterAgreementVariableSet
Type CDM 7.2.0Defines a type where additional variables associated to clauses and their variants can be described.
Extends —
Extended by —
Attributes 3
Namespace cdm.legaldocumentation.master
Attributes
All 3 declared on MasterAgreementVariableSet. Cardinality in amber is required.
| Name | Type | Card. | Description |
|---|---|---|---|
| variableSet | MasterAgreementVariableSet | 0..* | For some variants a table of variables is required. To support this use case we need to be able to specify variables within variables. Including a variable set here gives us infinite nesting opportunities - realistically we are only ever expecting that a table would need to be defined for any particular clause, so we would expect two levels of nesting as a maximum i.e. variableSet->variableSet->name/value. |
| name | string | 0..1 | The name of the variable. |
| value | string | 0..1 | The value for this variable. |
Conditions
Validation rules the model enforces on this type, in Rune. An instance that breaks one of these is invalid CDM, whatever produced it.
VariableSetExists Condition
If we have a variableSet then we must not have any name/value pairs at this level.
if variableSet exists then name is absent and value is absent VariableSetNesting Condition
We are only allowing two levels of nesting of variableSet for the time being. This is because we only need to support tables of data in the master agreement variants. This condition can be modified or deleted if we find we need more levels of nesting.
if variableSet -> variableSet exists
then variableSet -> variableSet -> variableSet is absent NameMustExist Condition
If we have a name then we must also have a value.
if name exists then value exists ValueMustExist Condition
If we have a value then we must also have a name.
if value exists then name exists Referenced by
2 types hold a MasterAgreementVariableSet as an attribute.
Open MasterAgreementVariableSet in the Model Browser
Walk the tree and the reference graph interactively, and switch releases to see how the type has changed. Free, no signup.