# Contains records and intra-file type reference
# You can't have an enum in a user type

- name: sample_meta
  type: record
  fields:
    - name: sample
      type: ["null", string]
    - name: species
      type: string

- name: file_with_sample_meta
  type: record
  fields:
    - name: file
      type: File
    - name: meta
      type: sample_meta

- name: info_with_sample_meta
  type: record
  fields:
    comment: 
      type: string
    meta: 
      type: sample_meta
