{
  "$defs": {
    "CWLRequirementsList": {
      "items": {
        "oneOf": [
          {
            "allOf": [
              {
                "$comment": "When using the list representation, 'class' is required to indicate which one is being represented.\nWhen using the mapping representation, 'class' is optional since it's the key, but it must match by name.\n",
                "required": [
                  "class"
                ]
              },
              {
                "$ref": "https://ogcincubator.github.io/bblocks-cwl/build/annotated/cwl/v1_2_1/CWLRequirementsItem/schema.json"
              }
            ]
          },
          {
            "$ref": "https://ogcincubator.github.io/bblocks-cwl/build/annotated/cwl/v1_2_1/CWLImport/schema.json"
          }
        ]
      },
      "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.json"
    },
    {
      "$ref": "#/$defs/CWLRequirementsList"
    }
  ],
  "title": "CWLRequirements"
}