XML Schema Description (XSD)
Clinical, Biospecimen and Auxiliary data received from the BCRs in XML format. This content is described by and can be validated against the corresponding XSD documents. The XSDs define, among other things, the XML data elements that are allowed and required, their types and allowed values.
The complete XML schema is maintained in a Subversion repository at the DCC. The root of the repository can be found here:
From this URL, users can browse the XSD documents.
As part of a modular and reusable architecture, each disease specific XSD imports the following XSDs:
The clinical XSDs have the following list of imports:
Note that the version information of these imported XSD files are included in the namespace.
The Biospecimen XSD has the following list of imports:
Each element that is referenced in the XSD needs to be qualified by the namespace in which it is defined. For example, the XSD for BRCA references the element <day_of_birth>. This element is defined in
TCGA_BCR.Shared_Clinical_Elements.xsd. So, the reference in the XSD for BRCA looks like:
<xs:element ref="shared:day_of_birth" />
We see in this reference that the element name is 'day_of_birth' and the location (i.e., namespace) in which this element is defined is identified via the 'shared' alias.
In the XML instance document the 'day_of_birth' element will look like:
<shared:day_of_birth cde="2896952" xsd_ver="1.12" tier="1" owner="TSS" procurement_status="Completed">1</shared:day_of_birth>