#\#CIF_2.0
##############################################################################
#                                                                            #
#      TEST DICTIONARY THAT TEST CONSTRAINTS IMPOSED ON CONTAINER TYPES      #
#                                                                            #
##############################################################################
data_TEST_CONTAINER_TYPE_DIC
_dictionary.title            TEST_CONTAINER_TYPE_DIC
_dictionary.class            Instance
_dictionary.version          1.0.0
_dictionary.date             2023-11-11
_dictionary.uri              https://www.example.com/test_container_type.dic
_dictionary.ddl_conformance  4.1.0
_dictionary.namespace        SoftwareTest
_description.text
;
 This dictionary purposely contains incorrectly assigned container types.
;
loop_
_dictionary_audit.version
_dictionary_audit.date
_dictionary_audit.revision
1.0.0 2023-11-11 'Initial release of the dictionary.'

save_TEST_CONTAINER_TYPE_HEAD

_definition.id               TEST_CONTAINER_TYPE_HEAD
_definition.scope            Category
_definition.class            HEAD
_definition.update           2023-11-11
_description.text
;
 The HEAD category of the dictionary.
;
_name.category_id            TEST_CONTAINER_TYPE_DIC
_name.object_id              TEST_CONTAINER_TYPE_HEAD

save_

save_TEST_CONTAINER

    _definition.id               TEST_CONTAINER
    _definition.scope            Category
    _definition.class            Set
    _definition.update           2023-11-11
    _description.text
;
    Category that contains all of the tested items.
;
    _name.category_id            TEST_CONTAINER_TYPE_HEAD
    _name.object_id              TEST_CONTAINER

save_

save_test_container.valid_matrix_integer

    _definition.id               '_test_container.valid_matrix_integer'
    _definition.scope            Item
    _definition.class            Datum
    _definition.update           2023-11-11
    _description.text
;
    Data item that has a numeric data type ('Integer') which is compatible with
    the 'Matrix' container.
;
    _name.category_id            test_container
    _name.object_id              valid_matrix_integer
    _type.purpose                Describe
    _type.source                 Assigned
    _units.code                  None
    _type.container              Matrix
    _type.dimension              '[]'
    _type.contents               Integer

save_

save_test_container.valid_matrix_real

    _definition.id               '_test_container.valid_matrix_real'
    _definition.scope            Item
    _definition.class            Datum
    _definition.update           2023-11-11
    _description.text
;
    Data item that has a numeric data type ('Real') which is compatible with
    the 'Matrix' container.
;
    _name.category_id            test_container
    _name.object_id              valid_matrix_real
    _type.purpose                Describe
    _type.source                 Assigned
    _units.code                  None
    _type.container              Matrix
    _type.dimension              '[]'
    _type.contents               Real

save_

save_test_container.valid_matrix_imag

    _definition.id               '_test_container.valid_matrix_imag'
    _definition.scope            Item
    _definition.class            Datum
    _definition.update           2023-11-11
    _description.text
;
    Data item that has a numeric data type ('Imag') which is compatible with
    the 'Matrix' container.
;
    _name.category_id            test_container
    _name.object_id              valid_matrix_imag
    _type.purpose                Describe
    _type.source                 Assigned
    _units.code                  None
    _type.container              Matrix
    _type.dimension              '[]'
    _type.contents               Imag

save_

save_test_container.valid_matrix_complex

    _definition.id               '_test_container.valid_matrix_complex'
    _definition.scope            Item
    _definition.class            Datum
    _definition.update           2023-11-11
    _description.text
;
    Data item that has a numeric data type ('Complex') which is compatible with
    the 'Matrix' container.
;
    _name.category_id            test_container
    _name.object_id              valid_matrix_complex
    _type.purpose                Describe
    _type.source                 Assigned
    _units.code                  None
    _type.container              Matrix
    _type.dimension              '[]'
    _type.contents               Complex

save_

save_test_container.invalid_matrix_text

    _definition.id               '_test_container.invalid_matrix_text'
    _definition.scope            Item
    _definition.class            Datum
    _definition.update           2023-11-11
    _description.text
;
    Data item that has a non-numeric data type ('Text') which is incompatible
    with the 'Matrix' container.
;
    _name.category_id            test_container
    _name.object_id              invalid_matrix_text
    _type.purpose                Describe
    _type.source                 Assigned
    _type.container              Matrix
    _type.dimension              '[]'
    _type.contents               Text

save_
