{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-batch/json-schema/microsoft-azure-batch-batch-node-file-list-result-schema.json",
  "title": "BatchNodeFileListResult",
  "description": "The result of listing the files on a Compute Node, or the files associated with\na Task on a Compute Node.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/microsoft-azure-batch-tasks-api-openapi.yml#/components/schemas/BatchNodeFileListResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The list of files.",
      "items": {
        "$ref": "#/$defs/BatchNodeFile"
      }
    },
    "odata.nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The URL to get the next set of results."
    }
  },
  "$defs": {
    "BatchNodeFile": {
      "type": "object",
      "description": "Information about a file or directory on a Compute Node.",
      "properties": {
        "name": {
          "type": "string",
          "description": "The file path."
        },
        "url": {
          "type": "string",
          "format": "uri",
          "description": "The URL of the file."
        },
        "isDirectory": {
          "type": "boolean",
          "description": "Whether the object represents a directory."
        },
        "properties": {
          "$ref": "#/$defs/FileProperties",
          "description": "The file properties."
        }
      }
    },
    "FileProperties": {
      "type": "object",
      "description": "The properties of a file on a Compute Node.",
      "properties": {
        "creationTime": {
          "type": "string",
          "format": "date-time",
          "description": "The file creation time. The creation time is not returned for files on Linux Compute Nodes."
        },
        "lastModified": {
          "type": "string",
          "format": "date-time",
          "description": "The time at which the file was last modified."
        },
        "contentLength": {
          "type": "string",
          "format": "int64",
          "description": "The length of the file."
        },
        "contentType": {
          "type": "string",
          "description": "The content type of the file."
        },
        "fileMode": {
          "type": "string",
          "description": "The file mode attribute in octal format. The file mode is returned only for files on Linux Compute Nodes."
        }
      },
      "required": [
        "lastModified",
        "contentLength"
      ]
    }
  }
}