#\#CIF_2.0
##############################################################################
#                                                                            #
#            TEST TEMPLATE DICTIONARY WITH PROHIBITED ATTRIBUTES             #
#                                                                            #
##############################################################################
data_TEST_TEMPL_DIC

    _dictionary.title            TEST_TEMPL_DIC
    _dictionary.class            Template
    _dictionary.version          1.0.0
    _dictionary.date             2023-11-13
    _dictionary.uri              https://www.example.com/template.cif
    _dictionary.ddl_conformance  4.2.0
    _description.text
;
     This dictionary contains definition attribute sets that are common
     to other CIF dictionaries and is imported by them.
;

#---------------------------------------------------------------------------

save_permitted_attributes

    _definition.update           2023-11-13
    _description.text
;
    Save frame that contains only the permitted attributes.
;
    _type.purpose                Describe
    _type.source                 Assigned
    _type.container              Single
    _type.contents               Text
     loop_
    _description_example.case   a b c d

save_

save_forbidden_attributes_definition_id

    _definition.id               '_forbidden_attributes_definition.id'

    _definition.update           2023-11-13
    _description.text
;
    Save frame that contains the _definition.id attribute which is not
    permitted to appear in template dictionaries.
;
    _type.purpose                Describe
    _type.source                 Assigned
    _type.container              Single
    _type.contents               Text

save_

save_forbidden_attributes_name_category_id

    _name.category_id            FORBIDDEN_ATTRIBUTES

    _definition.update           2023-11-13
    _description.text
;
    Save frame that contains the _name.category_id attribute which is not
    permitted to appear in template dictionaries.
;
    _type.purpose                Describe
    _type.source                 Assigned
    _type.container              Single
    _type.contents               Text

save_

save_forbidden_attributes_name_object_id

    _name.object_id              object_name

    _definition.update           2023-11-13
    _description.text
;
    Save frame that contains the _name.category_id attribute which is not
    permitted to appear in template dictionaries.
;
    _type.purpose                Describe
    _type.source                 Assigned
    _type.container              Single
    _type.contents               Text

save_

save_several_forbidden_attributes

    _definition.id               '_forbidden_attributes_definition.id'
    _name.category_id            forbidden_attributes_definition
    _name.object_id              id
    
    _definition.update           2023-11-13
    _description.text
;
    Save frame that contains the _name.category_id attribute which is not
    permitted to appear in template dictionaries.
;
    _type.purpose                Describe
    _type.source                 Assigned
    _type.container              Single
    _type.contents               Text

save_

    loop_
      _dictionary_audit.version
      _dictionary_audit.date
      _dictionary_audit.revision
         1.0.0                    2023-11-13
;
       Initial release of the dictionary.
;
