#\#CIF_2.0
##########################################################################
#                                                                        #
#  A DDLm dictionary used for software testing. Focuses mainly on        #
#  definitions with enumeration values.                                  #
#                                                                        #
##########################################################################
data_test_enum_dic

_dictionary.title                       test_enum_dic
_dictionary.class                       Instance
_dictionary.version                     1.0.0
_dictionary.date                        2017-06-10
_dictionary.uri                         www.iucr.org/cif/dic/cif_core.dic
_dictionary.ddl_conformance             3.11.11
_dictionary.namespace                   test_enum_dic
_description.text
; A DDLm dictionary used for software testing. Focuses mainly on definitions
  with enumeration values.
;

save_TEST_ENUM_HEAD
_definition.id                          TEST_ENUM_HEAD
_definition.scope                       Category
_definition.class                       Head
_definition.update                      2018-12-18
_description.text
;
 The TEST_ENUM_HEAD category acts as the head category of the dictionary.
;
_name.category_id                       TEST_ENUM_DIC
_name.object_id                         TEST_ENUM_HEAD
save_

save_TEST_ENUM
_definition.id                          TEST_ENUM
_definition.scope                       Category
_definition.class                       Set
_definition.update                      2018-12-18
_description.text
;
 Data items in the TEST_ENUM category are intended to be used only for
 the software testing purposes.
;
_name.category_id                       TEST_ENUM_HEAD
_name.object_id                         TEST_ENUM
save_

save_test_enum.matching_values
_definition.id                          '_test_enum.matching_values'
_definition.update                      2018-12-18
_description.text
;
 Enumeration values defined by this data item match both in
 the DDL1 and in the DDLm dictionaries.
;
_name.category_id                       test_enum
_name.object_id                         matching_values
_type.purpose                           State
_type.source                            Assigned
_type.container                         Single
_type.contents                          Text
loop_
_enumeration_set.state
z
Z
42
3.1415
save_

save_test_enum.mismatching_values
_definition.id                          '_test_enum.mismatching_values'
loop_
_alias.definition_id
'_test_enum.aliased_mismatching_values'
_definition.update                      2018-12-18
_description.text
;
 Some of the enumeration values defined by this data item are unique
 to either DDL1 or DDLm version of the dictionary.
;
_name.category_id                       test_enum
_name.object_id                         mismatching_values
_type.purpose                           State
_type.source                            Assigned
_type.container                         Single
_type.contents                          Text
loop_
_enumeration_set.state
3c
4d
5e
6f
7g
save_

save_test_enum.DDL1_values_only
_definition.id                          '_test_enum.DDL1_values_only'
_definition.update                      2018-12-18
_description.text
;
 This data item contains enumeration values only in the DDL1 dictionary.
;
_name.category_id                       test_enum
_name.object_id                         DDL1_values_only
_type.purpose                           Describe
_type.source                            Assigned
_type.container                         Single
_type.contents                          Text
save_

save_test_enum.DDLm_values_only
_definition.id                          '_test_enum.DDLm_values_only'
_definition.update                      2018-12-18
_description.text
;
 This data item contains enumeration values only in the DDLm dictionary.
;
_name.category_id                       test_enum
_name.object_id                         DDLm_values_only
_type.purpose                           State
_type.source                            Assigned
_type.container                         Single
_type.contents                          Text
loop_
_enumeration_set.state
'This'
'Is'
'Just'
'A'
'Placeholder'
save_

save_test_enum.no_values
_definition.id                          '_test_enum.no_values'
_definition.update                      2018-12-18
_description.text
;
 This data does not contain enumeration values neither in the DDL1 nor in
 the DDLm dictionary.
;
_name.category_id                       test_enum
_name.object_id                         no_values
_type.purpose                           Describe
_type.source                            Assigned
_type.container                         Single
_type.contents                          Text
save_
