{
  "$id": "https://github.com/kurema/BookViewerApp3/tree/master/BookViewerApp/Views/BrowserTools/DirectoryInfo.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "basePath": {
      "type": "string"
    },
    "currentDirectory": {
      "type": "string"
    },
    "entries": {
      "items": {
        "properties": {
          "folder": {
            "type": "string"
          },
          "isFolder": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "size": {
            "type": "integer"
          },
          "updated": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": "array"
    },
    "pageDirection": {
      "enum": [
        "left",
        "right",
        "down"
      ],
      "type": "string"
    },
    "previewFile": {
      "type": "string"
    },
    "rootName": {
      "type": "string"
    }
  },
  "title": "Directory info and some additional data like current directory.",
  "type": "object"
}