<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright (c) 2009 DDI Alliance, DDI 3.1, 2009-10-18 This file is part of DDI 3.1 XML Schema. DDI 3.1 XML Schema is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. DDI 3.1 XML Schema is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with DDI 3.1 XML Schema. If not, see <http://www.gnu.org/licenses/>. --> <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="ddi:conceptualcomponent:3_1" xmlns="ddi:conceptualcomponent:3_1" xmlns:r="ddi:reusable:3_1" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:annotation> <xs:documentation> Concept, Universe, and Geography schemes used by the data being documented, or references to those schemes. </xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation> Concept, Universe, and Geography schemes used by the data being documented, or references to those schemes. </xs:documentation> </xs:annotation> <xs:complexContent> <xs:sequence> <xs:annotation> <xs:documentation> Provides information about the topical, spatial, and temporal coverage of the conceptual components included in this module. </xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation> Provides information about external resources related to the conceptual components described in this module. </xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation> Footnote, or annotation, associated with the conceptual components des cribed in this module. </xs:documentation> </xs:annotation> </xs:element> <xs:choice maxOccurs="unbounded" minOccurs="0"> <xs:annotation> <xs:documentation> Includes a comprehensive list of the concepts measured by the data that are being documented. </xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation> Allows for inclusion by reference of an external concept scheme. </xs:documentation> </xs:annotation> </xs:element> </xs:choice> <xs:choice maxOccurs="unbounded" minOccurs="0"> <xs:annotation> <xs:documentation> Includes a comprehensive list of the Universes and sub-universes of the data that are being documented. </xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation> Allows for inclusion by reference of an external universe scheme. </xs:documentation> </xs:annotation> </xs:element> </xs:choice> <xs:choice maxOccurs="unbounded" minOccurs="0"> <xs:annotation> <xs:documentation>Contains a collection of geographic structures.</xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation> Allows for inclusion by reference of a previously defined geographic structure scheme, either internal to, or external to the DDI instance. </xs:documentation> </xs:annotation> </xs:element> </xs:choice> <xs:choice maxOccurs="unbounded" minOccurs="0"> <xs:annotation> <xs:documentation>Contains a collection of geographic locations.</xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation> Allows for inclusion by reference of a previously defined geographic location scheme, either internal to or external to the DDI instance. </xs:documentation> </xs:annotation> </xs:element> </xs:choice> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:annotation> <xs:documentation> Includes a comprehensive list of the concepts measured by the data that are being documented. </xs:documentation> </xs:annotation> <xs:complexContent> <xs:sequence> <xs:annotation> <xs:documentation>A display label for the concept scheme.</xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation>A description of the use of the concept scheme.</xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation> Provides for inclusion by reference of other concept schemes. </xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation> Provides information about the vocabulary used to create the concept scheme. </xs:documentation> </xs:annotation> </xs:element> <xs:choice maxOccurs="unbounded" minOccurs="0"> <xs:annotation> <xs:documentation> Container for an individual concept included in the concept scheme. </xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation> Documents an individual data element concept (per ISO/IEC 11179) included in the concept scheme. </xs:documentation> </xs:annotation> </xs:element> </xs:choice> <xs:annotation> <xs:documentation> Allows for grouping of concepts; groups may have a hierarchical structure. </xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:annotation> <xs:documentation> Includes a comprehensive list of the universes and sub-universes of the data that are being documented. </xs:documentation> </xs:annotation> <xs:complexContent> <xs:sequence> <xs:annotation> <xs:documentation>A display label for the universe scheme.</xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation>A description of the use of the universe scheme.</xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation> Provides for inclusion by reference of other universe schemes. </xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation> Documents the highest-level (most inclusive) universe, as well as any sub-universes used in the data. </xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:annotation> <xs:documentation> Allows for grouping of concepts; groups may have a hierarchical structure. </xs:documentation> </xs:annotation> <xs:complexContent> <xs:sequence> <xs:annotation> <xs:documentation>A display label for the concept group.</xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation>A description of the use of the concept group.</xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation> Reference to a concept included in the concept group. A concept can be referenced internally, from the concept scheme included in the same conceptual components module, or externally, from another scheme. This element is recursive to allow for the description of hierarchical relationships within the concept group. </xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation> Reference to a subordinate concept group included in the concept group. A concept group can be referenced internally, from the concept scheme included in the same conceptual components module, or externally, from another scheme. This element is recursive to allow for the description of hierarchical relationships within the concept group. </xs:documentation> </xs:annotation> </xs:element> <xs:choice maxOccurs="1" minOccurs="0"> </xs:choice> </xs:sequence> <xs:annotation> <xs:documentation> Indicates whether the concept scheme is ordered or unordered. A value of "true" indicates ordered. </xs:documentation> </xs:annotation> </xs:attribute> <xs:annotation> <xs:documentation> Indicates the structure of the relationships in the concept scheme. A value of "true" indicates a hierarchical structure, while a value of "false" indicates an unstructured scheme. </xs:documentation> </xs:annotation> </xs:attribute> <xs:annotation> <xs:documentation>Indicates the purpose of a concept group.</xs:documentation> </xs:annotation> </xs:attribute> <xs:annotation> <xs:documentation> A value of true indicates that there is a concept which defines the group, and which is comprised of the concepts contained in the group. A group can be conceptual in purpose (that is, have a value of "concept" for the purpose attribute), but not itself have a defining concept. </xs:documentation> </xs:annotation> </xs:attribute> </xs:extension> </xs:complexContent> </xs:complexType> <xs:annotation> <xs:documentation> The administrative reason a group was formed, expressed as a value from a controlled vocabulary or similar list. </xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation>Reference to the concept that defines the group.</xs:documentation> </xs:annotation> </xs:element> <xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="Administrative"> <xs:annotation> <xs:documentation> A concept group created for administrative purposes. </xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value="Conceptual"> <xs:annotation> <xs:documentation>A concept group created for conceptual purposes.</xs:documentation> </xs:annotation> </xs:enumeration> </xs:restriction> </xs:simpleType> <xs:annotation> <xs:documentation> References concepts to be included in concept groups. </xs:documentation> </xs:annotation> <xs:complexContent> <xs:sequence> <xs:annotation> <xs:documentation> A reference to a concept included in a concept group. </xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:annotation> <xs:documentation> Provides information about the vocabulary used to create a concept scheme. </xs:documentation> </xs:annotation> <xs:sequence> <xs:annotation> <xs:documentation>Full title of vocabulary.</xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation>Abbreviation of vocabulary title.</xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation>Keywords that describe the vocabulary.</xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation>Textual description of the vocabulary.</xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation> URI to external resource providing information about the vocabulary (general description, main web page). </xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation> URI to the vocabulary represented as an XML document. </xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation> Textual description of the XML scheme in which the classification is written. </xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation> URI to the XML scheme used in the vocabulary (DTD or XML Schema for the XML document above; schemes like DDI, Claset, Neuchatel, and DocBook). Typically, this will be an XML namespace. </xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation> Human-readable comments on the usage of the vocabulary. </xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> <xs:annotation> <xs:documentation> Container for an individual concept included in the concept scheme. </xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation> Container for an individual concept included in the concept scheme. </xs:documentation> </xs:annotation> <xs:complexContent> <xs:sequence> <xs:annotation> <xs:documentation>A display label for the concept.</xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation> Includes the definition of the concept itself. This element can be repeated to provide translations of the same concept in various languages. </xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation> Reference to another concept that is similar to the one included in the Description element above. </xs:documentation> </xs:annotation> </xs:element> </xs:sequence> <xs:annotation> <xs:documentation> A true value indicates that the concept is a characteristic, as defined in ISO/IEC 11179. </xs:documentation> </xs:annotation> </xs:attribute> </xs:extension> </xs:complexContent> </xs:complexType> <xs:annotation> <xs:documentation> Container for a data element concept (per ISO/IEC 11179) included in the concept scheme. </xs:documentation> </xs:annotation> <xs:complexContent> <xs:sequence> <xs:annotation> <xs:documentation>A display label for the concept.</xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation> Includes the definition of the concept itself. This element can be repeated to provide translations of the same concept in various languages. </xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation> Reference to another concept that is similar to the one included in the Description element above. </xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation> Reference to a Concept that has its isCharacteristic attribute set to true, and is used for qualifying this data element concept. </xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation> Reference to a universe associated with this concept. </xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:annotation> <xs:documentation> References a concept which has its isCharacteristic attribute set to true. </xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation> Container for a data element concept (per ISO/IEC 11179) included in the concept scheme. </xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation> Reference to another concept that is similar to the one included in the Description element above. </xs:documentation> </xs:annotation> <xs:sequence> <xs:annotation> <xs:documentation> Reference to another concept that is similar to the one included in the related Description element. </xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation> Describes the difference between the concept referenced in ConceptReference and the concept included in the concept's Description element. </xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> <xs:annotation> <xs:documentation>Universe statement associated with the data.</xs:documentation> </xs:annotation> <xs:complexContent> <xs:sequence> <xs:annotation> <xs:documentation>A human-readable description of the Universe.</xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation> A machine-readable statement of the universe, expressed as a Coding. </xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation> A subset of the parent universe, for example the universe "females" is a subset of the universe "all persons". </xs:documentation> </xs:annotation> </xs:element> </xs:sequence> <xs:annotation> <xs:documentation> When set to true (default), the universe statement describes what is in the universe. When set to false, it is a statement of what is excluded from the universe. </xs:documentation> </xs:annotation> </xs:attribute> </xs:extension> </xs:complexContent> </xs:complexType> <!-- GEOGRAPHY --> <xs:annotation> <xs:documentation> This scheme contains a set of geographic structure types and their relationship to each other. For example, the structure types in the U.S. Census geographic hierarchy used in summary files. </xs:documentation> </xs:annotation> <xs:complexContent> <xs:sequence> <xs:annotation> <xs:documentation> A display label for the geographic structure scheme. </xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation> A description of the use of the geographic structure scheme. </xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation> Allows for inclusion by reference of another geographic structure scheme. </xs:documentation> </xs:annotation> </xs:element> <xs:choice maxOccurs="unbounded" minOccurs="0"> <xs:annotation> <xs:documentation> Describes a geographic structure contained in the scheme. </xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation> References a geographic structure, for inclusion in the scheme. </xs:documentation> </xs:annotation> </xs:element> </xs:choice> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:annotation> <xs:documentation> This scheme contains a set of geographic locations, each for a single Geography type, e.g., States OR Counties, OR Countries, etc. The geographic location element has to be repeated for each geography structure type described. </xs:documentation> </xs:annotation> <xs:complexContent> <xs:sequence> <xs:annotation> <xs:documentation> A display label for the geography location scheme. </xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation> A description of the use of the geography location scheme. </xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation> Allows for inclusion by reference of another geographic location scheme. </xs:documentation> </xs:annotation> </xs:element> <xs:choice maxOccurs="unbounded" minOccurs="0"> <xs:annotation> <xs:documentation> Describes a geographic location contained in the scheme. </xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation> References a geographic location for inclusion in this scheme. </xs:documentation> </xs:annotation> </xs:element> </xs:choice> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:annotation> <xs:documentation>Full title of vocabulary.</xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation>Abbreviation of vocabulary title.</xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation>Keywords that describe the vocabulary.</xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation> Includes a comprehensive list of the concepts describing the data that are being documented. </xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation> References a concept scheme external to this module, for inclusion in the module. </xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation> Includes a comprehensive list of the universes and sub-universes for the data that are being documented. </xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation> References a universe scheme external to this module, for inclusion in the module. </xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation>Describes a universe for inclusion in the module.</xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation> A subset of the parent universe for example the universe Females is a subset of the universe Population. </xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation> A human-readable statement of the Universe of the question item. </xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation> A machine-readable statement of the universe, expressed as a Coding. </xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation> Provides information about the vocabulary used to create the concept scheme. </xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation> Allows for grouping of concepts; groups may have a hierarchical structure. </xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation> Reference to a concept included in the concept group. A concept can be referenced internally, from the concept scheme included in the same conceptual components module, or externally, from another scheme. This element is recursive to allow for the description of hierarchical relationships within the concept group. </xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation> Human-readable comments on the usage of the vocabulary. </xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation> Reference to another concept that is similar to the one included in the Description element above. </xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation> Describes the difference between the concept referenced in ConceptReference and the concept included in the concept's Description element. </xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation>Contains a collection of geographic structures.</xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation> A reference to an internal or external geographic structure scheme in DDI 3.0 XML. </xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation>Contains a collection of geographic locations.</xs:documentation> </xs:annotation> </xs:element> <xs:annotation> <xs:documentation> A reference to an internal or external geographic location scheme coded in DDI 3.0 XML. </xs:documentation> </xs:annotation> </xs:element> </xs:schema> |
XML schema documentation generated with DocFlex/XML SDK 1.7.2 using DocFlex/XML XSDDoc 2.1.0 template set |