##############################################################################
#                                                                            #
#                 DDL1 DEFINITIONS USED FOR TESTING PURPOSES                 #
#                 ------------------------------------------                 #
#                                                                            #
# This dictionary purposely contains improper related item definitions.      #
##############################################################################

data_on_this_dictionary
    _dictionary_name            unrecognised_related_item.dic
    _dictionary_version         0.0.1
    _dictionary_update          2019-05-29
    _dictionary_history
;
 2019-05-29 Created the dictionary.
;

data_test_related_item_[]
_name                      '_test_related_item_[]'
_category                    category_overview
_type                        null
_definition
;
 Category that holds all of the test data items.
;

data_test_related_item_referenced_item
_name                      '_test_related_item_referenced_item'
_category                    test_related_item
_type                        char
_definition
;
 Data item that is referenced by other data items.
;

data_test_related_item_referenced_item_group_
loop_
_name
'_test_related_item_referenced_item_group_1'
'_test_related_item_referenced_item_group_2'
'_test_related_item_referenced_item_group_3'
_category                    test_related_item
_type                        char
_definition
;
 Data item that is referenced by other data items.
;

data_test_related_item_proper_ref
_name                      '_test_related_item_proper_ref'
_category                    test_related_item
_type                        char
loop_
_related_item
_related_function
'_test_related_item_referenced_item' replace
_definition
;
 Data item which properly references related items.
;

data_test_related_item_improper_ref
_name                      '_test_related_item_improper_ref'
_category                    test_related_item
_type                        char
loop_
_related_item
_related_function
'_unrecognised_data_name' replace
_definition
;
 Data item that references an unrecognised related data item.
;

data_test_related_item_external_ref
_name                      '_test_related_item_external_ref'
_category                    test_related_item
_type                        char
loop_
_related_item
_related_function
'_test_external_category_item' replace
_definition
;
 Data item that references two related data items. One data item belongs
 to the same dictionary while the other belongs to an external dictionary. 
;

data_test_related_item_group_ref
_name                      '_test_related_item_group_ref'
_category                    test_related_item
_type                        char
loop_
_related_item
_related_function
'_test_related_item_referenced_item_group_' replace
_definition
;
 Data item that references two related data items. One data item belongs
 to the same dictionary while the other belongs to an external dictionary. 
;

data_test_related_item_self_ref
loop_
_name
'_test_related_item_self_ref'
'_test_related_item_self_ref_alt'
_category                    test_related_item
_type                        char
loop_
_related_item
_related_function
'_test_related_item_self_ref_alt' replace
_definition
;
 Data item that references itself as a related item.
;

data_test_related_item_self_group_ref_
loop_
_name
'_test_related_item_self_group_ref_1'
'_test_related_item_self_group_ref_2'
_category                    test_related_item
_type                        char
loop_
_related_item
_related_function
'_test_related_item_self_group_ref_' replace
_definition
;
 Data item that references itself as a related item.
;
