Changes between Initial Version and Version 1 of Metadata

Show
Ignore:
Timestamp:
04/20/09 13:24:40 (17 months ago)
Author:
madbob
Comment:

first edit

Legend:

Unmodified
Added
Removed
Modified
  • Metadata

    v1 v1  
     1= Metadata = 
     2 
     3Due the fact in Lobotomy metadata are the core of every kind of data retrive, handling, sorting, visualization, they have to be accurately described. Given a number of attributes and properties assigned to each of them most of elaboration may be defined a priori, so to guarantee integrity in presentation and automatic manipulation with a reduced code base. 
     4 
     5A metadata is a key to which a value may be assigned, and the pair "key, value" is attached to the [wiki:Items item]. Each possible key is formalized in a describtion, so upper layers know how to handle the value also without explicit intervent by the user or by the developer writing an application. Over the formal describtion, more attributes accompaign the metadata and are equal for all of them. 
     6 
     7More in general, a metadata is so rappresented: 
     8 * ID: a numeric unique identifier for the type of metadata, used internally to retrive it against an item ID 
     9 * Name: a human-readable name, which may be show along the value 
     10 * Type: the type of value the metadata convey 
     11 * Value: the value the metadata assumes for the item to which is attached. This is the only field the user may edit 
     12 * Date: the date in which the metadata was assigned and/or modified. This permits complex orthogonal elaboration against chronological informations collected by the system 
     13 * Attributes: advanced optional properties for the metadata. They may be: 
     14   * More Values: if the metadata accepts an array of values as value 
     15   * Enum: list of values accepted by the metadata, if it has type = Enum 
     16   * Min Value: minimum value accepted by the metadata, if the type is numeric 
     17   * Max Value: maximum value accepted by the metadata, if the type is numeric 
     18 
     19Types of values metadata can collect are: 
     20 * String 
     21 * Integer 
     22 * Unsigned integer 
     23 * Long long 
     24 * Unsigned long long 
     25 * Double 
     26 * Boolean 
     27 * Internal Reference, is an ID for another item 
     28 * Enum, is a set of possible values 
     29 * Date 
     30 * Percentage 
     31 
     32This is an incomplete list of metadata which may be attached to items, more will be added in time: 
     33 
     34|| '''Name''' || '''Description''' || '''Type''' || '''Extending Attributes''' || 
     35|| ID || Unique identifier for the item || Unsigned long long || || 
     36|| Name || The name assigned to the item, rappresents a viable way to present it || String || || 
     37|| Size || Filesize, if it is a file || Integer, expressed in bytes || || 
     38|| Mimetype || Mimetype of the item, if it is a file || Enum/String || The list of mimetypes described by IANA || 
     39|| Creation Date || The date the item have been created. This is intended to be an absolute value, carrying the effective date in which the content have been created on the original system || Date ||  || 
     40|| Appearing Date || The date the item has appeared on the system. If the item has been created on the system, is equal to Creation Date || Date || || 
     41|| Modification Date || List of dates in which the item have been opened, modified and closed || Date || More Values || 
     42|| Access Date || List of dates in which the item have been opened and closed || Date || More Values || 
     43|| Change Date || List of dates in which any metadata of the item have been changed || Date || More Values || 
     44|| Icon || Icon which may be assigned to the specific item || Internal Reference || || 
     45|| MD5 || MD5 hash of the contents || String || || 
     46|| Notes || Freely editable notes by the user || String || || 
     47|| Tags || Tags assigned to the item by the user || String || More Values || 
     48|| Group || Freely editable name of the group of items in which this fit || String || More Values || 
     49 
     50Please note that, despite the fact some metadata is specific for particular mimetypes, every metadata may be attached to every item, without restrictions on the original file format. All values help retriving contents, and occasionally [wiki:Staminal trasforming] it.