$defs:
  CWLRequirementsList:
    items:
      oneOf:
      - allOf:
        - $comment: 'When using the list representation, ''class'' is required to
            indicate which one is being represented.

            When using the mapping representation, ''class'' is optional since it''s
            the key, but it must match by name.

            '
          required:
          - class
        - $ref: https://ogcincubator.github.io/bblocks-cwl/build/annotated/cwl/v1_2_1/CWLRequirementsItem/schema.yaml
      - $ref: https://ogcincubator.github.io/bblocks-cwl/build/annotated/cwl/v1_2_1/CWLImport/schema.yaml
    title: CWLRequirementsList
    type: array
description: Explicit requirement to execute the application package.
oneOf:
- $ref: https://ogcincubator.github.io/bblocks-cwl/build/annotated/cwl/v1_2_1/CWLRequirementsMap/schema.yaml
- $ref: '#/$defs/CWLRequirementsList'
title: CWLRequirements
