Online "Book Flights" facility for an airline
Rule Taxonomy
- Cardinality rules (operative): data must be present or absent, and/or is restricted in terms of the number of instances.
- Mandatory data rules: one or more data items are required in a particular context.
- Mandatory data item rules: a particular single data item must be present.
- Mandatory option selection rules: one of a set of pre-defined options must be specified.
- Mandatory group rules: at least one of a group of data items must be present.
- Prohibited data rules: a particular data item is not allowed in a particular context.
- Singular data rules: only one instance of a particular data item is allowed in a particular context.
- Dependent cardinality rules: the number of instances of a data item depends on some other data, as in rule statement RS25.
- Data content rules: data is constrained to certain values.
- Value set rules: a data item (or combination of data items) must have a value from a discrete set.
- Match rules (operative): a data item must be the same as or different to some other data item.
- Range rules: a data item must have a value from within a continuous range.
- Uniqueness constraints: a data item (or combination of data items) must be different to other instances of the same data item.
- Set constraints (operative): a set of data items must be the same as some other set of data items.
- Data consistency rules: two or more data items must be consistent with each other (other than catered for by a match rule).
- Temporal data rules: one or more temporal data items are in some way constrained.
- Temporal data non-overlap constraints: the time periods specified in a set of records do not overlap each other,
- Temporal data completeness constraints: the time periods specified in a set of records are contiguous and between them completely span some other time period,
- Temporal data inclusion constraints: the time periods specified in a set of records do not fall outside some other time period,
- Temporal single record constraints: a temporal state of affairs be recorded using a single record rather than multiple records.
- Data item format rules: a data item must have a particular format.
- Process rules: occurrences of a process are constrained.
- Inter-process interval rules: an occurrence of a process is constrained as to when it can occur before or after another occurrence of the same process or an occurrence of another process.
- Prerequisite process rules: a process may only occur if some other process has previously occurred.
- Other process pre-conditions: a process may only occur if some condition (other than the occurrence of a process) has been met.
- Party rules: some parties or roles are prohibited from performing some process or activity or playing some role.
- Party restriction rules: there are restrictions on who can perform some process or activity or play some role, based on age, some other physical characteristic or capability, or appropriate training and testing in the appropriate skills.
- Role separation rules: there is separation of responsibilities, in that the same person is prohibited from performing two particular activities.
- Role binding rules: the person performing the second of two activities must be the person who performed the first of those activities.
- Structural (definitional) rules: there are constraints on the structure or definition of a business object of a particular type.
- General definitional rules: provide for a formal definition of a term.
- Cardinality rules (structural): there are constraints on the number of components of a particular type in a business object of a particular type, as in rule statements RS117 and RS118.
- Match rules (structural): structural equivalents of operative match rules.
- Set constraints (structural): structural equivalents of operative set constraints.
- Data type definition rules: there are common constraints on the structure or definition of data items of a particular type.