forked from folio-org/mod-eusage-reports
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreportCost.json
82 lines (82 loc) · 2.16 KB
/
reportCost.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
"description": "Cost report schema",
"type": "object",
"properties": {
"accessCountPeriods": {
"description": "List of reporting periods, either a list of months or a list of years, for example [\"2020-03\", \"2020-04\", \"2020-05\"]",
"type": "array",
"items": {
"type": "string"
}
},
"amountEncumeredTotal": {
"description": "This number is sum of all encumbered amounts in the total access period",
"type": "number"
},
"amountPaidTotal": {
"description": "This number is sum of all paid amounts in the total access period",
"type": "number"
},
"costByPeriod": {
"type": "array",
"description": "Total cost for each period",
"items": {
"type": "number",
"nullable": true
}
},
"items": {
"description": "List of items, with access data per item",
"type": "array",
"items": {
"type": "object",
"$ref": "reportCostRow.json"
}
},
"titleCountByPeriod": {
"type": "array",
"description": "Title count per period, total for all items",
"items": {
"type": "integer",
"nullable": true
}
},
"totalItemRequestsByPeriod": {
"type": "array",
"description": "Total access count per period",
"items": {
"type": "integer",
"nullable": true
}
},
"totalItemCostsPerRequestsByPeriod": {
"type": "array",
"description": "Cost per period, total for all items",
"items": {
"type": "number",
"nullable": true
}
},
"uniqueItemRequestsByPeriod": {
"type": "array",
"description": "Unique access count per period",
"items": {
"type": "integer",
"nullable": true
}
},
"uniqueItemCostsPerRequestsByPeriod": {
"type": "array",
"description": "Unique access count per period, total for all items",
"items": {
"type": "number",
"nullable": true
}
},
"execution": {
"description": "Information about execution, such as various timings",
"type": "object"
}
},
"additionalProperties": false
}