aboutsummaryrefslogtreecommitdiff
path: root/bh20sequploader/bh20seq-schema.yml
diff options
context:
space:
mode:
authorPeter Amstutz2020-04-07 15:28:42 -0400
committerPeter Amstutz2020-04-07 15:28:42 -0400
commit07bc4c65535437b8e9e0744f08da8cea541d0116 (patch)
tree201cd544a87aebf0ba6978c42d61df1e90d7d836 /bh20sequploader/bh20seq-schema.yml
parent4215a82af730ff05b8fe98e226b759413cdf95f7 (diff)
downloadbh20-seq-resource-07bc4c65535437b8e9e0744f08da8cea541d0116.tar.gz
bh20-seq-resource-07bc4c65535437b8e9e0744f08da8cea541d0116.tar.lz
bh20-seq-resource-07bc4c65535437b8e9e0744f08da8cea541d0116.zip
Add metadata validation with schema-salad
Diffstat (limited to 'bh20sequploader/bh20seq-schema.yml')
-rw-r--r--bh20sequploader/bh20seq-schema.yml36
1 files changed, 36 insertions, 0 deletions
diff --git a/bh20sequploader/bh20seq-schema.yml b/bh20sequploader/bh20seq-schema.yml
new file mode 100644
index 0000000..6e0973a
--- /dev/null
+++ b/bh20sequploader/bh20seq-schema.yml
@@ -0,0 +1,36 @@
+$graph:
+
+- name: sampleInformationSchema
+ type: record
+ fields:
+ location: string
+ host: string
+ sequenceTechnology: string
+ assemblyMethod: string
+
+- name: InstituteInformationSchema
+ type: record
+ fields:
+ OriginatingLab: string
+ SubmittingLab: string
+
+- name: SubmitterInformationSchema
+ type: record
+ fields:
+ Submitter: string
+ submissionDate: string
+
+- name: VirusDetailSchema
+ type: record
+ fields:
+ VirusName: string
+ AccessionId: string
+
+- name: MainSchema
+ type: record
+ documentRoot: true
+ fields:
+ sampleInformation: sampleInformationSchema
+ InstituteInformation: InstituteInformationSchema
+ SubmitterInformation: SubmitterInformationSchema
+ VirusDetail: VirusDetailSchema