Skip to content

Instantly share code, notes, and snippets.

@rizo
Last active December 18, 2015 08:09
Show Gist options
  • Select an option

  • Save rizo/5751926 to your computer and use it in GitHub Desktop.

Select an option

Save rizo/5751926 to your computer and use it in GitHub Desktop.
Each entry in the knowledge processing engine is called a 'document'. Each document may be composed of multiple data objects, such as images, embedded audio files or text fragments, to list a few. Although the engine is fully content agnostic the official environment system distribution includes some fundamental types that are used internally to…
module core.data.type;
// Enumeration of the core hierarchy types.
enum : string
{
item = "core.item", // Abstract item.
list = "core.item.list", // Abstract List of items.
file = "core.item.file", // Filesystem object.
link = "core.item.link", // A reference to an item.
data = "core.item.data", // Binary data object.
meta = "core.item.data.meta", // Metadata item.
text = "core.item.data.text" // Text data object.
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment