Data Type Registry - Structure 1.0

Recommendation 22 February 2011

Copyright ©2011 XBRL International Inc., All Rights Reserved.

This version:
<http://www.xbrl.org/Specification/dtr/REC-2011-02-22/dtr-REC-2011-02-22.html>
Editor:
Hugh Wallis, XBRL International Inc. <hughwallis@xbrl.org>

Status

Circulation of this Recommendation is unrestricted. This document is normative. Recipients are invited to submit comments to dtram@xbrl.org, and to submit notification of any relevant patent rights of which they are aware and provide supporting documentation.

Abstract

This document describes the structure of the XBRL International Data Type Registry. The Data Type Registry is an online listing of data types that have been identified as potentially having wide utility. The Registry contains structured information about their purpose, usage and any intended impact on XBRL instance validation.

Table of Contents

1 Goals
1.1 Relationship to other work
1.2 Terminology
1.3 Language
1.4 Document conventions
1.4.1 Typographic conventions
1.4.1.1 Definition notation
1.4.1.2 Footnote notation
1.4.1.3 Element and attribute notation
1.4.2 Formatting conventions
2 Data Model
3 Hosting on the XBRL.org website
4 Status of Data Types in the DTR and Implications for Software

Appendices

A Schema
A.1 dtr.xsd
B Sample dtr document (non-normative)
C References
D Intellectual property status (non-normative)
E Acknowledgements (non-normative)
F Document history (non-normative)
G Errata corrections in this document

Table

1 A DTR entry

Examples

1 A normative example
2 A non-normative example
3 An example of poor usage

Definitions

BPB
CR
DTR
DTRAM
ISC
IWD
PWD
SWG
TAPWG
TRTF
XSB
abstract element, bind, concept, concrete element, context, Discoverable Taxonomy Set (DTS), duplicate items, duplicate tuples, element, entity, equal, essence concept, fact, instance, item, least common ancestor, linkbase, period, taxonomy, tuple, unit, taxonomy schema, child, parent, sibling, grandparent, uncle, ancestor, XBRL instance, c-equal, p-equal, s-equal, u-equal, v-equal, x-equal, minimally conforming XBRL processor, fully conforming XBRL processor and any other terms not specifically defined elsewhere in this document but which are used and defined in the XBRL 2.1 specification.
referee


1 Goals

XBRL provides a set of standard data types that may appear in XBRL instances. These include those specified in [XBRL 2.1]. As XBRL applications emerge, new, non-standard data types having common and useful semantics are being proposed. The goal of the XBRL Data Type Registry (hereinafter "DTR") is to be a public, online data set that documents these non-standard data types and their usage. Additions and other changes to the DTR, like other XBRL International work products, will proceed through a series of steps whose goal is to maximise the utility and longevity of the new data types and the instances that use them. This process is documented in [DTR PROCESS].

1.1 Relationship to other work

This document pertains to XBRL as defined in the XBRL Specification [XBRL 2.1].

1.2 Terminology

The key words MUST, MUST NOT, REQUIRED, SHALL, SHALL NOT, SHOULD, SHOULD NOT, RECOMMENDED, MAY, and OPTIONAL, in this specification, are to be interpreted as described in [IETF RFC 2119].

abstract element, bind, concept, concrete element, context, Discoverable Taxonomy Set (DTS), duplicate items, duplicate tuples, element, entity, equal, essence concept, fact, instance, item, least common ancestor, linkbase, period, taxonomy, tuple, unit, taxonomy schema, child, parent, sibling, grandparent, uncle, ancestor, XBRL instance, c-equal, p-equal, s-equal, u-equal, v-equal, x-equal, minimally conforming XBRL processor, fully conforming XBRL processor and any other terms not specifically defined elsewhere in this document but which are used and defined in the XBRL 2.1 specification. are as defined by [XBRL 2.1] .

BPB refers to the XBRL International Best Practices Board .

CR refers to a Candidate Recommendation of XBRL International.

ISC refers to the XBRL International Steering Committee .

IWD refers to an Internal Working Draft of XBRL International.

DTR refers to the Data Types Registry that is the subject of this specification.

DTRAM refers to the Data Types Registry Approval Manager.

PWD refers to a Public Working Draft of XBRL International.

Referee is either the SWG, TRTF or TAPWG when performing an evaluation requested by the DTRAM.

SWG refers to the XBRL International Base Specification and Maintenance Working Group.

TAPWG refers to the Taxonomy Architecture Practice Working Group set up by the BPB.

TRTF refers to the Taxonomy Review Task Force set up by the BPB.

XSB refers to the XBRL International Standards Board .

1.3 Language

The official language of XBRL International's own work products is English and the preferred spelling convention is UK English.

All documentation supporting a registry entry MUST be provided in English, and MAY be provided in additional languages.

1.4 Document conventions

1.4.1 Typographic conventions

1.4.1.1 Definition notation

Definitions are highlighted with green text.

1.4.1.2 Footnote notation

Comments which are informative, but not essential to the understanding of the point at hand, are provided in footnotes. All footnotes are non-normative.

1.4.1.3 Element and attribute notation

When referring to a specific element, it will be identified by its namespace prefix and local name. For example, the root element for a specification container element would be referred to as <variable:generalVariable> .

Attributes are also identified by their local name and, where appropriate, their namespace prefix. Attributes are distinguished from elements by prefixing them by an @ symbol. Thus, @id refers to the attribute with the name id.

When referring to any attribute, so long as it has a specific namespace, the local name is replaced by an asterisk ( *). Thus, the notation @xml:* specifies any attribute in the namespace http://www.w3.org/XML/1998/namespace.

1.4.2 Formatting conventions

The following highlighting is used for normative technical material in this document:

Example 1: A normative example

Text of the normative example.

The following highlighting is used for non-normative examples in this document:

Example 2: A non-normative example

Text of the helpful example.

Next paragraph of the helpful example.

Example 3 shows the formatting for non-normative examples of poor, discouraged or disallowed usage.

Example 3: An example of poor usage

The example itself.

2 Data Model

The data model of the DTR is a list of each data type definition augmented with additional indicators and information needed by developers.

Table 1: A DTR entry
Field Type Explanation Example
Data Type Namespace anyURI This is the namespace of the data type being defined.

If the semantics of a data type in the registry have been changed from any earlier entry of a type with the same local name and with a status of ACK or RR (and therefore which subsequently appears with a status of NIE or RR) then it MUST have a namespace that is different from that of any earlier entry.

http://www.xbrl.org/dtr/type/non-numeric

Data Type Name NCName This is the local name of the data type being defined.

A data type in the registry MUST NOT have the same local name as any other type in the registry which has a status that is not NIE or RR, regardless of namespace.

domainItemType

Status {CR, REC, NIE, PROPOSED, ACK, RR} The XBRL International status of this data type.
  • CR - Candidate Recommendation
  • REC - RECOMMENDATION
  • NIE - Not in effect (for whatever reason other than RR such as being withdrawn, superseded, found to be invalid etc.)
  • PROPOSED - Submitted but with no official status yet granted by XBRL International
  • ACK - Acknowledged by XBRL International (indicates that the data type is not being considered for REC status but is listed in the DTR for information purposes)
  • RR - Rescinded RECOMMENDATION

PROPOSED

Authoritative Location anyURI URI of fragment in a schema where the definition resides.

http://www.xbrl.org/dtr/type/numeric-2009-12-16.xsd

Version Date date Effective date of this version of the data type; all versions of the same data type with earlier dates are effectively superseded.

2009-08-27

Requirements XHTML mixed A statement of the requirements that gave rise to this data type. Requirements in different languages are distinguished using the @xml:lang attribute and an ISO 639 language code [ISO].

Requested by major taxonomy project

Definition XHTML mixed The meaning of the data type described in the same way as if it were part of an XBRL Specification. Definitions in different languages are distinguished using the @xml:lang attribute and an ISO 639 language code [ISO] .

The domain member item type indicates that an element is a domain member.

Version of XBRL token The XBRL version for which this an extension. Note that a data type could be "promoted" into a standard data type in some future version of the specification.

2.1

Minimum Edition Date date The XBRL edition date and beyond for which this is an extension.

2004-11-14

3 Hosting on the XBRL.org website

The latest version of the DTR will be placed at a fixed location on the xbrl.org website and will be the file at the URL http://www.xbrl.org/dtr/dtr.xml. Each version will also be permanently archived in a subdirectory whose name contains the date on which it became effective (e.g. http://www.xbrl.org/dtr/2009-01-22/dtr.xml). This is analogous to the archival convention for specification schemas.

4 Status of Data Types in the DTR and Implications for Software

The definition of any data type that has the status of REC in the DTR is normative.

The definitions of any data types with any other status are non-normative and are provided for information only. If a data type has the status of ACK it is not intended that it should ever proceed on the track to having REC status. It MAY have a status in a closed environment that imposes certain requirements on software that is customised for that particular environment, however XBRL International makes no representations whatsoever about such data types.

Software vendors are NOT obliged to implement support for any REC data type in order to continue to claim that they support the base specification.

It is expected that software vendors will make claims regarding which additional data types they support. They MUST point to successful exercise of any relevant conformance suite tests in order to substantiate such claims.

Appendix A Schema

The following is the XML schema corresponding to the data model described in Section 2. It is normative. Non-normative versions (which should be identical to this except for appropriate comments indicating their non-normative status) are also provided as separate files for convenience of users of the specification.

Following the schema maintenance policy of XBRL International, it is the intent (but is not guaranteed) that the location of non-normative versions of these schemas on the web will be as follows: While any

  1. While any schema is the most current RECOMMENDED version and until it is superseded by any additional errata corrections a non-normative version will reside on the web at: http://www.xbrl.org/dtr/dtr.xsd
  2. A non-normative version of each schema as corrected by this update to the RECOMMENDATION will be archived in perpetuity on the web at: http://www.xbrl.org/dtr/2010-07-05/dtr.xsd

A.1 dtr.xsd

<xs:schema
xmlns:xs
="http://www.w3.org/2001/XMLSchema"

xmlns:dtr
="http://www.xbrl.org/2009/dtr"
targetNamespace="http://www.xbrl.org/2009/dtr" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:complexType name="DocumentationType" mixed="true">
<xs:annotation>
<xs:documentation>
Definition of a type to contain mixed text and XHTML markup
</xs:documentation>
</xs:annotation>
<xs:complexContent mixed="true">
<xs:restriction base="xs:anyType">
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:any namespace="http://www.w3.org/1999/xhtml" processContents="lax"/>
</xs:sequence>
<xs:anyAttribute namespace="http://www.w3.org/XML/1998/namespace" processContents="lax"/>
</xs:restriction>
</xs:complexContent>
</xs:complexType>
<xs:group name="typeGroup">
<xs:sequence>
<xs:element ref="dtr:typeNamespace"/>
<xs:element ref="dtr:typeName"/>
<xs:element ref="dtr:status"/>
<xs:element ref="dtr:versionDate"/>
<xs:element ref="dtr:authoritativeHref"/>
<xs:element ref="dtr:requirement" maxOccurs="unbounded"/>
<xs:element ref="dtr:definition" maxOccurs="unbounded"/>
<xs:element ref="dtr:versionOfXBRL"/>
<xs:element ref="dtr:minimumEditionDate"/>
</xs:sequence>
</xs:group>
<xs:element name="dtr">
<xs:annotation>
<xs:documentation>
Root element of the XBRL Data Type Registry
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="types">
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="type">
<xs:complexType>
<xs:group ref="dtr:typeGroup"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="version" type="xs:token" fixed="1.0"/>
</xs:complexType>
</xs:element>
<xs:element name="typeNamespace" type="xs:anyURI">
<xs:annotation>
<xs:documentation>
This is the namespace for type being defined.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="typeName" type="xs:NCName">
<xs:annotation>
<xs:documentation>
This is the local name of the type being defined.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="status">
<xs:annotation>
<xs:documentation>
The XBRL International status of this type. CR, REC, NIE, PROPOSED, ACK or RR.
</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="CR"/>
<xs:enumeration value="REC"/>
<xs:enumeration value="NIE"/>
<xs:enumeration value="PROPOSED"/>
<xs:enumeration value="ACK"/>
<xs:enumeration value="RR"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="versionDate" type="xs:date">
<xs:annotation>
<xs:documentation>
Effective date of this version of the type; all versions of the same type with earlier dates are effectively superseded
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="versionOfXBRL" type="xs:token">
<xs:annotation>
<xs:documentation>
The XBRL version for which this is an extension. In principle, a type could be "promoted" into a standard type in some future version of the specification.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="minimumEditionDate" type="xs:date">
<xs:annotation>
<xs:documentation>
The XBRL edition date and beyond for which this is an extension.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="requirement" type="dtr:DocumentationType">
<xs:annotation>
<xs:documentation>
A statement of the requirements that gave rise to this type. Requirements in different languages are distinguished using the xml:lang attribute.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="definition" type="dtr:DocumentationType">
<xs:annotation>
<xs:documentation>
The meaning of the type described in the same way as if it were in the Specification. Definitions in different languages are distinguished using the xml:lang attribute.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="authoritativeHref">
<xs:annotation>
<xs:documentation>
The absolute URI where the schema definition of the type is found.
</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:anyURI">
<xs:pattern value=".*#.*"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:schema>

Appendix B Sample dtr document (non-normative)

The following is an example of a dtr (as defined by the schema in Appendix A above). It contains only a single entry to illustrate the definition of a data type.

   <?xml version="1.0" encoding="UTF-8"?>
  
<dtr
xmlns:xsi
="http://www.w3.org/2001/XMLSchema-instance"

xmlns
="http://www.xbrl.org/2009/dtr"
version="1.0" xsi:schemaLocation="http://www.xbrl.org/2009/dtr dtr.xsd">
<types>
<type>
<typeNamespace>
http://www.xbrl.org/dtr/type/non-numeric
</typeNamespace>
<typeName>
escapedItemType
</typeName>
<status>
CR
</status>
<versionDate>
2009-12-16
</versionDate>
<authoritativeHref>
http://www.xbrl.org/dtr/type/nonNumeric-2009-12-16.xsd#escapedItemType
</authoritativeHref>
<requirement xml:lang="en">
Interoperable Taxonomy Architecture (ITA) initiative requirement for alignment of the EDINET, IFRS and US GAAP taxonomies.
</requirement>
<definition xml:lang="en">
escapedItemType specializes string. There is no constraint on whether the resulting unescaped content is well-formed or not; this base type is exists so that processors know what to do with the content. It is a suitable base type for a data type whose unescaped content must be valid HTML 4.0 (which is not XML).
</definition>
<versionOfXBRL>
2.1
</versionOfXBRL>
<minimumEditionDate>
2003-12-31
</minimumEditionDate>
</type>
</types>
</dtr>

Appendix C References

DTR PROCESS
XBRL International Inc.. "Data Type Registry - Process 1.0"
Hugh Wallis.
(See http://www.xbrl.org/Specification/dtr/REC-2011-02-22/dtr-process-REC-2011-02-22.html)
IETF RFC 2119
IETF (Internet Engineering Task Force). "RFC 2119: Key words for use in RFCs to Indicate Requirement Levels"
Scott Bradner.
(See http://www.ietf.org/rfc/rfc2119.txt)
ISO
International Standards Organisation. " ISO 4217 Currency codes, ISO 639 Language codes, ISO 3166 Country codes, ISO 8601 international standard numeric date and time representations. "
(See http://www.iso.ch/)
XBRL 2.1
XBRL International Inc.. "Extensible Business Reporting Language (XBRL) 2.1 Includes Corrected Errata Up To 2008-07-02"
Phillip Engel, Walter Hamscher, Geoff Shuetrim, David vun Kannon, and Hugh Wallis.
(See http://www.xbrl.org/Specification/XBRL-RECOMMENDATION-2003-12-31+Corrected-Errata-2008-07-02.htm)

Appendix D Intellectual property status (non-normative)

This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this paragraph are included on all such copies and derivative works. However, this document itself may not be modified in any way, such as by removing the copyright notice or references to XBRL International or XBRL organizations, except as required to translate it into languages other than English. Members of XBRL International agree to grant certain licenses under the XBRL International Intellectual Property Policy (www.xbrl.org/legal).

This document and the information contained herein is provided on an "AS IS" basis and XBRL INTERNATIONAL DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.

The attention of users of this document is directed to the possibility that compliance with or adoption of XBRL International specifications may require use of an invention covered by patent rights. XBRL International shall not be responsible for identifying patents for which a license may be required by any XBRL International specification, or for conducting legal inquiries into the legal validity or scope of those patents that are brought to its attention. XBRL International specifications are prospective and advisory only. Prospective users are responsible for protecting themselves against liability for infringement of patents. XBRL International takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Members of XBRL International agree to grant certain licenses under the XBRL International Intellectual Property Policy (www.xbrl.org/legal).

Appendix E Acknowledgements (non-normative)

This document could not have been written without the contributions of many people.

Appendix F Document history (non-normative)

DateAuthorDetails
05 July 2010Hugh Wallis

Initial version based on LRR

14 September 2010Hugh Wallis

Updated to reflect comments received on the CR of 2010-07-05.

05 January 2011Hugh Wallis

Updated to clarify section 4 language prior to advancing to REC.

Appendix G Errata corrections in this document

This appendix contains a list of the errata that have been incorporated into this document. This represents all those errata corrections that have been approved by the XBRL International Link Role Registry Approval Manager up to and including 22 February 2011. Hyperlinks to relevant e-mail threads may only be followed by those who have access to the relevant mailing lists. Access to internal XBRL mailing lists is restricted to members of XBRL International Inc.

No errata have been incorporated into this document.