{
  "$defs": {
    "CWLTypeRecordSecondaryFiles": {
      "oneOf": [
        {
          "$comment": "Either an expression or the regex pattern directly.",
          "$ref": "https://ogcincubator.github.io/bblocks-cwl/build/annotated/cwl/v1_2_1/CWLExpression/schema.json"
        },
        {
          "$ref": "#/$defs/CWLTypeRecordSecondaryFileSchema"
        },
        {
          "items": {
            "$comment": "Either an expression or the regex pattern directly.",
            "$ref": "https://ogcincubator.github.io/bblocks-cwl/build/annotated/cwl/v1_2_1/CWLExpression/schema.json"
          },
          "type": "array"
        },
        {
          "items": {
            "$ref": "#/$defs/CWLTypeRecordSecondaryFileSchema"
          },
          "type": "array"
        }
      ]
    },
    "CWLTypeRecordSecondaryFileSchema": {
      "additionalProperties": false,
      "properties": {
        "pattern": {
          "$comment": "Either an expression or the regex pattern directly.",
          "$ref": "https://ogcincubator.github.io/bblocks-cwl/build/annotated/cwl/v1_2_1/CWLExpression/schema.json"
        },
        "required": {
          "oneOf": [
            {
              "type": "boolean"
            },
            {
              "$ref": "https://ogcincubator.github.io/bblocks-cwl/build/annotated/cwl/v1_2_1/CWLExpression/schema.json"
            }
          ]
        }
      },
      "required": [
        "pattern"
      ],
      "type": "object"
    }
  },
  "properties": {
    "format": {
      "oneOf": [
        {
          "$ref": "https://ogcincubator.github.io/bblocks-cwl/build/annotated/cwl/v1_2_1/CWLExpression/schema.json"
        },
        {
          "items": {
            "$ref": "https://ogcincubator.github.io/bblocks-cwl/build/annotated/cwl/v1_2_1/CWLExpression/schema.json"
          },
          "type": "array"
        }
      ]
    },
    "loadContents": {
      "type": "boolean",
      "x-jsonld-id": "https://w3id.org/cwl/cwl#loadContents"
    },
    "secondaryFiles": {
      "$ref": "#/$defs/CWLTypeRecordSecondaryFiles"
    },
    "streamable": {
      "type": "boolean",
      "x-jsonld-id": "https://w3id.org/cwl/cwl#FieldBase/streamable"
    }
  },
  "type": "object",
  "x-jsonld-prefixes": {
    "cwl": "https://w3id.org/cwl/cwl#"
  }
}