Difference between revisions of "Basic Types"

From DGIWG
Jump to: navigation, search
(Created page with "==== 1.1.1.1     Any ==== <div style="color:#000000;">This type stands for any type.</div> ==== 1.1.1.2     Date ==== <div style="margin-left:0cm;margin-right:0cm;"...")
 
Line 1: Line 1:
==== 1.1.1.1     Any ====
+
==== Any ====
  
 
<div style="color:#000000;">This type stands for any type.</div>
 
<div style="color:#000000;">This type stands for any type.</div>
  
==== 1.1.1.2     Date ====
+
==== Date ====
  
 
<div style="margin-left:0cm;margin-right:0cm;"><span style="color:#000000;">This is a calendar date indicating year, month and day. The format is conformant to ISO 8601: </span><span style="color:#000000;">'''YYYY-MM-DD'''</span></div>
 
<div style="margin-left:0cm;margin-right:0cm;"><span style="color:#000000;">This is a calendar date indicating year, month and day. The format is conformant to ISO 8601: </span><span style="color:#000000;">'''YYYY-MM-DD'''</span></div>
Line 17: Line 17:
 
<div style="color:#000000;margin-left:0cm;margin-right:0cm;">If only the year and month is known, use YYYY-MM.</div>
 
<div style="color:#000000;margin-left:0cm;margin-right:0cm;">If only the year and month is known, use YYYY-MM.</div>
  
==== 1.1.1.3     DateTime ====
+
==== DateTime ====
  
 
<div style="margin-left:0cm;margin-right:0cm;"><span style="color:#000000;">This is a combined Date and Time. The format is conformant to ISO 8601: </span><span style="color:#000000;">'''YYYY-MM-DDThh:mm:ssZ'''</span></div>
 
<div style="margin-left:0cm;margin-right:0cm;"><span style="color:#000000;">This is a combined Date and Time. The format is conformant to ISO 8601: </span><span style="color:#000000;">'''YYYY-MM-DDThh:mm:ssZ'''</span></div>
Line 34: Line 34:
 
<div style="color:#000000;margin-left:0cm;margin-right:0cm;">Although the DateTime definition allows for more precise temporal statements, the less precise values can also be used. For example, YY (century), YYYY (year), YYYY-MM( year, month), YYYY-MM-DD or YYYYMMDD (year, month, day), YYYY-MM-DDThh (year, month, day, hour), YYYY-MM-DDThh:mm (year, month, day, hour, minute), YYYY-MM-DDThh:mm:ss.d or YYYYMMDDThhmmss.d (year, month, day, hour, minute, second and decimals of seconds). The time zone should also be added, e.g. YYYY-M-DDThh:mm:ss.d+hh:mm.</div>
 
<div style="color:#000000;margin-left:0cm;margin-right:0cm;">Although the DateTime definition allows for more precise temporal statements, the less precise values can also be used. For example, YY (century), YYYY (year), YYYY-MM( year, month), YYYY-MM-DD or YYYYMMDD (year, month, day), YYYY-MM-DDThh (year, month, day, hour), YYYY-MM-DDThh:mm (year, month, day, hour, minute), YYYY-MM-DDThh:mm:ss.d or YYYYMMDDThhmmss.d (year, month, day, hour, minute, second and decimals of seconds). The time zone should also be added, e.g. YYYY-M-DDThh:mm:ss.d+hh:mm.</div>
  
==== 1.1.1.4     Float ====
+
==== Float ====
  
 
<div style="color:#000000;">A float is a finite representation of a decimal number. Values will be entered with a ‘full stop’ or ‘decimal point’ as the decimal separator.</div>
 
<div style="color:#000000;">A float is a finite representation of a decimal number. Values will be entered with a ‘full stop’ or ‘decimal point’ as the decimal separator.</div>
  
==== 1.1.1.5     Integer ====
+
==== Integer ====
  
 
<div style="color:#000000;">It is an exact, signed whole number, with no fractional part.</div>
 
<div style="color:#000000;">It is an exact, signed whole number, with no fractional part.</div>
  
==== 1.1.1.6     String ====
+
==== String ====
  
 
<div style="color:#000000;">An arbitrary-length sequence of characters. A string property or element can be represented as a URI, URL, URN or UUID string even if the value domain does not explicitly refer to the corresponding data types.</div>
 
<div style="color:#000000;">An arbitrary-length sequence of characters. A string property or element can be represented as a URI, URL, URN or UUID string even if the value domain does not explicitly refer to the corresponding data types.</div>
  
==== 1.1.1.7     URI ====
+
==== URI ====
  
 
<div style="color:#000000;">A Uniform Resource Identifier is a String compliant with IETF RFC 3986 used to reference information either collocated with or external to the referencing data. A URI property or element can be represented as URL even if the value domain does not explicitly refer to the corresponding data types.</div>
 
<div style="color:#000000;">A Uniform Resource Identifier is a String compliant with IETF RFC 3986 used to reference information either collocated with or external to the referencing data. A URI property or element can be represented as URL even if the value domain does not explicitly refer to the corresponding data types.</div>
  
==== 1.1.1.8     URL ====
+
==== URL ====
  
 
<div style="color:#000000;">A Uniform Resource Locator is a String compliant with IETF RFC 3986 used to reference information either collocated with or external to the referencing data.</div>
 
<div style="color:#000000;">A Uniform Resource Locator is a String compliant with IETF RFC 3986 used to reference information either collocated with or external to the referencing data.</div>
  
==== 1.1.1.9     UUID ====
+
==== UUID ====
  
 
<div style="color:#000000;">A Universal Unique Identifier is a String compliant with IETF RFC 4122 used to reference information either collocated with or external to the referencing data.</div>
 
<div style="color:#000000;">A Universal Unique Identifier is a String compliant with IETF RFC 4122 used to reference information either collocated with or external to the referencing data.</div>

Revision as of 05:35, 2 May 2018

Any

This type stands for any type.

Date

This is a calendar date indicating year, month and day. The format is conformant to ISO 8601: YYYY-MM-DD
Where:
* YYYY is a four digit code representing the year,
  • MM is a two digit code representing the month and
  • DD is a two digit code representing the day of the month.


If only the year is known, use YYYY.
If only the year and month is known, use YYYY-MM.

DateTime

This is a combined Date and Time. The format is conformant to ISO 8601: YYYY-MM-DDThh:mm:ssZ
Where:
* YYYY is a four-digit code representing the year,
  • MM is a two digit code representing the month (01= January, etc.)
  • DD is a two digit code representing the day of the month (01 through 31)
  • hh is a two digit code representing the hour (00 through 23) (am/pm NOT allowed)
  • mm is a two digit code representing the minutes (00 through 59)
  • ss is a two digit code representing the seconds (00 through 59)
  • T indicates the start of the required time section
  • Z represents the time zone designator in Coordinated Universal Time (UTC)


Although the DateTime definition allows for more precise temporal statements, the less precise values can also be used. For example, YY (century), YYYY (year), YYYY-MM( year, month), YYYY-MM-DD or YYYYMMDD (year, month, day), YYYY-MM-DDThh (year, month, day, hour), YYYY-MM-DDThh:mm (year, month, day, hour, minute), YYYY-MM-DDThh:mm:ss.d or YYYYMMDDThhmmss.d (year, month, day, hour, minute, second and decimals of seconds). The time zone should also be added, e.g. YYYY-M-DDThh:mm:ss.d+hh:mm.

Float

A float is a finite representation of a decimal number. Values will be entered with a ‘full stop’ or ‘decimal point’ as the decimal separator.

Integer

It is an exact, signed whole number, with no fractional part.

String

An arbitrary-length sequence of characters. A string property or element can be represented as a URI, URL, URN or UUID string even if the value domain does not explicitly refer to the corresponding data types.

URI

A Uniform Resource Identifier is a String compliant with IETF RFC 3986 used to reference information either collocated with or external to the referencing data. A URI property or element can be represented as URL even if the value domain does not explicitly refer to the corresponding data types.

URL

A Uniform Resource Locator is a String compliant with IETF RFC 3986 used to reference information either collocated with or external to the referencing data.

UUID

A Universal Unique Identifier is a String compliant with IETF RFC 4122 used to reference information either collocated with or external to the referencing data.