Last active
December 18, 2015 08:09
-
-
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…
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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