From cd829eedb5bfc7328ab5266650a625a6c88db6fa Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 20 May 2019 16:57:57 -0700 Subject: start refactoring guide (per-entity pages) --- guide/src/entity_fileset.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 guide/src/entity_fileset.md (limited to 'guide/src/entity_fileset.md') diff --git a/guide/src/entity_fileset.md b/guide/src/entity_fileset.md new file mode 100644 index 00000000..7e5ac757 --- /dev/null +++ b/guide/src/entity_fileset.md @@ -0,0 +1,21 @@ + +# Fileset Entity Reference + +## Fields + +Warning: This schema is not yet stable. + +- `manifest` (array of objects): each entry represents a file + - `path` (string, required): relative path to file (including filename) + - `size` (integer, required): in bytes + - `md5` (string): MD5 hash in lower-case hex + - `sha1` (string): SHA-1 hash in lower-case hex + - `sha256` (string): SHA-256 hash in lower-case hex + - `extra` (object): any extra metadata about this specific file +- `urls`: An array of "typed" URLs. Order is not meaningful, and may not be + preserved. + - `url` (string, required): + Eg: "https://example.edu/~frau/prcding.pdf". + - `rel` (string, required): + Eg: "webarchive". +- `release_ids` (array of string identifiers): references to `release` entities -- cgit v1.2.3