xbrl.taxonomy.TaxonomySchema

An xbrl.taxonomy.TaxonomySchema class represents a taxonomy schema in the DTS.

Base class: xsd.SchemaElement

class xbrl.taxonomy.TaxonomySchema

Proper instances of this class will be created within RaptorXML only, instantiation from script code will throw a NotImplementedError exception.

Attributes

xbrl.taxonomy.TaxonomySchema.arcrole_types

Returns an iterator of xbrl.taxonomy.ArcroleType objects which represent the <link:arcroleType> elements present in this XBRL taxonomy schema.

xsd.SchemaElement.components

Returns an iterator of xsd.Component objects that are top level components physically present in this schema XML element. Please note that include, import, redefine and override are ignored when computing the result.

xbrl.taxonomy.TaxonomySchema.concepts

Returns an iterator of xbrl.taxonomy.Concept objects which represent the concepts defined in this XBRL taxonomy schema.

xbrl.taxonomy.TaxonomySchema.document

Returns an xbrl.taxonomy.TaxonomySchemaDocument object which represents the XBRL taxonomy schema document which contains this XBRL taxonomy schema.

xsd.SchemaElement.element

Returns the <xs:schema> xml.ElementInformationItem which is the underlying XML representation of this schema XML element.

xsd.SchemaElement.id

Returns the value of the ‘id’ attribute as a string, or None if the schema XML element doesn’t have an ‘id’ attribute.

xbrl.taxonomy.TaxonomySchema.linkbase_refs

Returns an iterator of xbrl.taxonomy.LinkbaseRef objects which represent the <link:linkbaseRefs> elements present in this XBRL taxonomy schema.

xbrl.taxonomy.TaxonomySchema.linkbases

Returns an iterator of xbrl.taxonomy.Linkbase objects which represent the <link:linkbase> elements present in this XBRL taxonomy schema.

xsd.SchemaElement.references

Returns an iterator of xsd.Include, xsd.Import, xsd.Override or xsd.Redefine objects from this schema document to other xsd.SchemaDocument objects.

xbrl.taxonomy.TaxonomySchema.role_types

Returns an iterator of xbrl.taxonomy.RoleType objects which represent the <link:roleType> elements present in this XBRL taxonomy schema.

xsd.SchemaElement.target_namespace

Returns the value of the targetNamespace attribute of this schema XML element.

xsd.SchemaElement.version

Returns the value of the ‘version’ attribute as a string, or None if the schema XML element doesn’t have an ‘version’ attribute.

xsd.SchemaElement.xml_lang

Returns the value of the ‘xml:lang’ attribute as a string, or None if the schema XML element doesn’t have an ‘xml:lang’ attribute.

Special methods

__bool__, __eq__, __ge__, __gt__, __le__, __lt__, __ne__