<?xml version="1.0" encoding="utf-8"?>
<!-- filename=uk_lip_descriptionv1p0.xsd -->
<!-- based on ims_lip_descriptionv1p0.xsd Copyright (c) 2001 IMS Global Learning Consortium -->
<!-- edited by Simon Grant, 2004-08-03 to include some ideas from UKLeaP -->
<!-- edited by Simon Grant, 2004-11-17 to sort out descriptionType -->
<!DOCTYPE xsd:schema
  PUBLIC "-//W3C//DTD XMLSchema 200102//EN" "http://www.w3.org/2001/XMLSchema.dtd" [
<!ENTITY % p 'xsd:'>
<!ENTITY % s ':xsd'>
]>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.imsproject.org/xsd/ims_lip_rootv1p0"  targetNamespace="http://www.imsproject.org/xsd/ims_lip_rootv1p0" elementFormDefault="qualified" version="LIP 1.0 Schema 1.0">
	<xsd:include schemaLocation="uk_lip_mediav1p0.xsd"/>
	<xsd:element name="comment" type="commentType">
		<xsd:annotation>
			<xsd:documentation>Free Text</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="description" type="descriptionType">
		<xsd:annotation>
			<xsd:documentation>Information content in one or more forms.</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="full" type="fullType">
		<xsd:annotation>
			<xsd:documentation>A complete description</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="long" type="longType">
		<xsd:annotation>
			<xsd:documentation>A long textual description.</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="short" type="shortType">
		<xsd:annotation>
			<xsd:documentation>A short textual description: mandatory, for use in lists, etc.</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
        <xsd:complexType name="descriptionType">
            <xsd:annotation>
                <xsd:documentation>Redefined to restrict to one short and max of 1  full and long.</xsd:documentation>
		<!-- Simon Grant, 2004-11-17 -->
            </xsd:annotation>
		<xsd:sequence>
			<xsd:element ref = "short"/>
			<xsd:choice minOccurs="0">
				<xsd:element ref = "long"/>
				<xsd:element ref = "full"/>
			</xsd:choice>
		</xsd:sequence>
        </xsd:complexType>
	<xsd:complexType name="fullType">
		<xsd:sequence>
			<xsd:element ref="comment" minOccurs="0"/>
			<xsd:element ref="media" maxOccurs="unbounded"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="commentType">
		<xsd:simpleContent>
			<xsd:extension base="xsd:string">
			<xsd:attributeGroup ref="attr.lang"/>
			</xsd:extension>
		</xsd:simpleContent>
	</xsd:complexType>
	<xsd:complexType name="longType">
		<xsd:simpleContent>
			<xsd:extension base="xsd:string">
			<xsd:attributeGroup ref="attr.lang"/>
			</xsd:extension>
		</xsd:simpleContent>
	</xsd:complexType>
	<xsd:complexType name="shortType">
		<xsd:simpleContent>
			<xsd:extension base="xsd:string">
			<xsd:attributeGroup ref="attr.lang"/>
			</xsd:extension>
		</xsd:simpleContent>
	</xsd:complexType>
</xsd:schema>

