aboutsummaryrefslogtreecommitdiff
path: root/bh20sequploader/bh20seq-schema.yml
blob: fd9e854cd68a29c81f6b3c947302a58fadcf4548 (plain)
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
$graph:

- name: hostSchema
  type: record
  fields:
    host_species:
        type: string
        jsonldPredicate:
          _id: http://www.ebi.ac.uk/efo/EFO_0000532
    host_id: string
    host_common_name: string?
    host_sex: string?
    host_age: int?
    host_age_unit: string?
    host_health_status: string?
    host_treatment:
      type: string?
      jsonldPredicate:
          _id: http://www.ebi.ac.uk/efo/EFO_0000727
    additional_host_information: string?

- name: sampleSchema
  type: record
  fields:
    collector_name: string
    collecting_institution: string
    specimen_source: string?
    collection_date: string?
    collection_location:
      type: string?
      jsonldPredicate:
        _id: https://schema.org/fromLocation
    sample_storage_conditions: string?
    additional_collection_information: string?

- name: virusSchema
  type: record
  fields:
    virus_species: string?
    virus_strain: string?

- name: technologySchema
  type: record
  fields:
    sample_sequencing_technology:
      type: string
      jsonldPredicate:
        _id: http://www.ebi.ac.uk/efo/EFO_0000532
    sequence_assembly_method:
      type: string?
      jsonldPredicate:
        _id: http://www.ebi.ac.uk/efo/EFO_0002699
    sequencing_coverage:
      type: string?
      jsonldPredicate:
        _id: http://purl.obolibrary.org/obo/FLU_0000848

- name: submitterSchema
  type: record
  fields:
    submitter_name: string
    submitter_address: string?
    originating_lab: string
    lab_address: string?
    provider_sample_id: string?
    submitter_sample_id: string?
    authors: string?
    submitter_id: string?

- name: MainSchema
  type: record
  documentRoot: true
  fields:
    host: hostSchema
    sample: sampleSchema
    virus: virusSchema?
    technology: technologySchema
    submitter: submitterSchema