Matt Blenkinsop
979ff589d9
Rather than fetching the counter files and embedding the counter logs, we now add a foreign key to the data provider in the counter logs table and fetch them directly. Signed-off-by: Jessica Zairo <jzairo@bywatersolutions.com> Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
42 lines
No EOL
862 B
YAML
42 lines
No EOL
862 B
YAML
---
|
|
type: object
|
|
properties:
|
|
erm_counter_log_id:
|
|
type: integer
|
|
description: internally assigned counter_log identifier
|
|
readOnly: true
|
|
counter_files_id:
|
|
description: counter_files_id of the counter_log
|
|
type:
|
|
- integer
|
|
- "null"
|
|
borrowernumber:
|
|
description: borrowernumber of the counter_log
|
|
type:
|
|
- integer
|
|
- "null"
|
|
importdate:
|
|
type: string
|
|
format: date-time
|
|
description: Timestamp for the date of upload
|
|
filename:
|
|
description: filename of the counter_file
|
|
type:
|
|
- string
|
|
- "null"
|
|
logdetails:
|
|
description: logdetails of the counter_log
|
|
type:
|
|
- string
|
|
- "null"
|
|
usage_data_provider_id:
|
|
description: logdetails of the counter_log
|
|
type:
|
|
- integer
|
|
- "null"
|
|
|
|
additionalProperties: false
|
|
required:
|
|
- filename
|
|
- borrowernumber
|
|
- counter_files_id |