github.com/slspeek/camlistore_namedsearch@v0.0.0-20140519202248-ed6f70f7721a/doc/schema/files/file-common.txt (about) 1 Fields common to files, directories, and symlinks: 2 3 {"camliVersion": 1, 4 "camliType": "...", // one of "file", "directory", "symlink" 5 6 // At most one of these may be set. (zero may be present only for large files' subranges, 7 // represented as a tree of file schemas) But exactly one of these is required for 8 // top-level files, directories, symlinks, etc. 9 "fileName": "if-it-is-utf8.txt", // only for utf-8 10 "fileNameBytes": [65, 234, 234, 192, 23, 123], // if unknown charset (not recommended) 11 12 // Optional: 13 "unixPermission": "0755", // no octal in JSON, so octal as string 14 "unixOwnerId": 1000, 15 "unixOwner": "bradfitz", 16 "unixGroupId": 500, 17 "unixGroup": "camliteam", 18 "unixXattrs": [....], // TBD 19 "unixMtime": "2010-07-10T17:14:51.5678Z", // UTC-- ISO 8601, as many significant digits as known 20 "unixCtime": "2010-07-10T17:20:03.9212Z", // UTC-- ISO 8601, best-effort to match unix meaning 21 22 // Not recommended to include, but if you must: (atime is a bit silly) 23 "unixAtime": "2010-07-10T17:14:22.1234Z", // UTC-- ISO 8601 24 }