<?xml version="1.0" encoding="UTF-8"?>
<!--
  Universal Business Language (UBL) Schema 1.0

  Copyright (C) OASIS Open (2004). All Rights Reserved.

  This document and translations of it may be copied and furnished to others, and
  derivative works that comment on or otherwise explain it or assist in its
  implementation may be prepared, copied, published and distributed, in whole or
  in part, without restriction of any kind, provided that the above copyright
  notice and this paragraph are included on all such copies and derivative works.
  However, this document itself may not be modified in any way, such as by
  removing the copyright notice or references to OASIS, except as needed for the
  purpose of developing OASIS specifications, in which case the procedures for
  copyrights defined in the OASIS Intellectual Property Rights document must be
  followed, or as required to translate it into languages other than English.

  The limited permissions granted above are perpetual and will not be revoked by
  OASIS or its successors or assigns.

  This document and the information contained herein is provided on an "AS IS"
  basis and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT
  LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT
  INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR
  A PARTICULAR PURPOSE.

  ===============================================================================

  For our absent friend, Michael J. Adcock  - il miglior fabbro

  ===============================================================================

  Universal Business Language Specification
      (http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=ubl)
  OASIS Open (http://www.oasis-open.org/)


  Document Type:     DocumentStatusCode
  Generated On:      Mon Aug 16 14:34:58 2004
-->
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns="urn:oasis:names:specification:ubl:schema:xsd:DocumentStatusCode-1.0"
    xmlns:ccts="urn:oasis:names:specification:ubl:schema:xsd:CoreComponentParameters-1.0"
    targetNamespace="urn:oasis:names:specification:ubl:schema:xsd:DocumentStatusCode-1.0"
    elementFormDefault="qualified"
    attributeFormDefault="unqualified"
    version="1.0">
  <xsd:import namespace="urn:oasis:names:specification:ubl:schema:xsd:CoreComponentParameters-1.0" schemaLocation="UBL-CoreComponentParameters-1.0.xsd"/>
  <xsd:simpleType name="DocumentStatusCodeContentType">
    <xsd:restriction base="xsd:normalizedString">
      <xsd:enumeration value="Cancelled">
        <xsd:annotation>
          <xsd:documentation>
            <CodeName>Document has been cancelled</CodeName>
          </xsd:documentation>
        </xsd:annotation>
      </xsd:enumeration>
      <xsd:enumeration value="Disputed">
        <xsd:annotation>
          <xsd:documentation>
            <CodeName>Document is disputed</CodeName>
          </xsd:documentation>
        </xsd:annotation>
      </xsd:enumeration>
      <xsd:enumeration value="NoStatus">
        <xsd:annotation>
          <xsd:documentation>
            <CodeName>No status on document</CodeName>
          </xsd:documentation>
        </xsd:annotation>
      </xsd:enumeration>
      <xsd:enumeration value="Revised">
        <xsd:annotation>
          <xsd:documentation>
            <CodeName>Document has been revised</CodeName>
          </xsd:documentation>
        </xsd:annotation>
      </xsd:enumeration>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:complexType name="DocumentStatusCodeType">
    <xsd:annotation>
      <xsd:documentation>
        <ccts:Component>
          <ccts:ComponentType>DT</ccts:ComponentType>
          <ccts:DictionaryEntryName>Document Status_ Code. Type</ccts:DictionaryEntryName>
          <ccts:RepresentationTerm>Code</ccts:RepresentationTerm>
          <ccts:DataTypeQualifier>Document Status</ccts:DataTypeQualifier>
          <ccts:DataType>Code. Type</ccts:DataType>
        </ccts:Component>
        <ccts:Instance>
          <ccts:CodeListID>Document Status</ccts:CodeListID>
          <ccts:CodeListAgencyID>UBL</ccts:CodeListAgencyID>
          <ccts:CodeListAgencyName>OASIS Universal Business Language</ccts:CodeListAgencyName>
          <ccts:CodeListName>Document Status</ccts:CodeListName>
          <ccts:CodeListVersionID>1.0</ccts:CodeListVersionID>
          <ccts:CodeListSchemeURI>urn:oasis:names:specification:ubl:schema:xsd:DocumentStatusCode-1.0</ccts:CodeListSchemeURI>
          <ccts:LanguageID>en</ccts:LanguageID>
        </ccts:Instance>
      </xsd:documentation>
    </xsd:annotation>
    <xsd:simpleContent>
      <xsd:extension base="DocumentStatusCodeContentType">
        <xsd:attribute name="codeListID" type="xsd:normalizedString" fixed="Document Status" use="optional"/>
        <xsd:attribute name="codeListAgencyID" type="xsd:normalizedString" fixed="UBL" use="optional"/>
        <xsd:attribute name="codeListAgencyName" type="xsd:string" fixed="OASIS Universal Business Language" use="optional"/>
        <xsd:attribute name="codeListName" type="xsd:string" fixed="Document Status" use="optional"/>
        <xsd:attribute name="codeListVersionID" type="xsd:normalizedString" fixed="1.0" use="optional"/>
        <xsd:attribute name="name" type="xsd:string" use="optional"/>
        <xsd:attribute name="languageID" type="xsd:language" fixed="en" use="optional"/>
        <xsd:attribute name="codeListURI" type="xsd:anyURI" use="optional"/>
        <xsd:attribute name="codeListSchemeURI" type="xsd:anyURI" fixed="urn:oasis:names:specification:ubl:schema:xsd:DocumentStatusCode-1.0" use="optional"/>
      </xsd:extension>
    </xsd:simpleContent>
  </xsd:complexType>
</xsd:schema>
