Skip to content

Tuple element

bseddon edited this page Nov 10, 2016 · 1 revision

A potential component of a taxonomy element is a tuple element. If an element is in the substitution group is xbrli:tuple then element will contain as part of its definition a list of name/value pairs representing the allowed data values for the element. When an element is a tuple then the 'taxonomy_element' will contain a member with index key 'tuple_elements'. This is an array containing a set of values. The example below is for the element 'DetailsExerciseSpecificOptionsDirectorsGrouping' in the UK Companies House Audit Exempt taxonmy 2009 shown formatted in JSON.

'tuple_elements' : [
	{
		'name' :'ExerciseDate',
		'namespace' : 'http://www.xbrl.org/uk/reports/direp/2009-09-01'
	}, {
		'name' : NumberOptionsExercisedDateDirectors',
		'namespace' : 'http://www.xbrl.org/uk/reports/direp/2009-09-01'
	}, {
		'name' : 'MarketPriceExerciseDate',
		'namespace' : 'http://www.xbrl.org/uk/reports/direp/2009-09-01'
	}, {
		'name' : 'GainLossOnExerciseSpecificOptionsDateDirectors',
		'namespace' : 'http://www.xbrl.org/uk/reports/direp/2009-09-01;
	}
]
Clone this wiki locally