An ICD is the umbrella document over the system interfaces; examples of what these interface specifications should describe include:
The inputs and outputs of a single system, documented in individual SIRS and HIRS documents, would fall under "The Wikipedia Interface Control Document."
The interface between two systems or subsystems, e.g. "The Doghouse to Outhouse Interface" would also have a parent ICD.
The complete interface protocol from the lowest physical elements to the highest logical levels would each be documented in the appropriate interface requirements spec and fall under a single ICD for the "system".
The purpose of the ICD is to control and maintain a record of system interface information for a given project. This includes all possible inputs to and all potential outputs from a system for some potential or actual user of the system. The internal interfaces of a system or subsystem are documented in their respective interface requirements specifications, while human-machine interfaces might be in a system design document. Interface control documents are a key element of systems engineering as they control the documented interface of a system, as well as specify a set of interface versions that work together, and thereby bound the requirements.
Characteristics
An application programming interface is a form of interface for a software system, in that it describes how to access the functions and services provided by a system via an interface. If a system producer wants others to be able to use the system, an ICD and interface specs is a worthwhile investment. An ICD should only describe the detailed interface documentation itself, and not the characteristics of the systems which use it to connect. The function and logic of those systems should be described in their own requirements and design documents as needed. In this way, independent teams can develop the connecting systems which use the interface specified, without regard to how other systems will react to data and signals which are sent over the interface. For example, the ICD and associated interface documentation must include information about the size, format, and what is measured by the data, but not any ultimate meaning of the data in its intended use by any user. An adequately defined interface will allow one team to test its implementation of the interface by simulating the opposing side with a simple communications simulator. Not knowing the business logic of the system on the far side of an interface makes it more likely that one will develop a system that does not break when the other system changes its business rules and logic. Thus, good modularity and abstraction leading to easy maintenance and extensibility are achieved.
Criticism
Critics of requirements documentation and systems engineering in general often complain of the over-emphasis on documentation. ICDs are often present on document-driven projects, but may be useful on agile projects as well. An ICD need not be a textual document. It may be an table of goes-intos and comes-out-ofs, a dynamic database representing each subsystem as a DB view, a set of interaction diagrams, etc. ICDs are often used where subsystems are developed asynchronously in time, since they provide a structured way to communicate information about subsystems interfaces between different subsystem design teams.