<?xml version="1.0"?>
<xs:schema 	xmlns:xs="http://www.w3.org/2001/XMLSchema"
           	elementFormDefault="qualified"
           	attributeFormDefault="qualified">

<!--**********************************************************************
    *                                                                    *
    *                        S1000D Issue 2                              *
    *                          XML Schema                                *
    *                                                                    *
    *                     Release Version 2.2                            *
    *                       Date: 2005-05-01                             *
    *                                                                    *
    *       This version redeclares attribute value sets to have         *
    *            predefined "numeric" values for Issue 2!                *
    *                                                                    *
    * Amendment:-                                                        *
    * 1. CPF 2004-24GB: Introduce simple type "MNTLVLS" for the          *
    *                   definition of generic maintenance levels.        *
    *                                                                    *
    * NOTE:-                                                             *
    * ======                                                             *
    * The project configuration component should be configured as        *
    * project specific.                                                  *
    * The component is invoked by the main XML Schema entry file named   *
    * "...Schema.xsd". It invokes the XML Schema module "s1000d.xsd".    *
    *                                                                    *
    *                                                                    *
    * This is the minimum S1000D Project Configuration with "numeric"    *
    * values. Re-declarations are based on the full set of allowable     *
    * "numeric" attribute values as given in Chap 3.9.6.                 *
    *                                                                    *
    *                                                                    *
    * The following include statement may be used to call this set of    *
    * declarations:-                                                     *
    *                                                                    *
    * <xs:include schemaLocation="project.cfg"/>                         *
    ********************************************************************** -->


<!--**********************************************************************
    * Call the S1000D Configuration Public Text.                         *
    ********************************************************************** -->
	<xs:include schemaLocation="s1000d.xsd"/>

	
<!--**********************************************************************
    * Define simple types for declared values for project configurable   *
    *  attribute values.                                                 *
    *  See specification text for definition of allowable sets of values.*
    *@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*
    * Declared simple types:-                                            *
    *                                                                    *
    *  "ACROTYPS" - Declared - Type of acronym or abbreviation           *
    *  "CAVEATS"  - Declared - Type of caveat                            *
    *  "CLASSES"  - Declared - Security classification                   *
    *  "COLOURS"  - Declared - Color of the caption                      *
    *  "COMMCLSS" - Declared - Commercial security classification        *
    *  "CPRIOS"   - Declared - Priority level of a comment               *
    *  "CREWMEMS" - Declared - Crew member required for drill or step    *
    *  "DRILLTPS" - Declared - Type of aircrew drill (Flight deck pres.) *
    *  "EMPHS"    - Declared - Type of emphasis                          *
    *  "MNTLVLS"  - Declared - Maintenance level                         *
    *  "PREFIXES" - Declared - Prefix of random list items               *
    *  "RSPTYPES" - Declared - Type of response to a comment             *
    *  "SKILLS"   - Declared - Personnel skill level                     *
    *  "SUP.LEVS" - Declared - Supervisor level                          *
    *  "TYPES"    - Declared - Limit type                                *
    *  "THIUOMS"  - Declared - Unit of measurement for theshold interval *
    ********************************************************************** -->

		       
		<xs:simpleType name="ACROTYPS">
			<xs:annotation>
				<xs:documentation>
    **********************************************************************
    * Define Type "ACROTYPS" (Type of acronym or abbreviation)           *
    * containing the following allowable attribute values and their      *
    * meanings in S1000D:-                                               *
    *                                                                    *
    *  at01   	     -   acronym (candidate for list of abbreviations)   *
    *  at02   	     -   term    (candidate for list of terms)           *
    *  at03          -   symbol  (candidate for list of symbols)         *
    *  at04          -   spec    (candidate for list of applicable specs)*
    *                                                                    *
    *  Default value:    "at01"                                          *
    **********************************************************************
                 		</xs:documentation>
			</xs:annotation>

			<xs:restriction base="xs:string">
				<xs:enumeration value="at01"/>
				<xs:enumeration value="at02"/>
				<xs:enumeration value="at03"/>
				<xs:enumeration value="at04"/> <!-- 'at01' -->
			</xs:restriction>
		</xs:simpleType>

		<xs:attribute name="acrotype" type="ACROTYPS" default="at01"/>
		
		
		<xs:simpleType name="CAVEATS">
			<xs:annotation>
				<xs:documentation>
    **********************************************************************
    * Define Type "CAVEATS" (Type of (national) caveat)                  *
    * containing the following allowable attribute values and their      *
    * meanings in S1000D:-                                               *
    *                                                                    *
    *  cv01...cv09   -   NOT GIVEN (Reserved for S1000D)                 *
    *                                                                    *
    *  No default value.                                                 *
    **********************************************************************
                 		</xs:documentation>
			</xs:annotation>

			<xs:restriction base="xs:string">
				<xs:enumeration value="cv01"/>
				<xs:enumeration value="cv02"/>
				<xs:enumeration value="cv03"/>
				<xs:enumeration value="cv04"/>
				<xs:enumeration value="cv05"/>
				<xs:enumeration value="cv06"/>
				<xs:enumeration value="cv07"/>
				<xs:enumeration value="cv08"/>
				<xs:enumeration value="cv09"/>
			</xs:restriction>
		</xs:simpleType>

		
		<xs:simpleType name="CLASSES">
			<xs:annotation>
				<xs:documentation>
    **********************************************************************
    * Define Type "CLASSES" (Security classification)                    *
    * containing the following allowable attribute values and their      *
    * meanings in S1000D:-                                               *
    *                                                                    *
    *  01   	     -   1 (lowest level of security classification,     *
    *                       eg Unclassified)                             *
    *  02   	     -   2 (next higher level of security classification,*
    *                       eg Restricted)                               *
    *  03            -   3 (next higher level of security classification,*
    *                       eg Confidential)                             *
    *  04            -   4 (next higher level of security classification,*
    *                       eg Secret)                                   *
    *  05            -   5 (next higher level of security classification,*
    *                       eg Top secret)                               *
    *  06            -   6 (another level of security classification)    *
    *  07            -   7 (another level of security classification)    *
    *  08            -   8 (another level of security classification)    *
    *  09            -   9 (another level of security classification)    *
    *                                                                    *
    *  No default value.                                                 *
    **********************************************************************
                 		</xs:documentation>
			</xs:annotation>

			<xs:restriction base="xs:string">
				<xs:enumeration value="01"/>
				<xs:enumeration value="02"/>
				<xs:enumeration value="03"/>
				<xs:enumeration value="04"/>
				<xs:enumeration value="05"/>
				<xs:enumeration value="06"/>
				<xs:enumeration value="07"/>
				<xs:enumeration value="08"/>
				<xs:enumeration value="09"/>
			</xs:restriction>
		</xs:simpleType>

		
		<xs:simpleType name="COLOURS">
			<xs:annotation>
				<xs:documentation>
    **********************************************************************
    * Define Type "COLOURS" (Color of the caption)                       *
    * containing the following allowable attribute values and their      *
    * meanings in S1000D:-                                               *
    *                                                                    *
    *  co00   	     -   none                                            *
    *  co01   	     -   green                                           *
    *  co02   	     -   amber                                           *
    *  co03          -   yellow                                          *
    *  co04          -   red                                             *
    *  co05          -   NOT GIVEN (Reserved for S1000D)                 *
    *  co06          -   NOT GIVEN (Reserved for S1000D)                 *
    *  co07   	     -   white                                           *
    *  co08          -   grey                                            *
    *  co09          -   clear                                           *
    *                                                                    *
    *  Default value:    "co09"                                          *
    **********************************************************************
                 		</xs:documentation>
			</xs:annotation>

			<xs:restriction base="xs:string">
				<xs:enumeration value="co00"/>
				<xs:enumeration value="co01"/>
				<xs:enumeration value="co02"/>
				<xs:enumeration value="co03"/>
				<xs:enumeration value="co04"/>
				<xs:enumeration value="co05"/>
				<xs:enumeration value="co06"/>
				<xs:enumeration value="co07"/>
				<xs:enumeration value="co08"/>
				<xs:enumeration value="co09"/> <!-- 'co09' -->
			</xs:restriction>
		</xs:simpleType>

		<xs:attribute name="colour" type="COLOURS" default="co09"/>

		
		<xs:simpleType name="COMMCLSS">
			<xs:annotation>
				<xs:documentation>
    **********************************************************************
    * Define Type "COMMCLSS" (Commercial security classification)        *
    * containing the following allowable attribute values and their      *
    * meanings in S1000D:-                                               *
    *                                                                    *
    *  cc01...cc09   -   NOT GIVEN (Reserved for S1000D)                 *
    *                                                                    *
    *  No default value.                                                 *
    **********************************************************************
                 		</xs:documentation>
			</xs:annotation>

			<xs:restriction base="xs:string">
				<xs:enumeration value="cc01"/>
				<xs:enumeration value="cc02"/>
				<xs:enumeration value="cc03"/>
				<xs:enumeration value="cc04"/>
				<xs:enumeration value="cc05"/>
				<xs:enumeration value="cc06"/>
				<xs:enumeration value="cc07"/>
				<xs:enumeration value="cc08"/>
				<xs:enumeration value="cc09"/>
			</xs:restriction>
		</xs:simpleType>
		
		
		<xs:simpleType name="CPRIOS">
			<xs:annotation>
				<xs:documentation>
    **********************************************************************
    * Define Type "CPRIOS" (Priority level of a comment)                 *
    * containing the following allowable attribute values and their      *
    * meanings in S1000D:-                                               *
    *                                                                    *
    *  cp01   	     -   Routine                                         *
    *  cp02   	     -   Emergency                                       *
    *  cp03          -   Safety critical                                 *
    *                                                                    *
    *  Default value:    "cp01"                                          *
    **********************************************************************
                 		</xs:documentation>
			</xs:annotation>

			<xs:restriction base="xs:string">
				<xs:enumeration value="cp01"/>
				<xs:enumeration value="cp02"/>
				<xs:enumeration value="cp03"/> <!-- 'cp01' -->
			</xs:restriction>
		</xs:simpleType>

		<xs:attribute name="cprio" type="CPRIOS" default="cp01"/>
		

		<xs:simpleType name="CREWMEMS">
			<xs:annotation>
				<xs:documentation>
    **********************************************************************
    * Define Type "CREWMEMS" (Crew member required for drill or step)    *
    * containing the following allowable attribute values and their      *
    * meanings in S1000D:-                                               *
    *                                                                    *
    *  cm01   	     -   all                                             *
    *  cm02   	     -   pilot                                           *
    *  cm03          -   co-pilot                                        *
    *  cm04          -   navigator                                       *
    *  cm05          -   engineer                                        *
    *  cm06          -   ground crew                                     *
    *  cm07   	     -   load master                                     *
    *  cm08          -   cabin supervisor                                *
    *                                                                    *
    *  No default value.                                                 *
    **********************************************************************
                 		</xs:documentation>
			</xs:annotation>

			<xs:restriction base="xs:string">
				<xs:enumeration value="cm01"/>
				<xs:enumeration value="cm02"/>
				<xs:enumeration value="cm03"/>
				<xs:enumeration value="cm04"/>
				<xs:enumeration value="cm05"/>
				<xs:enumeration value="cm06"/>
				<xs:enumeration value="cm07"/>
				<xs:enumeration value="cm08"/>
			</xs:restriction>
		</xs:simpleType>
		
		
		<xs:simpleType name="DRILLTPS">
			<xs:annotation>
				<xs:documentation>
    **********************************************************************
    * Define Type "DRILLTPS" (Type of aircrew drill (Flight deck pres.)  *
    * containing the following allowable attribute values and their      *
    * meanings in S1000D:-                                               *
    *                                                                    *
    *  dt00   	     -   none                                            *
    *  dt01   	     -   green                                           *
    *  dt02   	     -   amber                                           *
    *  dt03          -   yellow                                          *
    *  dt04          -   red                                             *
    *  dt05          -   orange                                          *
    *  dt06          -   blue                                            *
    *                                                                    *
    *  Default value:    "dt00"                                          *
    **********************************************************************
                 		</xs:documentation>
			</xs:annotation>

			<xs:restriction base="xs:string">
				<xs:enumeration value="dt00"/>
				<xs:enumeration value="dt01"/>
				<xs:enumeration value="dt02"/>
				<xs:enumeration value="dt03"/>
				<xs:enumeration value="dt04"/>
				<xs:enumeration value="dt05"/>
				<xs:enumeration value="dt06"/> <!-- 'dt00' -->
			</xs:restriction>
		</xs:simpleType>

		<xs:attribute name="drilltyp" type="DRILLTPS" default="dt00"/>
		
		
		<xs:simpleType name="EMPHS">
			<xs:annotation>
				<xs:documentation>
    **********************************************************************
    * Define Type "EMPHS" (Type of emphasis)                             *
    * containing the following allowable attribute values and their      *
    * meanings in S1000D:-                                               *
    *                                                                    *
    *  em01   	     -   bold                                            *
    *  em02   	     -   italic (only for legacy data, see Chap 3.9.1)   *
    *  em03          -   underline (only for legacy data, see Chap 3.9.1)*
    *  em04          -   overline (only for marking vectors)             *
    *  em05          -   strikethrough (not to be used to mark deleted   *
    *                                   text)                            *
    *                                                                    *
    *  Default value:    "em01"                                          *
    **********************************************************************
                 		</xs:documentation>
			</xs:annotation>

			<xs:restriction base="xs:string">
				<xs:enumeration value="em01"/>
				<xs:enumeration value="em02"/>
				<xs:enumeration value="em03"/>
				<xs:enumeration value="em04"/>
				<xs:enumeration value="em05"/> <!-- 'em01' -->
			</xs:restriction>
		</xs:simpleType>

		<xs:attribute name="emph" type="EMPHS" default="em01"/>
		
		
		<xs:simpleType name="MNTLVLS">
			<xs:annotation>
				<xs:documentation>
    **********************************************************************
    * Define Type "MNTLVLS" (Maintenance level)                          *
    * containing the following allowable attribute values and their      *
    * meanings in S1000D:-                                               *
    *                                                                    *
    *  ml01   	     -   Maintenance level 1                             *
    *  ml02   	     -   Maintenance level 2                             *
    *  ml03   	     -   Maintenance level 3                             *
    *  ml04   	     -   Maintenance level 4                             *
    *  ml05   	     -   Maintenance level 5                             *
    *                                                                    *
    *  No default value.                                                 *
    **********************************************************************
                 		</xs:documentation>
			</xs:annotation>

			<xs:restriction base="xs:string">
				<xs:enumeration value="ml01"/>
				<xs:enumeration value="ml02"/>
				<xs:enumeration value="ml03"/>
				<xs:enumeration value="ml04"/>
				<xs:enumeration value="ml05"/>
			</xs:restriction>
		</xs:simpleType>
		
		<xs:attribute name="mntlvl" type="MNTLVLS"/>
<!-- Newly introduced attribute on element <mntlvl> -->

		
		<xs:simpleType name="PREFIXES">
			<xs:annotation>
				<xs:documentation>
    **********************************************************************
    * Define Type "PREFIXES" (Prefix of random list items)               *
    * containing the following allowable attribute values and their      *
    * meanings in S1000D:-                                               *
    *                                                                    *
    *  pf01   	     -   simple (no prefix, only indent)                 *
    *  pf02   	     -   unorder (depending on list level, prefix with   *
    *                             short dash for first level, bullet for *
    *                             second, and short dash for third level *
    *                             - ISOpub: bull, dash)                  *
    *  pf03          -   dash (short - ISOpub: dash)                     *
    *  pf04          -   disc (filled circle in circle - ISOamsb: ofcir) *
    *  pf05          -   circle (outline - ISOpub: cir)                  *
    *  pf06          -   square (outline - ISOtech: square)              *
    *                                                                    *
    *  No default value.                                                 *
    **********************************************************************
                 		</xs:documentation>
			</xs:annotation>

			<xs:restriction base="xs:string">
				<xs:enumeration value="pf01"/>
				<xs:enumeration value="pf02"/>
				<xs:enumeration value="pf03"/>
				<xs:enumeration value="pf04"/>
				<xs:enumeration value="pf05"/>
				<xs:enumeration value="pf06"/>
			</xs:restriction>
		</xs:simpleType>
		
		<xs:attribute name="prefix" type="PREFIXES"/>

		
		<xs:simpleType name="RSPTYPES">
			<xs:annotation>
				<xs:documentation>
    **********************************************************************
    * Define Type "RSPTYPES" (Type of response to a comment)             *
    * containing the following allowable attribute values and their      *
    * meanings in S1000D:-                                               *
    *                                                                    *
    *  rt01   	     -   Accepted                                        *
    *  rt02   	     -   Pending                                         *
    *  rt03   	     -   Partly accepted                                 *
    *  rt04          -   Rejected                                        *
    *                                                                    *
    *  No default value.                                                 *
    **********************************************************************
                 		</xs:documentation>
			</xs:annotation>

			<xs:restriction base="xs:string">
				<xs:enumeration value="rt01"/>
				<xs:enumeration value="rt02"/>
				<xs:enumeration value="rt03"/>
				<xs:enumeration value="rt04"/>
			</xs:restriction>
		</xs:simpleType>
		
		
		<xs:simpleType name="SKILLS">
			<xs:annotation>
				<xs:documentation>
    **********************************************************************
    * Define Type "SKILLS" (Personnel skill level)                       *
    * containing the following allowable attribute values and their      *
    * meanings in S1000D:-                                               *
    *                                                                    *
    *  sk01   	     -   basic                                           *
    *  sk02   	     -   intermediate                                    *
    *  sk03          -   advanced                                        *
    *                                                                    *
    *  No default value.                                                 *
    **********************************************************************
                 		</xs:documentation>
			</xs:annotation>

			<xs:restriction base="xs:string">
				<xs:enumeration value="sk01"/>
				<xs:enumeration value="sk02"/>
				<xs:enumeration value="sk03"/>
			</xs:restriction>
		</xs:simpleType>
		
		
		<xs:simpleType name="SUP.LEVS">
			<xs:annotation>
				<xs:documentation>
    **********************************************************************
    * Define Type "SUP.LEVS" (Supervisor level)                          *
    * containing the following allowable attribute values and their      *
    * meanings in S1000D:-                                               *
    *                                                                    *
    *  sl01   	     -   Low                                             *
    *  sl02   	     -   Low intermediate                                *
    *  sl03          -   High intermediate                               *
    *  sl04          -   High                                            *
    *                                                                    *
    *  No default value.                                                 *
    **********************************************************************
                 		</xs:documentation>
			</xs:annotation>

			<xs:restriction base="xs:string">
				<xs:enumeration value="sl01"/>
				<xs:enumeration value="sl02"/>
				<xs:enumeration value="sl03"/>
				<xs:enumeration value="sl04"/>
			</xs:restriction>
		</xs:simpleType>
		
		
		<xs:simpleType name="TYPES">
			<xs:annotation>
				<xs:documentation>
    **********************************************************************
    * Define Type "TYPES" (Limit type)                                   *
    * containing the following allowable attribute values and their      *
    * meanings in S1000D:-                                               *
    *                                                                    *
    *  lt01   	     -   Time between overhaul (tbo)                     *
    *  lt02   	     -   Hard time (ht)                                  *
    *  lt03          -   Since last maintenance (slm)                    *
    *  lt04          -   Out time limit (otl)                            *
    *  lt05          -   On condition (oc)                               *
    *  lt06          -   Check maintenance (cm)                          *
    *  lt07   	     -   Functional check (fc)                           *
    *                                                                    *
    *  No default value.                                                 *
    **********************************************************************
                 		</xs:documentation>
			</xs:annotation>

			<xs:restriction base="xs:string">
				<xs:enumeration value="lt01"/>
				<xs:enumeration value="lt02"/>
				<xs:enumeration value="lt03"/>
				<xs:enumeration value="lt04"/>
				<xs:enumeration value="lt05"/>
				<xs:enumeration value="lt06"/>
				<xs:enumeration value="lt07"/>
			</xs:restriction>
		</xs:simpleType>
		
		
		<xs:simpleType name="THIUOMS">
			<xs:annotation>
				<xs:documentation>
    **********************************************************************
    * Define Type "THIUOMS" (Unit of measurement for theshold interval)  *
    * containing the following allowable attribute values and their      *
    * meanings in S1000D:-                                               *
    *                                                                    *
    *  th01   	     -   flight hours                                    *
    *  th02   	     -   flight cycles                                   *
    *  th03          -   months                                          *
    *  th04          -   weeks                                           *
    *  th05          -   years                                           *
    *  th06          -   days                                            *
    *  th07   	     -   supersonic cycles                               *
    *  th08          -   pressure cycles                                 *
    *  th09          -   engine cycles                                   *
    *  th10          -   engine change                                   *
    *  th11          -   shop visits                                     *
    *  th12          -   auxiliary power unit change                     *
    *  th13          -   landing gear change                             *
    *  th14          -   wheel change                                    *
    *  th15          -   engine start                                    *
    *                                                                    *
    *  No default value.                                                 *
    **********************************************************************
                		</xs:documentation>
			</xs:annotation>

			<xs:restriction base="xs:string">
				<xs:enumeration value="th01"/>
				<xs:enumeration value="th02"/>
				<xs:enumeration value="th03"/>
				<xs:enumeration value="th04"/>
				<xs:enumeration value="th05"/>
				<xs:enumeration value="th06"/>
				<xs:enumeration value="th07"/>
				<xs:enumeration value="th08"/>
				<xs:enumeration value="th09"/>
				<xs:enumeration value="th10"/>
				<xs:enumeration value="th11"/>
				<xs:enumeration value="th12"/>
				<xs:enumeration value="th13"/>
				<xs:enumeration value="th14"/>
				<xs:enumeration value="th15"/>
			</xs:restriction>
		</xs:simpleType>
		
	
</xs:schema>
