blob: 5a871596d4951e06a8303eba5de3abde4d253dc1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# The basic types that can be used for atomic fields. Types not defined
# here are complex types, made up of several atomic or complex types.
int: An integer number. External form: as in TDF.
float: A floating point number. External form: as in TDF.
bool: A Boolean value, either "true" or "false".
string: A string. Use this base type for free-form strings that are not
meant to be localized. Strings can contain arbitrary Unicode characters.
External form: as in TDF.
timestamp: A point in time. External form: like the `YAML timestamp
<http://yaml.org/type/timestamp.html>`_ type.
identifier(string):
An identifier, made up of alphanumeric characters and underscores.
freetext(string):
Text that can be localized (translated in other languages).
# Unit types
capacitance(float):
An electric capacitance, measured by default in farad (F).
length(float): A length, measured by default in meter (m).
mass(float): A mass, measured by default in kilogram (kg).
power(float): A (physical) power, measured by default in watt (W).
resistance(float):
A electrical resistance or impedance, measured by default in ohm (Ω).
voltage(float): A voltage (electrical potential difference), measured by
default in volt (V).
# CSV types contain several pieces of information wrapped in a single
# string, formatted as a CSV fragment: items are comma-separated; if an
# item contains commas or newlines, it must be enclosed in quotation marks.
# CSV types are defined by giving a comma-separated list of field names in
# parentheses; each followed by "=" and the field type; a "?" preceding the
# field name marks the field as optional (may be omitted or empty).
contact(?givenName=string, ?surname=string, ?emailAddress=string):
Provides a minimum of contact information about a person: name and
e-mail address.
|