#\#CIF_2.0
##############################################################################
#                                                                            #
#                 FAULTY DICTIONARY FOR TESTING PURPOSES                     #
#                                                                            #
##############################################################################
data_FAULTY_DIC

    _dictionary.title            FAULTY_DIC
    _dictionary.class            Reference
    _dictionary.version          0.0.1
    _dictionary.date             2017-06-12
    _dictionary.uri              http://www.faulty.org/faulty.dic
    _dictionary.ddl_conformance  3.11.10
    _dictionary.namespace        FaultyDic
    _description.text
;
    This dictionary contains faulty definitions for validator testing purposes.
;
    loop_
    _dictionary_audit.version
    _dictionary_audit.date
    _dictionary_audit.revision
    0.0.1 2017-06-12 'Creating the dictionary'

save_FAULTY_PARENT
    _definition.id               FAULTY_PARENT
    _definition.scope            Category
    _definition.class            Head
    _definition.update           2017-06-12
    _description.text
;
     This category is parent of all other categories in the FAULTY_DIC
     dictionary.
;
    _name.category_id            FAULTY_DIC
    _name.object_id              FAULTY_PARENT
save_

save_FAULTY_RELATION_CATEGORY

    _definition.id               FAULTY_RELATION_CATEGORY
    _definition.scope            Category
    _definition.class            Set
    _definition.update           2018-04-08
    _description.text
;
    The category that contains definitions with faulty relationships between
    data items.
;
    _name.category_id            FAULTY_PARENT
    _name.object_id              FAULTY_RELATION_CATEGORY
save_

save_faulty_relation_category.linked_su
    _definition.id               '_faulty_relation_category.linked_su'
    _definition.scope            Item
    _definition.class            Attribute
    _definition.update           2018-04-08
    _description.text
;
     An SU data item that links to a non-existent data item definition.
;
    _description.common          'non-existent SU link'
    _name.category_id            faulty_relation_category
    _name.object_id              linked_su
    _name.linked_item_id         '_faulty_relation_category.strange_link'
    _type.purpose                SU
    _type.source                 Assigned
    _type.container              Single
    _type.contents               Real
save_

save_FAULTY_RELATION_CATEGORY_LOOPED

    _definition.id               FAULTY_RELATION_CATEGORY_LOOPED
    _definition.scope            Category
    _definition.class            Loop
    _definition.update           2018-04-08
    _description.text
;
    The category that contains definitions with faulty relationships between
    looped data items.
;
    _name.category_id            FAULTY_PARENT
    _name.object_id              FAULTY_RELATION_CATEGORY_LOOPED
    _category.key_id             '_faulty_relation_category_looped.id'
    _category_key.name           '_faulty_relation_category_looped.id'
save_

save_faulty_relation_category_looped.id
    _definition.id               '_faulty_relation_category_looped.id'
    _definition.scope            Item
    _definition.class            Attribute
    _definition.update           2018-04-08
    _description.text
;
     Value is a unique key to a set of FAULTY_RELATION_CATEGORY_LOOPED items
     in a looped list
;
    _description.common          'category key'
    _name.category_id            faulty_relation_category_looped
    _name.object_id              id
    _type.purpose                Key
    _type.source                 Assigned
    _type.container              Single
    _type.contents               Index
save_

save_faulty_relation_category_looped.link_item
    _definition.id               '_faulty_relation_category_looped.link_item'
    _definition.scope            Item
    _definition.class            Attribute
    _definition.update           2018-04-08
    _description.text
;
     An SU data item that links to a non-existent data item definition.
;
    _description.common          'non-existent looped link'
    _name.category_id            faulty_relation_category_looped
    _name.object_id              link_item
    _name.linked_item_id         '_faulty_relation_category_looped.main_item'
    _type.purpose                Link
    _type.source                 Assigned
    _type.container              Single
    _type.contents               Real
save_
