This project is read-only.


Toss Global Vocabulary provides the foundation of semantic communications within Toss ecosystem. All entities defined in this vocabulary are “global” with unambiguous definitions including names, meanings, and formats. In this vocabulary, all entity names are in the format of namespaces. All single-letter namespaces at highest level are reserved by Toss. All entity values are UTF-8 encoded strings. Toss validate these strings to ensure they match format specification, but Toss doesn’t convert them to any other specific types (Toss client-side library, on the other hand, provide such conversions if you want to use Toss in a strongly-typed manner).


Entity names are in the format of name_language_. Where name is the name of the entity, and _language_ is the locale the entity is presented in (when applicable). There's no type description because everything are UTF-8 strings. Entity format is defined by associated regular expression(s). For example, c.i.text_en-US_ represents a piece of text in English.

Global Vocabulary

c.i namespace

This namespace contains commonly used entities within contexts of Internet applications/communications.
Entity meaning format
c.i.alias An user alias. The value can be displayed as user name but doesn't identify an user. N/A An email address ^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,6}$
c.i.object A serialized object N/A
c.i.text_language_ A literal text, in specified langauge N/A
c.i.url An URL TODO: regular expression goes here

Last edited Nov 9, 2011 at 1:15 AM by Haishi, version 4


No comments yet.