UserPreferences

Examples of roles


This page presents a few examples of roles and the way they are used to interpret the information contained in a u-form.

Country u-forms

Consider, for example, the u-form for Trinidad and Tobago, which includes the following UUID, attributes and values.

(The complete u-form for Trinidad and Tobago can be viewed [WWW]here.)

UUID: ~01a7c66766786311d79a4611d0198c3fee
name: TRINIDAD AND TOBAGO
iso_code: TT
child_subdivision_name County
latitude: 11.0
longitude: -61.0
population 1163724
population_date MAYA.VIA.vsmf.Date._( '2002-07-01' )

To a human who can read and interpret the words on this page, many of these attributes and values make plenty of intuitive sense. You know what a name is, you know what a country is. Population is obvious, and even the population_date can be read fairly easily (the MAYA.VIA.vsmf.Date tells the system that the date is being read according to the Visage Standard Message Format (see VSMF). Even if you can't remember how latitiude and longitude are measured, you're probably aware on some level that these numbers can be used to decide where to put Trinidad and Tobago on a map, and to work out how far Trinidad and Tobago is from other countries. The attribute child_subdivision_name refers to the administrative units directly below country in the hierarchy of places. Not only countries, but counties, states, departments and many other territorial divisions have 'child' (i.e. smaller dependent) subdivisions of this sort.

Development of this documentation will continute as part of the Content Management System.

In the meantime, see the list of Common Roles, linked below

Collections and Indexes

Some of the basic collections and indexes we use to organize and search u-forms are structures defined via the role system. These include the roles for

[WWW]Collection UUID: ~fd000a02510bfd17204424
[WWW]Annotated Collection UUID: ~fd000a02510bfdad92deec
[WWW]Scalable Collection Head Segment UUID: ~01b8b8d720d01e11d8a50d487872f16706
[WWW]Scalable Collection Segment UUID: ~01d2021300d01d11d8932f026153455feb
[WWW]Hierarchical Index UUID: ~0154e6e38690b311d893802e51302e71a3
[WWW]Name Index UUID: ~01db1c7e4297bf11d8ae2942932ee37e3a

Facilities, Organizations, Service Offerings, Activities and Events

These roles are used by several projects and are maturing into a fairly general information architecture.

See the page on Event Representation.

Common Roles

The following UUID [WWW]~01202fe3b0e51d11d68c0729ba10a16139 contains a list of common roles that you should have a look at.


Back to CiviumDocumentation