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

data_on_this_dictionary
    _dictionary_name            unrecognised_parent_item.dic
    _dictionary_version         0.0.1
    _dictionary_update          2019-05-09
    _dictionary_history
;
 2019-05-09 Created the dictionary.
;

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

data_test_child_link_child_item_1
_name                      '_test_child_link_child_item_1'
_category                    test_child_link
_type                        char
_list                        yes
_list_link_parent          '_test_child_link_proper_parent_item'
_definition
;
 Data item which serves as a child reference item.
;

data_test_child_link_child_item_2
_name                      '_test_child_link_child_item_2'
_category                    test_child_link
_type                        char
_list                        yes
_list_link_parent          '_test_child_link_proper_parent_item'
_definition
;
 Data item which serves as a child reference item.
;

data_test_child_link_child_item_
loop_
_name
'_test_child_link_child_item_a'
'_test_child_link_child_item_b'
_category                    test_child_link
_type                        char
_list                        yes
_list_link_parent          '_test_child_link_same_block_proper_parent_item'
_definition
;
 Data item which serves as a child reference item and has several data names.
;

data_test_child_link_proper_parent_item
_name                      '_test_child_link_proper_parent_item'
_category                    test_child_link
_type                        char
_list                        yes
loop_
_list_link_child
'_test_child_link_child_item_1'
'_test_child_link_child_item_2'
_definition
;
 Data item that has proper references to two child data items.
 Child data items are defined using separate data blocks.
;

data_test_child_link_same_block_proper_parent_item
_name                      '_test_child_link_same_block_proper_parent_item'
_category                    test_child_link
_type                        char
_list                        yes
loop_
_list_link_child
'_test_child_link_child_item_a'
'_test_child_link_child_item_b'
_definition
;
 Data item that has proper references to two child data items.
 Both child data items are defined using the same data block.
;

data_test_child_link_parent_item_type_mismatch
_name                      '_test_child_link_parent_item_type_mismatch'
_category                    test_child_link
_type                        numb
_list                        yes
loop_
_list_link_child
'_test_child_link_child_item_type_mismatch'
_definition
;
 Data item that properly references a child data item, but has
 a data type that differs from the child data type.
;

data_test_child_link_child_item_type_mismatch
_name                      '_test_child_link_child_item_type_mismatch'
_category                    test_child_link
_type                        char
_list                        yes
_definition
;
 A parent data item that has a data type that does not match the child
 data type.
;

data_test_child_link_improper_parent_item
_name                      '_test_child_link_improper_parent_item'
_category                    test_child_link
_type                        char
_list                        yes
loop_
_list_link_child
'_test_child_link_child_item_c'
'_test_child_link_child_item_3'
_definition
;
 Data item that has two references to child data items.
 The first reference is a proper one.
 The second reference is an improper one. 
;

data_test_child_link_child_item_c
_name                      '_test_child_link_child_item_c'
_category                    test_child_link
_type                        char
_list                        yes
_list_link_parent          '_test_child_link_improper_parent_item'
_definition
;
 Data item which serves as a child reference item.
;

data_test_child_link_child_item_self
_name                       '_test_child_link_child_item_self'
_category                    test_child_link
_type                        char
_list                        yes
_list_link_child            '_test_child_link_child_item_self'
_definition
;
 Data item that references itself as its own child data item.
;
