Koha/t/db_dependent/data/erm/eusage/TR_B2.json
Pedro Amorim 684d9263e8
Bug 35418: Add TR_B2 tests
This test file adds tests for the TR_B2 specific report.
But also tests for this specific bug, which only happens if
the report time period ends in december

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Andrew Auld <andrew.auld@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-11-29 17:36:11 -03:00

443 lines
15 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"Report_Header": {
"Created": "2023-11-28T12:53:04Z",
"Created_By": "Test Systems Inc.",
"Customer_ID": "TEST_CUSTOMER_ID",
"Report_ID": "TR_B2",
"Release": "5",
"Report_Name": "Book Access Denied",
"Institution_Name": "Test Institution",
"Institution_ID": [{ "Type": "Proprietary", "Value": "SN:TEST_CUSTOMER_ID" }],
"Report_Filters": [
{ "Name": "Data_Type", "Value": "Book" },
{ "Name": "Access_Method", "Value": "Regular" },
{ "Name": "Metric_Type", "Value": "Limit_Exceeded|No_License" },
{ "Name": "Begin_Date", "Value": "2022-11-01" },
{ "Name": "End_Date", "Value": "2022-12-31" }
]
},
"Report_Items": [
{
"Title": "Handbook of Nuclear Engineering",
"Item_ID": [
{ "Type": "DOI", "Value": "10.1007/978-0-387-98149-9" },
{ "Type": "ISBN", "Value": "978-0-387-98149-9" },
{ "Type": "Proprietary", "Value": "SN:TEST/978-0-387-98149-9" }
],
"Platform": "Test Platform",
"Publisher": "Test Publisher",
"YOP": "2010",
"Performance": [
{
"Period": { "Begin_Date": "2022-11-01", "End_Date": "2022-11-31" },
"Instance": [{ "Metric_Type": "No_License", "Count": 3 }]
}
]
},
{
"Title": "Human Resource Management in International Firms",
"Item_ID": [
{ "Type": "DOI", "Value": "10.1007/978-1-349-11255-5" },
{ "Type": "ISBN", "Value": "978-1-349-11255-5" },
{ "Type": "Proprietary", "Value": "SN:TEST/978-1-349-11255-5" }
],
"Platform": "Test Platform",
"Publisher": "Test Publisher D",
"YOP": "1990",
"Performance": [
{
"Period": { "Begin_Date": "2022-12-01", "End_Date": "2022-12-31" },
"Instance": [{ "Metric_Type": "No_License", "Count": 1 }]
}
]
},
{
"Title": "Understanding Disability",
"Item_ID": [
{ "Type": "DOI", "Value": "10.1007/978-1-349-24269-6" },
{ "Type": "ISBN", "Value": "978-1-349-24269-6" },
{ "Type": "Proprietary", "Value": "SN:TEST/978-1-349-24269-6" }
],
"Platform": "Test Platform",
"Publisher": "Test Publisher E",
"YOP": "1996",
"Performance": [
{
"Period": { "Begin_Date": "2022-11-01", "End_Date": "2022-11-31" },
"Instance": [{ "Metric_Type": "No_License", "Count": 1 }]
}
]
},
{
"Title": "Learning from Disasters: A Management Approach",
"Item_ID": [
{ "Type": "DOI", "Value": "10.1007/978-1-349-27902-9" },
{ "Type": "ISBN", "Value": "978-1-349-27902-9" },
{ "Type": "Proprietary", "Value": "SN:TEST/978-1-349-27902-9" }
],
"Platform": "Test Platform",
"Publisher": "Test Publisher E",
"YOP": "2005",
"Performance": [
{
"Period": { "Begin_Date": "2022-12-01", "End_Date": "2022-12-31" },
"Instance": [{ "Metric_Type": "No_License", "Count": 1 }]
}
]
},
{
"Title": "Handbook of Nuclear Chemistry",
"Item_ID": [
{ "Type": "DOI", "Value": "10.1007/978-1-4419-0720-2" },
{ "Type": "ISBN", "Value": "978-1-4419-0720-2" },
{ "Type": "Proprietary", "Value": "SN:TEST/978-1-4419-0720-2" }
],
"Platform": "Test Platform",
"Publisher": "Test Publisher",
"YOP": "2011",
"Performance": [
{
"Period": { "Begin_Date": "2022-11-01", "End_Date": "2022-11-31" },
"Instance": [{ "Metric_Type": "No_License", "Count": 1 }]
}
]
},
{
"Title": "Compound Semiconductor Device Modelling",
"Item_ID": [
{ "Type": "DOI", "Value": "10.1007/978-1-4471-2048-3" },
{ "Type": "ISBN", "Value": "978-1-4471-2048-3" },
{ "Type": "Proprietary", "Value": "SN:TEST/978-1-4471-2048-3" }
],
"Platform": "Test Platform",
"Publisher": "Test Publisher F",
"YOP": "1993",
"Performance": [
{
"Period": { "Begin_Date": "2022-12-01", "End_Date": "2022-12-31" },
"Instance": [{ "Metric_Type": "No_License", "Count": 1 }]
}
]
},
{
"Title": "Essentials of Carbohydrate Chemistry",
"Item_ID": [
{ "Type": "DOI", "Value": "10.1007/978-1-4612-1622-3" },
{ "Type": "ISBN", "Value": "978-1-4612-1622-3" },
{ "Type": "Print_ISSN", "Value": "0172-6323" },
{ "Type": "Proprietary", "Value": "SN:TEST/978-1-4612-1622-3" }
],
"Platform": "Test Platform",
"Publisher": "Test Publisher G",
"YOP": "1998",
"Performance": [
{
"Period": { "Begin_Date": "2022-12-01", "End_Date": "2022-12-31" },
"Instance": [{ "Metric_Type": "No_License", "Count": 6 }]
}
]
},
{
"Title": "Elements of Statistical Disclosure Control",
"Item_ID": [
{ "Type": "DOI", "Value": "10.1007/978-1-4613-0121-9" },
{ "Type": "ISBN", "Value": "978-1-4613-0121-9" },
{ "Type": "Print_ISSN", "Value": "0930-0325" },
{ "Type": "Proprietary", "Value": "SN:TEST/978-1-4613-0121-9" }
],
"Platform": "Test Platform",
"Publisher": "Test Publisher G",
"YOP": "2001",
"Performance": [
{
"Period": { "Begin_Date": "2022-11-01", "End_Date": "2022-11-31" },
"Instance": [{ "Metric_Type": "No_License", "Count": 1 }]
}
]
},
{
"Title": "Seamless R and C++ Integration with Rcpp",
"Item_ID": [
{ "Type": "DOI", "Value": "10.1007/978-1-4614-6868-4" },
{ "Type": "ISBN", "Value": "978-1-4614-6868-4" },
{ "Type": "Proprietary", "Value": "SN:TEST/978-1-4614-6868-4" }
],
"Platform": "Test Platform",
"Publisher": "Test Publisher G",
"YOP": "2013",
"Performance": [
{
"Period": { "Begin_Date": "2022-11-01", "End_Date": "2022-11-31" },
"Instance": [{ "Metric_Type": "No_License", "Count": 1 }]
}
]
},
{
"Title": "Developing Applications with Azure Active Directory",
"Item_ID": [
{ "Type": "DOI", "Value": "10.1007/978-1-4842-5040-2" },
{ "Type": "ISBN", "Value": "978-1-4842-5040-2" },
{ "Type": "Proprietary", "Value": "SN:TEST/978-1-4842-5040-2" }
],
"Platform": "Test Platform",
"Publisher": "Test Publisher H",
"YOP": "2019",
"Performance": [
{
"Period": { "Begin_Date": "2022-12-01", "End_Date": "2022-12-31" },
"Instance": [{ "Metric_Type": "No_License", "Count": 1 }]
}
]
},
{
"Title": "Introduction to X-Ray Spectrometric Analysis",
"Item_ID": [
{ "Type": "DOI", "Value": "10.1007/978-1-4899-2204-5" },
{ "Type": "ISBN", "Value": "978-1-4899-2204-5" },
{ "Type": "Proprietary", "Value": "SN:TEST/978-1-4899-2204-5" }
],
"Platform": "Test Platform",
"Publisher": "Test Publisher",
"YOP": "1978",
"Performance": [
{
"Period": { "Begin_Date": "2022-12-01", "End_Date": "2022-12-31" },
"Instance": [{ "Metric_Type": "No_License", "Count": 1 }]
}
]
},
{
"Title": "Gypsy and Traveller Girls",
"Item_ID": [
{ "Type": "DOI", "Value": "10.1007/978-3-030-03703-1" },
{ "Type": "ISBN", "Value": "978-3-030-03703-1" },
{ "Type": "Proprietary", "Value": "SN:TEST/978-3-030-03703-1" }
],
"Platform": "Test Platform",
"Publisher": "Test Publisher A",
"YOP": "2019",
"Performance": [
{
"Period": { "Begin_Date": "2022-12-01", "End_Date": "2022-12-31" },
"Instance": [{ "Metric_Type": "No_License", "Count": 2 }]
}
]
},
{
"Title": "Ernst Mach Life, Work, Influence",
"Item_ID": [
{ "Type": "DOI", "Value": "10.1007/978-3-030-04378-0" },
{ "Type": "ISBN", "Value": "978-3-030-04378-0" },
{ "Type": "Print_ISSN", "Value": "0929-6328" },
{ "Type": "Online_ISSN", "Value": "2215-1818" },
{ "Type": "Proprietary", "Value": "SN:TEST/978-3-030-04378-0" }
],
"Platform": "Test Platform",
"Publisher": "Test Publisher A",
"YOP": "2019",
"Performance": [
{
"Period": { "Begin_Date": "2022-11-01", "End_Date": "2022-11-31" },
"Instance": [{ "Metric_Type": "No_License", "Count": 1 }]
}
]
},
{
"Title": "The Palgrave Handbook of Male Psychology and Mental Health",
"Item_ID": [
{ "Type": "DOI", "Value": "10.1007/978-3-030-04384-1" },
{ "Type": "ISBN", "Value": "978-3-030-04384-1" },
{ "Type": "Proprietary", "Value": "SN:TEST/978-3-030-04384-1" }
],
"Platform": "Test Platform",
"Publisher": "Test Publisher A",
"YOP": "2019",
"Performance": [
{
"Period": { "Begin_Date": "2022-11-01", "End_Date": "2022-11-31" },
"Instance": [{ "Metric_Type": "No_License", "Count": 1 }]
}
]
},
{
"Title": "Handbook of Population",
"Item_ID": [
{ "Type": "DOI", "Value": "10.1007/978-3-030-10910-3" },
{ "Type": "ISBN", "Value": "978-3-030-10910-3" },
{ "Type": "Print_ISSN", "Value": "1389-6903" },
{ "Type": "Online_ISSN", "Value": "2542-839X" },
{ "Type": "Proprietary", "Value": "SN:TEST/978-3-030-10910-3" }
],
"Platform": "Test Platform",
"Publisher": "Test Publisher A",
"YOP": "2019",
"Performance": [
{
"Period": { "Begin_Date": "2022-11-01", "End_Date": "2022-11-31" },
"Instance": [{ "Metric_Type": "No_License", "Count": 1 }]
}
]
},
{
"Title": "Socioeconomic Inequality and Educational Outcomes",
"Item_ID": [
{ "Type": "DOI", "Value": "10.1007/978-3-030-11991-1" },
{ "Type": "ISBN", "Value": "978-3-030-11991-1" },
{ "Type": "Print_ISSN", "Value": "2366-1631" },
{ "Type": "Online_ISSN", "Value": "2366-164X" },
{ "Type": "Proprietary", "Value": "SN:TEST/978-3-030-11991-1" }
],
"Platform": "Test Platform",
"Publisher": "Test Publisher A",
"YOP": "2019",
"Performance": [
{
"Period": { "Begin_Date": "2022-12-01", "End_Date": "2022-12-31" },
"Instance": [{ "Metric_Type": "No_License", "Count": 1 }]
}
]
},
{
"Title": "Feng Shui: Teaching About Science and Pseudoscience",
"Item_ID": [
{ "Type": "DOI", "Value": "10.1007/978-3-030-18822-1" },
{ "Type": "ISBN", "Value": "978-3-030-18822-1" },
{ "Type": "Print_ISSN", "Value": "2520-8594" },
{ "Type": "Online_ISSN", "Value": "2520-8608" },
{ "Type": "Proprietary", "Value": "SN:TEST/978-3-030-18822-1" }
],
"Platform": "Test Platform",
"Publisher": "Test Publisher A",
"YOP": "2019",
"Performance": [
{
"Period": { "Begin_Date": "2022-11-01", "End_Date": "2022-11-31" },
"Instance": [{ "Metric_Type": "No_License", "Count": 2 }]
}
]
},
{
"Title": "Human Aspects of IT for the Aged Population. Healthy and Active Aging",
"Item_ID": [
{ "Type": "DOI", "Value": "10.1007/978-3-030-50249-2" },
{ "Type": "ISBN", "Value": "978-3-030-50249-2" },
{ "Type": "Print_ISSN", "Value": "0302-9743" },
{ "Type": "Online_ISSN", "Value": "1611-3349" },
{ "Type": "Proprietary", "Value": "SN:TEST/978-3-030-50249-2" }
],
"Platform": "Test Platform",
"Publisher": "Test Publisher A",
"YOP": "2020",
"Performance": [
{
"Period": { "Begin_Date": "2022-12-01", "End_Date": "2022-12-31" },
"Instance": [{ "Metric_Type": "No_License", "Count": 6 }]
}
]
},
{
"Title": "Bayesian Compendium",
"Item_ID": [
{ "Type": "DOI", "Value": "10.1007/978-3-030-55897-0" },
{ "Type": "ISBN", "Value": "978-3-030-55897-0" },
{ "Type": "Proprietary", "Value": "SN:TEST/978-3-030-55897-0" }
],
"Platform": "Test Platform",
"Publisher": "Test Publisher A",
"YOP": "2020",
"Performance": [
{
"Period": { "Begin_Date": "2022-12-01", "End_Date": "2022-12-31" },
"Instance": [{ "Metric_Type": "No_License", "Count": 1 }]
}
]
},
{
"Title": "The Science of Citizen Science",
"Item_ID": [
{ "Type": "DOI", "Value": "10.1007/978-3-030-58278-4" },
{ "Type": "ISBN", "Value": "978-3-030-58278-4" },
{ "Type": "Proprietary", "Value": "SN:TEST/978-3-030-58278-4" }
],
"Platform": "Test Platform",
"Publisher": "Test Publisher A",
"YOP": "2021",
"Performance": [
{
"Period": { "Begin_Date": "2022-12-01", "End_Date": "2022-12-31" },
"Instance": [{ "Metric_Type": "No_License", "Count": 1 }]
}
]
},
{
"Title": "Accessible Housing for South Asia",
"Item_ID": [
{ "Type": "DOI", "Value": "10.1007/978-3-030-88881-7" },
{ "Type": "ISBN", "Value": "978-3-030-88881-7" },
{ "Type": "Proprietary", "Value": "SN:TEST/978-3-030-88881-7" }
],
"Platform": "Test Platform",
"Publisher": "Test Publisher A",
"YOP": "2022",
"Performance": [
{
"Period": { "Begin_Date": "2022-11-01", "End_Date": "2022-11-31" },
"Instance": [{ "Metric_Type": "No_License", "Count": 1 }]
}
]
},
{
"Title": "Advanced Informatics for Computing Research",
"Item_ID": [
{ "Type": "DOI", "Value": "10.1007/978-3-031-09469-9" },
{ "Type": "ISBN", "Value": "978-3-031-09469-9" },
{ "Type": "Print_ISSN", "Value": "1865-0929" },
{ "Type": "Online_ISSN", "Value": "1865-0937" },
{ "Type": "Proprietary", "Value": "SN:TEST/978-3-031-09469-9" }
],
"Platform": "Test Platform",
"Publisher": "Test Publisher A",
"YOP": "2022",
"Performance": [
{
"Period": { "Begin_Date": "2022-11-01", "End_Date": "2022-11-31" },
"Instance": [{ "Metric_Type": "No_License", "Count": 2 }]
}
]
},
{
"Title": "SDG 14: Life Below Water",
"Item_ID": [
{ "Type": "DOI", "Value": "10.1007/978-3-031-19467-2" },
{ "Type": "ISBN", "Value": "978-3-031-19467-2" },
{ "Type": "Proprietary", "Value": "SN:TEST/978-3-031-19467-2" }
],
"Platform": "Test Platform",
"Publisher": "Test Publisher A",
"YOP": "2023",
"Performance": [
{
"Period": { "Begin_Date": "2022-11-01", "End_Date": "2022-11-31" },
"Instance": [{ "Metric_Type": "No_License", "Count": 1 }]
}
]
},
{
"Title": "Transforming Rural Communities in China and Beyond",
"Item_ID": [
{ "Type": "DOI", "Value": "10.1007/978-3-319-11319-7" },
{ "Type": "ISBN", "Value": "978-3-319-11319-7" },
{ "Type": "Proprietary", "Value": "SN:TEST/978-3-319-11319-7" }
],
"Platform": "Test Platform",
"Publisher": "Test Publisher A",
"YOP": "2015",
"Performance": [
{
"Period": { "Begin_Date": "2022-12-01", "End_Date": "2022-12-31" },
"Instance": [{ "Metric_Type": "No_License", "Count": 1 }]
}
]
}
]
}