$base: "https://w3id.org/cwl/cwl#"

$namespaces:
  cwl: "https://w3id.org/cwl/cwl#"
  sld: "https://w3id.org/cwl/salad#"

$graph:

- $import: "../metaschema/metaschema_base.yml"

- name: InputBinding
  type: record
  abstract: true
  fields:
    - name: loadContents
      type:
        - "null"
        - boolean
      jsonldPredicate: "cwl:loadContents"
      doc: |
        Only valid when `type: File` or is an array of `items: File`.

        Read up to the first 64 KiB of text from the file and place it in the
        "contents" field of the file object for use by expressions.

- name: InputRecordField
  type: record
  extends: "sld:RecordField"
  fields:
    - name: inputBinding
      type: [ "null", "#InputBinding" ]
      jsonldPredicate: "cwl:inputBinding"

- name: Blurb
  type: record
  extends: InputBinding
