#\#CIF_2.0
##############################################################################
#                                                                            #
#    FAKE DICTIONARY WITH CONTRADICTORY RANGE VALUES FOR TESTING PURPOSES    #
#                                                                            #
##############################################################################
data_FAKE_CONTRADICTORY_RANGES_DIC
_dictionary.title            FAKE_CONTRADICTORY_RANGES_DIC
_dictionary.class            Instance
_dictionary.version          0.1.0
_dictionary.date             2023-11-13
_dictionary.uri              http://www.fake.org/fake_contradictory_ranges.dic
_dictionary.ddl_conformance  4.2.0
_dictionary.namespace        FakeContradictoryRangesDic
_description.text
;
 This dictionary purposely contains contradictory range values.
;
loop_
_dictionary_audit.version
_dictionary_audit.date
_dictionary_audit.revision
0.1.0 2023-11-13 'Creating the dictionary.'

save_CONTRADICTORY_RANGE_HEAD
_definition.id               CONTRADICTORY_RANGE_HEAD
_definition.scope            Category
_definition.class            HEAD
_definition.update           2019-02-10
_description.text
;
 The HEAD category of the dictionary.
;
_name.category_id            FAKE_CONTRADICTORY_RANGES_DIC
_name.object_id              CONTRADICTORY_RANGE_HEAD
save_

save_RANGE_COMPATIBILITY
_definition.id               RANGE_COMPATIBILITY
_definition.scope            Category
_definition.class            Set
_definition.update           2019-02-10
_description.text
;
 Data items in the RANGE_COMPATIBILITY category purposely
 contain range values that contradict constrains imposed by other
 data items in the definition, i.e. the _type.contents data item.
;
_name.category_id            CONTRADICTORY_RANGE_HEAD
_name.object_id              RANGE_COMPATIBILITY
save_

save_range_compatibility.proper_index
_definition.id               '_range_compatibility.proper_index'
_definition.update            2019-02-10
_description.text
;
 Data item that contains a range value compatible with the 'Index'
 content type.
;
_name.category_id             range_compatibility
_name.object_id               proper_index
_type.purpose                 Describe
_type.source                  Assigned
_type.container               Single
_type.contents                Index
_enumeration.range            2:
save_

save_range_compatibility.out_of_range_index
_definition.id               '_range_compatibility.out_of_range_index'
_definition.update            2019-02-10
_description.text
;
 Data item that contains a range value incompatible with the 'Index'
 content type.
;
_name.category_id             range_compatibility
_name.object_id               out_of_range_index
_type.purpose                 Describe
_type.source                  Assigned
_type.container               Single
_type.contents                Index
_enumeration.range            -1:1
save_

save_range_compatibility.out_of_range_count
_definition.id               '_range_compatibility.out_of_range_count'
_definition.update            2019-02-10
_description.text
;
 Data item that contains a range value incompatible with the 'Count'
 content type.
;
_name.category_id             range_compatibility
_name.object_id               out_of_range_count
_type.purpose                 Describe
_type.source                  Assigned
_type.container               Single
_type.contents                Count
_enumeration.range            -1:1
save_

save_range_compatibility.real_instead_of_int

    _definition.id               '_range_compatibility.real_instead_of_int'
    _definition.update            2023-07-11
    _description.text
;
    An integer data item that contains a range definition with both limits
    defined as floating-point real numbers.
;
    _name.category_id             range_compatibility
    _name.object_id               real_instead_of_int
    _type.purpose                 Describe
    _type.source                  Assigned
    _type.container               Single
    _type.contents                Integer
    _enumeration.range            -1.3:1.7
    _units.code                   none

save_

save_range_compatibility.real_instead_of_int_no_low

    _definition.id               '_range_compatibility.real_instead_of_int_no_low'
    _definition.update            2023-07-11
    _description.text
;
    An integer data item that contains a range definition with no lower limit
    and an upper limit defined as floating-point real number.
;
    _name.category_id             range_compatibility
    _name.object_id               real_instead_of_int_no_low
    _type.purpose                 Describe
    _type.source                  Assigned
    _type.container               Single
    _type.contents                Integer
    _enumeration.range            :5.
    _units.code                   none

save_

save_range_compatibility.not_a_number

    _definition.id               '_range_compatibility.not_a_number'
    _definition.update            2023-07-11
    _description.text
;
    An floating-point real number data item that contains an incorrect range
    definition that is made up of letters instead of numbers.
;
    _name.category_id             range_compatibility
    _name.object_id               not_a_number
    _type.purpose                 Describe
    _type.source                  Assigned
    _type.container               Single
    _type.contents                Real
    _enumeration.range            a:d
    _units.code                   none

save_

save_range_compatibility.redundant_range_index
_definition.id               '_range_compatibility.redundant_range_index'
_definition.update            2019-02-10
_description.text
;
 Data item that contains explicit range limits that match those
 imposed by the 'Index' content type.
;
_name.category_id             range_compatibility
_name.object_id               redundant_range_index
_type.purpose                 Describe
_type.source                  Assigned
_type.container               Single
_type.contents                Index
_enumeration.range            1:
save_

save_range_compatibility.proper_upper_range_index
_definition.id               '_range_compatibility.proper_upper_range_index'
_definition.update            2019-02-10
_description.text
;
 Data item that contains explicit upper range limit that does not
 conflict with that imposed by the 'Index' content type.
;
_name.category_id             range_compatibility
_name.object_id               proper_upper_range_index
_type.purpose                 Describe
_type.source                  Assigned
_type.container               Single
_type.contents                Index
_enumeration.range            :42
save_

save_range_compatibility.proper_range_real
_definition.id               '_range_compatibility.proper_range_real'
_definition.update            2019-02-10
_description.text
;
 Data item that contains explicit range limits and is of the
 'Real' content type.
;
_name.category_id             range_compatibility
_name.object_id               proper_range_real
_type.purpose                 Describe
_type.source                  Assigned
_type.container               Single
_type.contents                Real
_enumeration.range            -42:42
_units.code                   none
save_

save_range_compatibility.measurand_A

    _definition.id               '_range_compatibility.measurand_A'
    _definition.update            2023-11-13
    _description.text
;
     A measurand data item.
;
    _name.category_id             range_compatibility
    _name.object_id               measurand_A
    _type.purpose                 Measurand
    _type.source                  Assigned
    _type.container               Single
    _type.contents                Real
    _units.code                   none

save_

save_range_compatibility.measurand_A_su

    _definition.id                '_range_compatibility.measurand_A_su'
    _definition.update            2023-11-13
    _description.text
;
    Standard uncertainty of _range_compatibility.measurand_A.
    The SU data item has no explicit enumeration range.
;
    _name.category_id             range_compatibility
    _name.object_id               measurand_A_su
    _name.linked_item_id          '_range_compatibility.measurand_A'
    _type.purpose                 SU
    _type.source                  Related
    _type.container               Single
    _type.contents                Real
    _units.code                   none

save_

save_range_compatibility.measurand_B

    _definition.id               '_range_compatibility.measurand_B'
    _definition.update            2023-11-13
    _description.text
;
     A measurand data item.
;
    _name.category_id             range_compatibility
    _name.object_id               measurand_B
    _type.purpose                 Measurand
    _type.source                  Assigned
    _type.container               Single
    _type.contents                Real
    _units.code                   none

save_

save_range_compatibility.measurand_B_su

    _definition.id                '_range_compatibility.measurand_B_su'
    _definition.update            2023-11-13
    _description.text
;
    Standard uncertainty of _range_compatibility.measurand_B.
    The SU data item has an explicit enumeration range which is a subset
    of the [0, inf) enumeration range imposed by the 'SU' purpose.
;
    _name.category_id             range_compatibility
    _name.object_id               measurand_B_su
    _name.linked_item_id          '_range_compatibility.measurand_B'
    _type.purpose                 SU
    _type.source                  Related
    _type.container               Single
    _type.contents                Real
    _units.code                   none
    _enumeration.range            3.14:42

save_

save_range_compatibility.measurand_C

    _definition.id               '_range_compatibility.measurand_C'
    _definition.update            2023-11-13
    _description.text
;
     A measurand data item.
;
    _name.category_id             range_compatibility
    _name.object_id               measurand_C
    _type.purpose                 Measurand
    _type.source                  Assigned
    _type.container               Single
    _type.contents                Real
    _units.code                   none

save_

save_range_compatibility.measurand_C_su

    _definition.id                '_range_compatibility.measurand_C_su'
    _definition.update            2023-11-13
    _description.text
;
    Standard uncertainty of _range_compatibility.measurand_C.
    The SU data item has an explicit enumeration range which is not a subset
    of the [0, inf) enumeration range imposed by the 'SU' purpose.
;
    _name.category_id             range_compatibility
    _name.object_id               measurand_C_su
    _name.linked_item_id          '_range_compatibility.measurand_C'
    _type.purpose                 SU
    _type.source                  Related
    _type.container               Single
    _type.contents                Real
    _units.code                   none
    _enumeration.range            -3.14:42

save_
