close

  
Filter options:

Freebase Commons Common /common

  • In simplest terms, a Compound Value Type (or CVT) is a type in which the property fields are connected to each other and have a defined relationship. Some examples include Musical Group Membership, which contains the properties Member, Group, Roles, Period (start) and Period (end), and Film Performance, which contains the properties Actor, Character, and Special Performance Type. There are two special aspects relating to the way that compound value types are displayed. First, the properties of a compound value type are intended to be displayed on a single line, so that when a user clicks edit next to a property that uses a CVT as its expected type, they will see all the properties of that type displayed next to one another. If you edit the Performances property for a film, for example, which has the CVT of Film Performances as its expected type, you'll see the empty fields for Actor, Character and Special Performance Type appear on a single line for that property. One way to think of a CVT is that it's a method for providing multiple information fields for a single property when that property uses the CVT as its expected type. Another special aspect of a CVT is that, while each of its properties can be a type that has its own list of topics (for example, the Actor property in Film Performances has an expected type of Film Actor, which has its own list of Film Actor topics), there are no topics associated with the CVT type itself. There are, for example, no individual Film Performance topics; if you look at the Film Performance type, you'll see that there are topics listed for each of its properties, but there are no individual Film Performance topics. Creating a CVT is relatively simple. Use either the Schema tab within a base or the My Types tab on your personal homepage to create a new type. Click on the name of the new type in either location to open the Schema Editor. Click edit next to display. Select Compound value type, then click save. Use Add New to create the properties for your CVT just as you would the properties for any other type. For each property be sure to select Disambiguator under Set display preferences. Note that you cannot use a CVT as the expected type for a property within another CVT. For example, if you are creating a CVT that should display money values, you would have to have separate properties for currency and amount, rather than using the existing Dated Money Value CVT. For more on compound value types, see the Developer Blog

Freebase Commons Freebase /freebase

Comments

Hide