{
  "$defs": {
    "InitialWorkDirListing": {
      "oneOf": [
        {
          "$ref": "https://ogcincubator.github.io/bblocks-cwl/build/annotated/cwl/v1_2_1/CWLExpression/schema.json"
        },
        {
          "items": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "https://ogcincubator.github.io/bblocks-cwl/build/annotated/cwl/v1_2_1/CWLExpression/schema.json"
              },
              {
                "$ref": "#/$defs/DirectoryListingDirent"
              },
              {
                "$ref": "#/$defs/DirectoryListingFileOrDirectory"
              },
              {
                "items": {
                  "$ref": "#/$defs/DirectoryListingFileOrDirectory"
                },
                "type": "array"
              }
            ]
          },
          "title": "InitialWorkDirListingItems",
          "type": "array"
        }
      ],
      "title": "InitialWorkDirListing"
    },
    "DirectoryListingDirent": {
      "$comment": "Called 'Dirent' in documentation.",
      "additionalProperties": false,
      "properties": {
        "entry": {
          "$ref": "https://ogcincubator.github.io/bblocks-cwl/build/annotated/cwl/v1_2_1/CWLExpression/schema.json"
        },
        "entryname": {
          "$ref": "https://ogcincubator.github.io/bblocks-cwl/build/annotated/cwl/v1_2_1/CWLExpression/schema.json"
        },
        "writable": {
          "type": "boolean",
          "x-jsonld-id": "https://w3id.org/cwl/cwl#Dirent/writable"
        }
      },
      "required": [
        "entry"
      ],
      "title": "DirectoryListingDirent",
      "type": "object"
    },
    "DirectoryListingFileOrDirectory": {
      "additionalProperties": false,
      "properties": {
        "checksum": {
          "$ref": "https://ogcincubator.github.io/bblocks-cwl/build/annotated/cwl/v1_2_1/Checksum/schema.json",
          "x-jsonld-id": "https://w3id.org/cwl/cwl#File/checksum"
        },
        "class": {
          "enum": [
            "File",
            "Directory"
          ],
          "type": "string"
        },
        "location": {
          "type": "string"
        },
        "size": {
          "minimum": 0,
          "type": "integer",
          "x-jsonld-id": "https://w3id.org/cwl/cwl#File/size"
        }
      },
      "required": [
        "class",
        "location"
      ],
      "type": "object"
    }
  },
  "additionalProperties": false,
  "properties": {
    "class": {
      "enum": [
        "InitialWorkDirRequirement"
      ],
      "type": "string"
    },
    "listing": {
      "$ref": "#/$defs/InitialWorkDirListing"
    }
  },
  "required": [
    "listing"
  ],
  "title": "InitialWorkDirRequirement",
  "type": "object",
  "x-jsonld-extra-terms": {
    "writable": "https://w3id.org/cwl/cwl#Dirent/writable",
    "checksum": "https://w3id.org/cwl/cwl#File/checksum",
    "size": "https://w3id.org/cwl/cwl#File/size"
  },
  "x-jsonld-prefixes": {
    "cwl": "https://w3id.org/cwl/cwl#"
  }
}