| 1 |
# Contains arrays and intra-file type reference |
| 2 |
|
| 3 |
# class: SchemaDefRequirement |
| 4 |
# types: ... |
| 5 |
# This form does not work with cwltool, even though it can be found here |
| 6 |
# https://github.com/NCI-GDC/gdc-dnaseq-cwl/blob/master/tools/readgroup_path.yml |
| 7 |
# Notably, that .yml file is never used, so likely they tried it, failed and |
| 8 |
# forgot to take it out |
| 9 |
|
| 10 |
|
| 11 |
- name: sample_meta2 #duplicate names are not fine across files |
| 12 |
type: record |
| 13 |
fields: |
| 14 |
- name: prop |
| 15 |
type: string |
| 16 |
|
| 17 |
- name: study_meta |
| 18 |
type: array |
| 19 |
items: sample_meta2 |
| 20 |
|
| 21 |
# Apparently can't declare an array inside an array? |
| 22 |
# - name: study_meta_too |
| 23 |
# type: array |
| 24 |
# items: [string, sample_meta2, study_meta] |
| 25 |
|
| 26 |
- name: study_meta_too |
| 27 |
type: record |
| 28 |
fields: |
| 29 |
meta1: sample_meta2 |
| 30 |
meta2: study_meta |