-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathLab_Report.yaml
40 lines (39 loc) · 1.31 KB
/
Lab_Report.yaml
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
#
# Lab_Report Object
#
# (c) 2022 OpenTHC, Inc.
# This file is part of OpenTHC API released under MIT License
#
# SPDX-License-Identifier: MIT
#
description: "Issued by a Laboratory as container for a collection of test results and their metrics"
type: object
properties:
id:
type: string
company:
description: The Company Object of the Laboratory Submitting Report
type: object
$ref: '#/components/schemas/Company'
license:
description: The License Object of the Laboratory Submitting Report
type: object
$ref: '#/components/schemas/License'
lab_sample:
description: The Lab Sample this Report is for
type: object
$ref: '#/components/schemas/Lab_Sample'
contact:
description: The Contact Object of the Laboratory Technician Submitting Report
type: object
certificate:
description: URL of the Certificate in PDF format, either a public link on the internet, or a base64 encoded data URL.
type: string
image:
description: URL of the Product Image in a image/png or image/jpeg format, either a public link on the internet, or a base64 encoded data URL.
type: string
metric_list:
description: The Result Metrics, where each Key is the Metric ID from the well-known published set
type: array
items:
$ref: '#/components/schemas/Lab_Result_Metric'