#\#CIF_2.0
##############################################################################
#                                                                            #
#               LINKED ITEM DICTIONARY FOR TESTING PURPOSES                  #
#                                                                            #
##############################################################################
data_LINKED_DIC

    _dictionary.title            LINKED_DIC
    _dictionary.class            Instance
    _dictionary.version          0.0.1
    _dictionary.date             2017-07-15
    _dictionary.uri              http://www.linked.org/linked.dic
    _dictionary.ddl_conformance  3.11.10
    _dictionary.namespace        LinkedDic
    _description.text
;
    This dictionary contains definitions of data items with the
    _name.linked_item_id property for validator testing purposes.
;
    loop_
    _dictionary_audit.version
    _dictionary_audit.date
    _dictionary_audit.revision
    0.0.1 2017-07-15 'Creating the dictionary'

save_LINKED_PARENT
    _definition.id               LINKED_PARENT
    _definition.scope            Category
    _definition.class            Head
    _definition.update           2017-07-15
    _description.text
;
     This category is parent of all other categories in the LINKED_DIC
     dictionary.
;
    _name.category_id            LINKED_DIC
    _name.object_id              LINKED_PARENT
save_

save_MAIN_CATEGORY
    _definition.id               MAIN_CATEGORY
    _definition.scope            Category
    _definition.class            Loop
    _definition.update           2017-07-15
    _description.text
;
    The category contains data items that the LINKED_CATEGORY category
    data items are linked to.
;
    _name.category_id            LINKED_PARENT
    _name.object_id              MAIN_CATEGORY
    _category.key_id             '_main_category.index_item'
    loop_
    _category_key.name
                                 '_main_category.index_item'
save_

save_main_category.index_item
    _definition.id               '_main_category.index_item'
    loop_
    _alias.definition_id
    '_main_category_alternative.index_item'
    _definition.scope            Item
    _definition.class            Attribute
    _definition.update           2017-07-15
    _description.text
;
     Index of the MAIN_CATEGORY category.
;
    _description.common
;
     Index of the MAIN_CATEGORY category.
;
    _name.category_id            main_category
    _name.object_id              index_item
    _type.purpose                Key
    _type.source                 Assigned
    _type.container              Single
    _type.contents               Index
save_

save_main_category.Value_Item
    _definition.id               '_main_category.Value_Item'
    _definition.scope            Item
    _definition.class            Attribute
    _definition.update           2017-07-15
    _description.text
;
     Data item with a real value.
;
    _description.common
;
     Data item with a real value.
;
    _name.category_id            main_category
    _name.object_id              Value_Item
    _type.purpose                Measurand
    _type.source                 Recorded
    _type.container              Single
    _type.contents               Real
save_

save_main_category.Value_Item_su
    _definition.id               '_main_category.Value_Item_su'
    _definition.scope            Item
    _definition.class            Attribute
    _definition.update           2017-07-15
    _description.text
;
     Data item with the su value.
;
    _description.common
;
     Data item with the su value.
;
    _name.category_id            main_category
    _name.object_id              Value_Item_su
    _name.linked_item_id         '_main_category.Value_Item'
    _type.purpose                SU
    _type.source                 Recorded
    _type.container              Single
    _type.contents               Real
save_

save_main_category.linked_item_encode_purpose
    _definition.id               '_main_category.linked_item_encode_purpose'
    _definition.scope            Item
    _definition.class            Attribute
    _definition.update           2017-12-13
    _description.text
;
     A linked item with the 'Encode' purpose.
;
    _description.common
;
     A linked item with the 'Encode' purpose.
;
    _name.category_id            main_category
    _name.object_id              linked_item_encode_purpose
    _name.linked_item_id         '_main_category.index_item'
    _type.purpose                Encode
    _type.source                 Recorded
    _type.container              Single
    _type.contents               Real
save_

save_main_category.linked_item_no_purpose
    _definition.id               '_main_category.linked_item_no_purpose'
    _definition.scope            Item
    _definition.class            Attribute
    _definition.update           2017-12-13
    _description.text
;
     A linked item without an explicitly stated purpose.
;
    _description.common
;
     A linked item without an explicitly stated purpose.
;
    _name.category_id            main_category
    _name.object_id              linked_item_no_purpose
    _name.linked_item_id         '_main_category.index_item'
#    _type.purpose                Link
    _type.source                 Recorded
    _type.container              Single
    _type.contents               Real
save_

save_LINKED_CATEGORY
    _definition.id               LINKED_CATEGORY
    _definition.scope            Category
    _definition.class            Loop
    _definition.update           2017-07-15
    _description.text
;
    This category contains data items that are linked to the data items in
    the MAIN_CATEGORY category.
;
    _name.category_id            LINKED_PARENT
    _name.object_id              LINKED_CATEGORY
    _category.key_id             '_linked_category.index_item'
    loop_
    _category_key.name
                                 '_linked_category.index_item'
save_

save_linked_category.index_item
    _definition.id               '_linked_category.index_item'
    _definition.scope            Item
    _definition.class            Attribute
    _definition.update           2017-07-15
    _description.text
;
     Index of the LINKED_CATEGORY category.
;
    _description.common
;
     Index of the LINKED_CATEGORY category.
;
    _name.category_id            linked_category
    _name.object_id              index_item
    _name.linked_item_id         '_main_category.index_item'
    _type.purpose                Key
    _type.source                 Assigned
    _type.container              Single
    _type.contents               Index
save_

save_UNLOOPED_LINKED_CATEGORY
    _definition.id               UNLOOPED_LINKED_CATEGORY
    _definition.scope            Category
    _definition.class            Set
    _definition.update           2017-12-12
    _description.text
;
    This unlooped category contains data items that are linked to the data
    items in the MAIN_CATEGORY category.
;
    _name.category_id            LINKED_PARENT
    _name.object_id              UNLOOPED_LINKED_CATEGORY
save_

save_unlooped_linked_category.singular_item
    _definition.id               '_unlooped_linked_category.singular_item'
    _definition.scope            Item
    _definition.class            Attribute
    _definition.update           2017-12-12
    _description.text
;
     Linking data item that has a singular value.
     The data item has the 'Link' purpose.
;
    _description.common
;
     Linking data item that has a singular value.
     The data item has the 'Link' purpose.
;
    _name.category_id            unlooped_linked_category
    _name.object_id              singular_item
    _name.linked_item_id         '_main_category.index_item'
    _type.purpose                Link
    _type.source                 Assigned
    _type.container              Single
    _type.contents               Index
save_
