XBRL Definitions Prohibition Example
Thursday, June 19, 2014 at 06:08AM
Charlie in Becoming an XBRL Master Craftsman

In my prior blog post I talked about how XBRL can be used to prohibit relations.  So I created an example of this and show how it would be used.  I will walk you through how I did this.

Here is the end result: XBRL Taxonomy Schema, XBRL Definition Relations.  (Both of these should load into any quality XBRL tool.  If you can use the Arelle GUI which is open source.)

So here is the use case.  OK, there are some set of business rules which have been defined, organized, and generated in the XBRL format such as these which I used in that prior blog post.  But those rules are somewhat LAX, you want a more STRICT set of rules. Say you want to do the following:

Here is how you prohibit those relations which disallow those options:

  1. You create an empty XBRL taxonomy schema. Here is an example. That is just a schema which references the XBRL schema.
  2. You import the set of business rules you are using. That is the business rules from the previous example in this case.
  3. You save the schema then open it in your XBRL taxonomy editor and create new relations which prohibit the existing relations.
  4. You resave the schema and your XBRL taxonomy editor will automatically save the definition relations you articulated and link it to your taxonomy schema. (Again, this is the end result which is the same as above: XBRL Taxonomy Schema, XBRL Definition Relations)

Visually, what you created looks something like what my XBRL taxonomy editor shows in the graphic below:

(Click image for larger view)

If you look at the XBRL definition relations, you will notice that you did not really delete anything.  You cannot do that because you don't "own" the business rules.  You cannot edit those.  What you do is create new relations which prohibit the existing relations.  You can see this if you look at the XBRL Definition relations, notice the use='prohibited' attribute on the definitionArc element.

That is all there is to it.

Article originally appeared on XBRL-based structured digital financial reporting (http://xbrl.squarespace.com/).
See website for complete article licensing information.