Introduction‎ > ‎

Data Types

The following data-types are defined for Property and Parameter values. Although quite similar, the table indicates where there are necessary differences.

 

Data-type

Description

Property

Parameter

Text

Simple text item (default data-type).

[Value]

Value

Integer

Non-negative whole number.

[Value]

Value

Number

Decimal number.

[Value]

Value

Measure

Decimal number with units.

Value, Units

--

Boolean

1=true, 0=false.

[Value]

Value

Date

Requires an std-date date-value, or a <Date> date-entity (see Dates).

[Value]

Value, only for ISO dates; no non-Gregorian calendars.

Enum

Enumerated set of possible values.

[Value]

--

EnumList

As per Enum but multiple entries can be concatenated with a period to create a dependent list, i.e. where each term is interpreted in the context of the previous one.

Value

--

PersonRef

Person (or Contact) reference.

[Key]

 

Key

PlaceRef

Place reference.

AnimalRef

Animal reference.

GroupRef

Group reference.

EventRef

Event reference.

PersonEL

Subject entity together with a relative EnumList value.

Key, [Value]

--

PlaceEL

AnimalEL

GroupEL

 

For Properties, a Value is considered optional if the original-text contains the same textual representation, and a Key is optional in those circumstances where an entity association is not available. For Parameters, Key references are mandatory when interfacing to citation-templates so that a corresponding object can be passed. During local Parameter substitution, the Key name is substituted.