OPTIONS_KEY = u"options"

HISTORY_ACTION_START = u"start"
HISTORY_ACTION_QUANTIFY = u"quantify"
HISTORY_ACTION_MERGE = u"merge"
HISTORY_ACTION_PATCH = u"patch"
HISTORY_ACTION_SCOPE = u"scope"

# numbers
VALUE_TYPE_NUMERIC_NUMBER   = u"numeric::number"
VALUE_TYPE_NUMERIC_SET      = u"numeric::set"
VALUE_TYPE_NUMERIC_RANGE    = u"numeric::range"
VALUE_TYPE_NUMERIC_STEP     = u"numeric::step"

# choices & values
VALUE_TYPE_SET_STRING      = u"set::string"

# special versions of string with added stuff
VALUE_TYPE_SET_COLOUR      = u"set::colour"
VALUE_TYPE_SET_SIZE        = u"set::size"

VALUE_TYPE_SET_NULL        = u"set::null"

VALUE_TYPE_VALUE_STRING    = u"string"
VALUE_TYPE_VALUE_COLOUR    = u"colour"
VALUE_TYPE_VALUE_SIZE      = u"size"

# boolean
VALUE_TYPE_BOOLEAN     = u"boolean"

# choices with members of a taxonomy
VALUE_TYPE_SET_RESOURCE  = u"set::resource"

MAX_VALUE_SET_SIZE = 1000000

# key names
VALUES_KEY_NAME = u"values"